Home
last modified time | relevance | path

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

123

/external/curl/tests/libtest/
Dlib572.c66 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
67 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
70 test_setopt(curl, CURLOPT_URL, URL); in test()
78 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
82 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test()
83 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
93 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
108 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
110 test_setopt(curl, CURLOPT_READDATA, paramsf); in test()
[all …]
Dlib568.c65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_URL, URL); in test()
75 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
89 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
91 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
92 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
93 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
100 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
110 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
[all …]
Dlib1525.c72 test_setopt(curl, CURLOPT_URL, URL); in test()
73 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
74 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
75 test_setopt(curl, CURLOPT_PROXYHEADER, hhl); in test()
76 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_UNIFIED); in test()
77 test_setopt(curl, CURLOPT_POST, 0L); in test()
78 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
79 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
80 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
81 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
[all …]
Dlib1526.c75 test_setopt(curl, CURLOPT_URL, URL); in test()
76 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
77 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
78 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test()
79 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); 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()
[all …]
Dlib1527.c75 test_setopt(curl, CURLOPT_URL, URL); in test()
76 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
77 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
78 test_setopt(curl, CURLOPT_POST, 0L); in test()
79 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
80 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
81 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
82 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
83 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test()
84 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
[all …]
Dlib547.c100 test_setopt(curl, CURLOPT_URL, URL); in test()
101 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
102 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
105 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS); in test()
108 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test()
109 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
110 test_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test()
111 test_setopt(curl, CURLOPT_READDATA, &counter); in test()
114 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS)); in test()
116 test_setopt(curl, CURLOPT_POST, 1L); in test()
[all …]
Dlib570.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()
56 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
63 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
74 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L); in test()
75 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test()
77 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
84 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
[all …]
Dlib579.c115 test_setopt(curl, CURLOPT_URL, URL); in test()
118 test_setopt(curl, CURLOPT_POST, 1L); in test()
122 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
126 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
129 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
132 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
135 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
138 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
140 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test()
141 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
[all …]
Dlib571.c128 test_setopt(curl, CURLOPT_URL, URL); in test()
135 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
139 test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write); in test()
140 test_setopt(curl, CURLOPT_TIMEOUT, 3L); in test()
141 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
142 test_setopt(curl, CURLOPT_WRITEDATA, protofile); in test()
144 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "RTP/AVP/TCP;interleaved=0-1"); in test()
145 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
157 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
160 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY); in test()
[all …]
Dlib569.c64 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
65 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
66 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
68 test_setopt(curl, CURLOPT_URL, URL); in test()
70 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
90 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
91 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test()
106 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN); in test()
[all …]
Dlib598.c43 test_setopt(curl, CURLOPT_URL, URL); in test()
44 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
45 test_setopt(curl, CURLOPT_REFERER, "http://example.com/the-moo"); in test()
46 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation"); in test()
47 test_setopt(curl, CURLOPT_COOKIE, "name=moo"); in test()
48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
58 test_setopt(curl, CURLOPT_URL, URL); in test()
59 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
60 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
Dlib510.c91 test_setopt(curl, CURLOPT_URL, URL); in test()
94 test_setopt(curl, CURLOPT_POST, 1L); in test()
98 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
102 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
105 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
108 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
111 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
114 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
117 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test()
118 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
Dlib578.c69 test_setopt(curl, CURLOPT_URL, URL); in test()
72 test_setopt(curl, CURLOPT_POST, 1L); in test()
76 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
80 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)data_size); in test()
81 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test()
84 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test()
85 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); in test()
90 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
93 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
Dlib506.c242 test_setopt(curl, CURLOPT_SHARE, share); in test()
244 test_setopt(curl, CURLOPT_COOKIELIST, in test()
248 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); in test()
250 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants"); in test()
252 test_setopt(curl, CURLOPT_COOKIELIST, in test()
256 test_setopt(curl, CURLOPT_COOKIELIST, "SESS"); in test()
290 test_setopt(curl, CURLOPT_HTTPHEADER, headers); in test()
291 test_setopt(curl, CURLOPT_URL, url); in test()
293 test_setopt(curl, CURLOPT_SHARE, share); in test()
295 test_setopt(curl, CURLOPT_COOKIEJAR, JAR); in test()
[all …]
Dlib1528.c54 test_setopt(curl, CURLOPT_URL, URL); in test()
55 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
56 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test()
57 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test()
58 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test()
59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
60 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
61 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
Dlib508.c73 test_setopt(curl, CURLOPT_URL, URL); in test()
76 test_setopt(curl, CURLOPT_POST, 1L); in test()
80 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
84 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test()
87 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
90 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
93 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
96 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
Dlib552.c181 test_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace); in test()
182 test_setopt(curl, CURLOPT_DEBUGDATA, &config); in test()
184 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
191 test_setopt(curl, CURLOPT_POST, 1L); in test()
195 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
199 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof(databuf)); in test()
200 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
203 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test()
206 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctl_callback); in test()
208 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
[all …]
Dlib514.c44 test_setopt(curl, CURLOPT_URL, URL); in test()
55 test_setopt(curl, CURLOPT_POSTFIELDS, "moo"); in test()
56 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 3L); in test()
57 test_setopt(curl, CURLOPT_POST, 1L); in test()
62 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
64 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */ in test()
65 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */ in test()
Dlib1517.c77 test_setopt(curl, CURLOPT_URL, URL); in test()
80 test_setopt(curl, CURLOPT_POST, 1L); in test()
84 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
88 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test()
91 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
94 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
97 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
100 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
Dlib567.c48 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
49 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
51 test_setopt(curl, CURLOPT_URL, URL); in test()
52 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test()
53 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
54 test_setopt(curl, CURLOPT_USERAGENT, "test567"); in test()
57 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
Dlib513.c53 test_setopt(curl, CURLOPT_URL, URL); in test()
56 test_setopt(curl, CURLOPT_POST, 1L); in test()
59 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 1L); in test()
62 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
65 test_setopt(curl, CURLOPT_READDATA, NULL); in test()
68 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
71 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
Dlib553.c92 test_setopt(curl, CURLOPT_URL, URL); in test()
93 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in test()
94 test_setopt(curl, CURLOPT_POST, 1L); in test()
97 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
99 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)POSTLEN); in test()
100 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
101 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
102 test_setopt(curl, CURLOPT_READFUNCTION, myreadfunc); in test()
Dlib1520.c96 test_setopt(curl, CURLOPT_URL, URL); in test()
97 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
98 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
99 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test()
100 test_setopt(curl, CURLOPT_MAIL_FROM, FROM); in test()
101 test_setopt(curl, CURLOPT_MAIL_RCPT, rcpt_list); in test()
102 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
Dlib1533.c148 test_setopt(curl, CURLOPT_URL, URL); in test()
149 test_setopt(curl, CURLOPT_POST, 1L); in test()
150 test_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, in test()
152 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
153 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
154 test_setopt(curl, CURLOPT_READDATA, &data); in test()
155 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test()
156 test_setopt(curl, CURLOPT_WRITEDATA, &data); in test()
172 test_setopt(curl, CURLOPT_KEEP_SENDING_ON_ERROR, 1L); in test()
Dlib539.c48 test_setopt(curl, CURLOPT_URL, URL); in test()
49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
50 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
77 test_setopt(curl, CURLOPT_URL, newURL); in test()
78 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
79 test_setopt(curl, CURLOPT_QUOTE, slist); in test()

123