Home
last modified time | relevance | path

Searched refs:test_setopt (Results 1 – 25 of 103) sorted by relevance

12345

/aosp_15_r20/external/curl/tests/libtest/
H A Dlib661.c49 test_setopt(curl, CURLOPT_URL, newURL); in test()
50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
51 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
59 test_setopt(curl, CURLOPT_URL, newURL); in test()
76 test_setopt(curl, CURLOPT_URL, newURL); in test()
77 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
78 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
79 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
87 test_setopt(curl, CURLOPT_URL, newURL); in test()
[all …]
H A Dlib572.c68 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
69 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
72 test_setopt(curl, CURLOPT_URL, URL); in test()
80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
84 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test()
85 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
95 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
112 test_setopt(curl, CURLOPT_READDATA, paramsf); in test()
[all …]
H A Dlib568.c67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
70 test_setopt(curl, CURLOPT_URL, URL); in test()
77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
93 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
94 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
95 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
103 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
[all …]
H A Dlib1525.c74 test_setopt(curl, CURLOPT_URL, URL); in test()
75 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
76 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
77 test_setopt(curl, CURLOPT_PROXYHEADER, hhl); in test()
78 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_UNIFIED); in test()
79 test_setopt(curl, CURLOPT_POST, 0L); in test()
80 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
81 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
82 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
83 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
[all …]
H A Dlib1526.c77 test_setopt(curl, CURLOPT_URL, URL); in test()
78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
80 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test()
81 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test()
82 test_setopt(curl, CURLOPT_POST, 0L); in test()
83 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
84 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
85 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
86 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
[all …]
H A Dlib1527.c77 test_setopt(curl, CURLOPT_URL, URL); in test()
78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
80 test_setopt(curl, CURLOPT_POST, 0L); in test()
81 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
82 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
83 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
84 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
85 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test()
86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
[all …]
H A Dlib547.c95 test_setopt(curl, CURLOPT_URL, URL); in test()
96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
97 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
100 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS); in test()
104 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test()
105 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
107 test_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test()
108 test_setopt(curl, CURLOPT_READDATA, &counter); in test()
111 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS)); in test()
113 test_setopt(curl, CURLOPT_POST, 1L); in test()
[all …]
H A Dlib571.c129 test_setopt(curl, CURLOPT_URL, URL); in test()
136 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
140 test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write); in test()
141 test_setopt(curl, CURLOPT_TIMEOUT, 30L); in test()
142 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
143 test_setopt(curl, CURLOPT_WRITEDATA, protofile); in test()
145 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "RTP/AVP/TCP;interleaved=0-1"); in test()
146 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
158 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
161 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY); in test()
[all …]
H A Dlib506.c245 test_setopt(curl, CURLOPT_SHARE, share); in test()
247 test_setopt(curl, CURLOPT_COOKIELIST, in test()
251 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); in test()
253 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants"); in test()
255 test_setopt(curl, CURLOPT_COOKIELIST, in test()
259 test_setopt(curl, CURLOPT_COOKIELIST, "SESS"); in test()
293 test_setopt(curl, CURLOPT_HTTPHEADER, headers); in test()
294 test_setopt(curl, CURLOPT_URL, url); in test()
296 test_setopt(curl, CURLOPT_SHARE, share); in test()
298 test_setopt(curl, CURLOPT_COOKIEJAR, JAR); in test()
[all …]
H A Dlib570.c52 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
53 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
54 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
56 test_setopt(curl, CURLOPT_URL, URL); in test()
58 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
65 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
76 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L); in test()
77 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test()
79 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
[all …]
H A Dlib569.c65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
67 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
69 test_setopt(curl, CURLOPT_URL, URL); in test()
71 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
87 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
92 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test()
107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
111 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN); in test()
[all …]
H A Dlib1938.c49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
50 test_setopt(curl, CURLOPT_POST, 1L); in test()
51 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test()
52 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test()
53 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
54 test_setopt(curl, CURLOPT_URL, URL); in test()
58 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
60 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
61 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test()
62 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)sizeof(data)); in test()
H A Dlib579.c124 test_setopt(curl, CURLOPT_URL, URL); in test()
127 test_setopt(curl, CURLOPT_POST, 1L); in test()
130 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
133 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
136 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
139 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
142 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
144 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test()
145 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
148 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test()
[all …]
H A Dlib3100.c44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
48 test_setopt(curl, CURLOPT_URL, URL); in test()
49 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test()
51 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test()
52 test_setopt(curl, CURLOPT_USERNAME, "user"); in test()
53 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test()
54 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
H A Dlib598.c45 test_setopt(curl, CURLOPT_URL, URL); in test()
46 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
47 test_setopt(curl, CURLOPT_REFERER, "http://example.com/the-moo"); in test()
48 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation"); in test()
49 test_setopt(curl, CURLOPT_COOKIE, "name=moo"); in test()
50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
60 test_setopt(curl, CURLOPT_URL, URL); in test()
61 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
62 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
H A Dlib1960.c121 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
122 test_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, socket_cb); in test()
123 test_setopt(curl, CURLOPT_OPENSOCKETDATA, &client_fd); in test()
124 test_setopt(curl, CURLOPT_SOCKOPTFUNCTION, sockopt_cb); in test()
125 test_setopt(curl, CURLOPT_SOCKOPTDATA, NULL); in test()
126 test_setopt(curl, CURLOPT_CLOSESOCKETFUNCTION, closesocket_cb); in test()
127 test_setopt(curl, CURLOPT_CLOSESOCKETDATA, NULL); in test()
128 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
129 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
130 test_setopt(curl, CURLOPT_URL, URL); in test()
H A Dlib1937.c48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
49 test_setopt(curl, CURLOPT_POST, 1L); in test()
50 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test()
51 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test()
52 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
53 test_setopt(curl, CURLOPT_URL, URL); in test()
57 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
59 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
60 test_setopt(curl, CURLOPT_POSTFIELDS, "postData"); in test()
H A Dlib1970.c47 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
48 test_setopt(curl, CURLOPT_INFILESIZE, 0L); in test()
49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
50 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test()
51 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
52 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
53 test_setopt(curl, CURLOPT_URL, URL); in test()
57 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
61 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
H A Dlib1971.c57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test()
61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
62 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
63 test_setopt(curl, CURLOPT_URL, URL); in test()
67 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
71 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
H A Dlib1975.c57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test()
61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
62 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
63 test_setopt(curl, CURLOPT_URL, URL); in test()
69 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
73 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
H A Dlib552.c182 test_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace); in test()
183 test_setopt(curl, CURLOPT_DEBUGDATA, &config); in test()
185 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
192 test_setopt(curl, CURLOPT_POST, 1L); in test()
195 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof(databuf)); in test()
196 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
199 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test()
203 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctl_callback); in test()
206 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
208 test_setopt(curl, CURLOPT_URL, URL); in test()
[all …]
H A Dlib510.c93 test_setopt(curl, CURLOPT_URL, URL); in test()
96 test_setopt(curl, CURLOPT_POST, 1L); in test()
99 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
102 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
105 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
108 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
111 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
114 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test()
115 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
H A Dlib3101.c44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
47 test_setopt(curl, CURLOPT_URL, URL); in test()
48 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test()
49 test_setopt(curl, CURLOPT_USERNAME, "user"); in test()
50 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test()
51 test_setopt(curl, CURLOPT_REDIR_PROTOCOLS_STR, "https"); in test()
H A Dlib567.c50 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
51 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
52 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
54 test_setopt(curl, CURLOPT_URL, URL); in test()
55 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test()
56 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
57 test_setopt(curl, CURLOPT_USERAGENT, "test567"); in test()
60 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
H A Dlib1528.c56 test_setopt(curl, CURLOPT_URL, URL); in test()
57 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
58 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
59 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test()
60 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test()
61 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
62 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
63 test_setopt(curl, CURLOPT_HEADER, 1L); in test()

12345