Home
last modified time | relevance | path

Searched refs:easy_setopt (Results 1 – 25 of 46) sorted by relevance

12

/external/curl/tests/libtest/
Dlib555.c98 easy_setopt(curl, CURLOPT_URL, URL); in test()
99 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
100 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
103 easy_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test()
104 easy_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
105 easy_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test()
106 easy_setopt(curl, CURLOPT_READDATA, &counter); in test()
109 easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(uploadthis)); in test()
111 easy_setopt(curl, CURLOPT_POST, 1L); in test()
112 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
[all …]
Dlib583.c46 easy_setopt(curl, CURLOPT_USERPWD, libtest_arg2); in test()
47 easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, "curl_client_key.pub"); in test()
48 easy_setopt(curl, CURLOPT_SSH_PRIVATE_KEYFILE, "curl_client_key"); in test()
50 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
51 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
53 easy_setopt(curl, CURLOPT_URL, URL); in test()
54 easy_setopt(curl, CURLOPT_INFILESIZE, (long)5); in test()
Dlib503.c51 easy_setopt(c, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ in test()
52 easy_setopt(c, CURLOPT_URL, URL); in test()
53 easy_setopt(c, CURLOPT_USERPWD, "test:ing"); in test()
54 easy_setopt(c, CURLOPT_PROXYUSERPWD, "test:ing"); in test()
55 easy_setopt(c, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
56 easy_setopt(c, CURLOPT_HEADER, 1L); in test()
57 easy_setopt(c, CURLOPT_VERBOSE, 1L); in test()
Dlib1540.c98 easy_setopt(curls, CURLOPT_URL, URL); in test()
99 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
100 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
101 easy_setopt(curls, CURLOPT_HEADERFUNCTION, header_callback); in test()
102 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
104 easy_setopt(curls, CURLOPT_XFERINFOFUNCTION, please_continue); in test()
105 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()
106 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
Dlib1513.c57 easy_setopt(curl, CURLOPT_URL, URL); in test()
58 easy_setopt(curl, CURLOPT_TIMEOUT, (long)7); in test()
59 easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1); in test()
60 easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progressKiller); in test()
61 easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL); in test()
62 easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0); in test()
Dlib1553.c67 easy_setopt(curls, CURLOPT_URL, URL); in test()
68 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
69 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
70 easy_setopt(curls, CURLOPT_MIMEPOST, mime); in test()
71 easy_setopt(curls, CURLOPT_USERPWD, "u:s"); in test()
72 easy_setopt(curls, CURLOPT_XFERINFOFUNCTION, xferinfo); in test()
73 easy_setopt(curls, CURLOPT_NOPROGRESS, 1L); in test()
Dlib1509.c44 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ in test()
46 easy_setopt(curl, CURLOPT_WRITEFUNCTION, *WriteOutput); in test()
47 easy_setopt(curl, CURLOPT_HEADERFUNCTION, *WriteHeader); in test()
49 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
50 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
51 easy_setopt(curl, CURLOPT_URL, URL); in test()
52 easy_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
Dlib1555.c62 easy_setopt(curl, CURLOPT_URL, URL); in test()
63 easy_setopt(curl, CURLOPT_TIMEOUT, (long)7); in test()
64 easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1); in test()
65 easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progressCallback); in test()
66 easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL); in test()
67 easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0); in test()
Dlibntlmconnect.c139 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test()
143 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test()
145 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test()
146 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); in test()
147 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); in test()
148 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); in test()
149 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass"); in test()
150 easy_setopt(easy[num_handles], CURLOPT_WRITEFUNCTION, callback); in test()
151 easy_setopt(easy[num_handles], CURLOPT_WRITEDATA, easy + num_handles); in test()
152 easy_setopt(easy[num_handles], CURLOPT_HEADER, 1L); in test()
Dlib533.c48 easy_setopt(curl, CURLOPT_URL, URL); in test()
49 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
50 easy_setopt(curl, CURLOPT_FAILONERROR, 1L); in test()
79 easy_setopt(curl, CURLOPT_URL, libtest_arg2); in test()
80 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
81 easy_setopt(curl, CURLOPT_FAILONERROR, 1L); in test()
Dlib1511.c36 easy_setopt(curl, CURLOPT_URL, URL); in test()
37 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
38 easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE); in test()
41 easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L); in test()
54 easy_setopt(curl, CURLOPT_TIMEVALUE, 1L); in test()
Dlib653.c44 easy_setopt(curls, CURLOPT_URL, URL); in test()
45 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
46 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
47 easy_setopt(curls, CURLOPT_MIMEPOST, mime); in test()
48 easy_setopt(curls, CURLOPT_NOPROGRESS, 1L); in test()
Dlib591.c65 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
68 easy_setopt(easy, CURLOPT_URL, URL); in test()
71 easy_setopt(easy, CURLOPT_UPLOAD, 1L); in test()
74 easy_setopt(easy, CURLOPT_READDATA, upload); in test()
77 easy_setopt(easy, CURLOPT_FTPPORT, "-"); in test()
80 easy_setopt(easy, CURLOPT_ACCEPTTIMEOUT_MS, in test()
Dlib525.c83 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
86 easy_setopt(curl, CURLOPT_URL, URL); in test()
89 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
92 easy_setopt(curl, CURLOPT_FTPPORT, "-"); in test()
95 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
106 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
Dlib1510.c66 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
68 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
70 easy_setopt(curl, CURLOPT_RESOLVE, slist); in test()
72 easy_setopt(curl, CURLOPT_MAXCONNECTS, 3L); in test()
81 easy_setopt(curl, CURLOPT_URL, target_url); in test()
Dlib1512.c66 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
68 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
70 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
72 easy_setopt(curl[i], CURLOPT_DNS_USE_GLOBAL_CACHE, 1L); in test()
76 easy_setopt(curl[0], CURLOPT_RESOLVE, slist); in test()
Dlib573.c55 easy_setopt(c, CURLOPT_HEADER, 1L); in test()
56 easy_setopt(c, CURLOPT_URL, URL); in test()
60 easy_setopt(c, CURLOPT_DEBUGDATA, &libtest_debug_config); in test()
61 easy_setopt(c, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
62 easy_setopt(c, CURLOPT_VERBOSE, 1L); in test()
Dlib536.c94 easy_setopt(easy, CURLOPT_WRITEFUNCTION, fwrite); in test()
95 easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in test()
96 easy_setopt(easy, CURLOPT_URL, URL); in test()
114 easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in test()
115 easy_setopt(easy, CURLOPT_URL, libtest_arg2); in test()
Dlib582.c273 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
276 easy_setopt(curl, CURLOPT_URL, URL); in test()
279 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
282 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
284 easy_setopt(curl, CURLOPT_USERPWD, libtest_arg3); in test()
285 easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, "curl_client_key.pub"); in test()
286 easy_setopt(curl, CURLOPT_SSH_PRIVATE_KEYFILE, "curl_client_key"); in test()
287 easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in test()
289 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
Dlib1514.c66 easy_setopt(curl, CURLOPT_URL, URL); in test()
67 easy_setopt(curl, CURLOPT_POST, 1L); in test()
69 easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
70 easy_setopt(curl, CURLOPT_READDATA, &pooh); in test()
Dlib1552.c48 easy_setopt(curls, CURLOPT_URL, URL); in test()
49 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
50 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
51 easy_setopt(curls, CURLOPT_USERPWD, "u:s"); in test()
Dlib564.c45 easy_setopt(curl, CURLOPT_URL, URL); in test()
46 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
47 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
48 easy_setopt(curl, CURLOPT_PROXYTYPE, (long)CURLPROXY_SOCKS4); in test()
Dlib1556.c56 easy_setopt(curl, CURLOPT_HEADERFUNCTION, header); in test()
57 easy_setopt(curl, CURLOPT_HEADERDATA, &info); in test()
58 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
59 easy_setopt(curl, CURLOPT_URL, URL); in test()
Dlib560.c57 easy_setopt(http_handle, CURLOPT_URL, URL); in test()
58 easy_setopt(http_handle, CURLOPT_HEADER, 1L); in test()
59 easy_setopt(http_handle, CURLOPT_SSL_VERIFYPEER, 0L); in test()
60 easy_setopt(http_handle, CURLOPT_SSL_VERIFYHOST, 0L); in test()
Dlib1515.c67 easy_setopt(curls, CURLOPT_URL, URL); in do_one_request()
68 easy_setopt(curls, CURLOPT_RESOLVE, resolve_list); in do_one_request()
69 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, debug_callback); in do_one_request()
70 easy_setopt(curls, CURLOPT_VERBOSE, 1); in do_one_request()
71 easy_setopt(curls, CURLOPT_DNS_CACHE_TIMEOUT, DNS_TIMEOUT); in do_one_request()

12