Home
last modified time | relevance | path

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

12

/external/curl/tests/libtest/
Dlib555.c90 easy_setopt(curl, CURLOPT_URL, URL); in test()
91 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
92 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
95 easy_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test()
96 easy_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
97 easy_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test()
98 easy_setopt(curl, CURLOPT_READDATA, &counter); in test()
101 easy_setopt(curl, CURLOPT_POSTFIELDSIZE, strlen(UPLOADTHIS)); in test()
103 easy_setopt(curl, CURLOPT_POST, 1L); in test()
106 easy_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 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()
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()
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()
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()
Dlibntlmconnect.c150 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test()
154 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test()
156 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test()
157 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); in test()
158 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); in test()
159 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); in test()
160 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass"); in test()
161 easy_setopt(easy[num_handles], CURLOPT_WRITEFUNCTION, callback); in test()
162 easy_setopt(easy[num_handles], CURLOPT_WRITEDATA, easy + num_handles); in test()
163 easy_setopt(easy[num_handles], CURLOPT_HEADER, 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()
Dlib597.c74 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
77 easy_setopt(easy, CURLOPT_URL, URL); in test()
81 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 1L); in test()
85 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 0L); in test()
86 easy_setopt(easy, CURLOPT_NOBODY, 1L); in test()
87 easy_setopt(easy, CURLOPT_FORBID_REUSE, 1L); in test()
Dlib591.c69 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
72 easy_setopt(easy, CURLOPT_URL, URL); in test()
75 easy_setopt(easy, CURLOPT_UPLOAD, 1L); in test()
78 easy_setopt(easy, CURLOPT_READDATA, upload); in test()
81 easy_setopt(easy, CURLOPT_FTPPORT, "-"); in test()
84 easy_setopt(easy, CURLOPT_ACCEPTTIMEOUT_MS, 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()
Dlib525.c86 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
89 easy_setopt(curl, CURLOPT_URL, URL); in test()
92 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
95 easy_setopt(curl, CURLOPT_FTPPORT, "-"); in test()
98 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
109 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); 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()
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()
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()
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()
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()
Dlib582.c276 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
279 easy_setopt(curl, CURLOPT_URL, URL); in test()
282 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
285 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
287 easy_setopt(curl, CURLOPT_USERPWD, libtest_arg3); in test()
288 easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, "curl_client_key.pub"); in test()
289 easy_setopt(curl, CURLOPT_SSH_PRIVATE_KEYFILE, "curl_client_key"); in test()
291 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
Dlib1506.c77 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
79 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
81 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
83 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
Dlib526.c73 easy_setopt(curl[i], CURLOPT_URL, URL); in test()
75 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
113 easy_setopt(curl[0], CURLOPT_URL, URL); in test()
115 easy_setopt(curl[0], CURLOPT_VERBOSE, 1L); in test()
Dlib504.c54 easy_setopt(c, CURLOPT_PROXY, libtest_arg2); in test()
55 easy_setopt(c, CURLOPT_URL, URL); in test()
56 easy_setopt(c, CURLOPT_VERBOSE, 1L); in test()
Dlib575.c52 easy_setopt(handle, CURLOPT_URL, URL); in test()
53 easy_setopt(handle, CURLOPT_WILDCARDMATCH, 1L); in test()
54 easy_setopt(handle, CURLOPT_VERBOSE, 1L); in test()
Dlib530.c58 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
60 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
62 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()

12