Home
last modified time | relevance | path

Searched refs:easy (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/external/curl/tests/libtest/
Dlibntlmconnect.c35 static CURL *easy[MAX_EASY_HANDLES]; variable
41 ssize_t idx = ((CURL **) data) - easy; in callback()
51 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback()
106 easy[i] = NULL; in test()
135 easy_init(easy[num_handles]); in test()
139 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()
[all …]
Dlib536.c81 CURL *easy = NULL; in test() local
90 easy_init(easy); in test()
94 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()
98 res_multi_add_handle(multi, easy); in test()
110 curl_multi_remove_handle(multi, easy); in test()
112 curl_easy_reset(easy); in test()
114 easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in test()
115 easy_setopt(easy, CURLOPT_URL, libtest_arg2); in test()
[all …]
Dlib1502.c42 CURL *easy = NULL; in test() local
69 easy_init(easy); in test()
71 easy_setopt(easy, CURLOPT_URL, URL); in test()
72 easy_setopt(easy, CURLOPT_HEADER, 1L); in test()
73 easy_setopt(easy, CURLOPT_RESOLVE, dns_cache_list); in test()
77 multi_add_handle(multi, easy); in test()
114 curl_easy_cleanup(easy); in test()
120 curl_multi_remove_handle(multi, easy); in test()
122 curl_easy_cleanup(easy); in test()
128 curl_easy_cleanup(easy); in test()
[all …]
Dlib597.c51 CURL *easy = NULL; in test() local
63 easy_init(easy); in test()
69 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
72 easy_setopt(easy, CURLOPT_URL, URL); in test()
76 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 1L); in test()
80 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 0L); in test()
81 easy_setopt(easy, CURLOPT_NOBODY, 1L); in test()
82 easy_setopt(easy, CURLOPT_FORBID_REUSE, 1L); in test()
85 multi_add_handle(multi, easy); in test()
134 multi_remove_handle(multi, easy); in test()
[all …]
Dlib591.c38 CURL *easy = NULL; in test() local
62 easy_init(easy); in test()
65 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()
85 multi_add_handle(multi, easy); in test()
138 curl_easy_cleanup(easy); in test()
Dlib654.c72 CURL *easy = NULL; in test() local
91 easy = curl_easy_init(); in test()
94 test_setopt(easy, CURLOPT_URL, URL); in test()
97 test_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
100 test_setopt(easy, CURLOPT_HEADER, 1L); in test()
108 mime = curl_mime_init(easy); in test()
123 test_setopt(easy, CURLOPT_MIMEPOST, mime); in test()
126 easy2 = curl_easy_duphandle(easy); in test()
139 result = curl_easy_perform(easy); in test()
169 curl_easy_cleanup(easy); in test()
Dlib1531.c35 CURL *easy; in test() local
45 easy = curl_easy_init(); in test()
51 curl_multi_add_handle(multi_handle, easy); in test()
54 curl_easy_setopt(easy, CURLOPT_URL, URL); in test()
55 curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, in test()
57 curl_easy_setopt(easy, CURLOPT_POSTFIELDS, testData); in test()
144 curl_easy_cleanup(easy); in test()
Dlib543.c35 CURL *easy; in test() local
42 easy = curl_easy_init(); in test()
43 if(!easy) { in test()
50 s = curl_easy_escape(easy, (const char *)a, asize); in test()
58 curl_easy_cleanup(easy); in test()
Dlib1540.c29 CURL *easy; member
50 curl_easy_pause(st->easy, CURLPAUSE_CONT); in please_continue()
98 st.easy = curls; /* to allow callbacks access */ in test()
Dlib643.c256 CURL *easy = curl_easy_init(); in cyclic_add() local
257 curl_mime *mime = curl_mime_init(easy); in cyclic_add()
262 curl_mime *submime = curl_mime_init(easy); in cyclic_add()
270 curl_easy_cleanup(easy); in cyclic_add()
/external/curl/docs/examples/
Dghiper.c79 CURL *easy; member
88 CURL *easy; member
123 CURL *easy; in check_multi_info() local
129 easy = msg->easy_handle; in check_multi_info()
131 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
132 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
134 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
136 curl_easy_cleanup(easy); in check_multi_info()
227 f->easy = e; in setsock()
235 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
[all …]
Devhiperfifo.c96 CURL *easy; member
107 CURL *easy; member
179 CURL *easy; in check_multi_info() local
185 easy = msg->easy_handle; in check_multi_info()
187 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
188 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
190 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
192 curl_easy_cleanup(easy); in check_multi_info()
255 f->easy = e; in setsock()
267 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
[all …]
Dhiperfifo.c92 CURL *easy; member
103 CURL *easy; member
167 CURL *easy; in check_multi_info() local
173 easy = msg->easy_handle; in check_multi_info()
175 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
176 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
178 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
180 curl_easy_cleanup(easy); in check_multi_info()
249 f->easy = e; in setsock()
260 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
[all …]
Dasiohiper.cpp72 CURL *easy; member
152 CURL *easy; in check_multi_info() local
159 easy = msg->easy_handle; in check_multi_info()
161 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
162 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
164 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
166 curl_easy_cleanup(easy); in check_multi_info()
293 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
298 setsock(fdp, s, easy, action, 0, g); in addsock()
426 conn->easy = curl_easy_init(); in new_conn()
[all …]
Dhttp2-serverpush.c161 CURL *easy, in server_push_callback() argument
181 curl_easy_setopt(easy, CURLOPT_WRITEDATA, out); in server_push_callback()
206 CURL *easy; in main() local
215 easy = curl_easy_init(); in main()
218 setup(easy); in main()
221 curl_multi_add_handle(multi_handle, easy); in main()
Dhttp2-download.c189 CURL *easy[NUM_HANDLES]; in main() local
205 easy[i] = curl_easy_init(); in main()
207 setup(easy[i], i); in main()
210 curl_multi_add_handle(multi_handle, easy[i]); in main()
292 curl_easy_cleanup(easy[i]); in main()
Dhttp2-upload.c245 CURL *easy[NUM_HANDLES]; in main() local
266 easy[i] = curl_easy_init(); in main()
268 setup(easy[i], i, filename); in main()
271 curl_multi_add_handle(multi_handle, easy[i]); in main()
356 curl_easy_cleanup(easy[i]); in main()
/external/curl/tests/unit/
Dunit1606.c27 static CURL *easy; variable
34 easy = curl_easy_init(); in unit_setup()
35 if(!easy) in unit_setup()
42 curl_easy_cleanup(easy); in unit_stop()
56 curl_easy_setopt(easy, CURLOPT_LOW_SPEED_LIMIT, speed_limit); in runawhile()
57 curl_easy_setopt(easy, CURLOPT_LOW_SPEED_TIME, time_limit); in runawhile()
58 Curl_speedinit(easy); in runawhile()
62 easy->progress.current_speed = speed; in runawhile()
63 result = Curl_speedcheck(easy, now); in runawhile()
Dunit1600.c27 static CURL *easy; variable
34 easy = curl_easy_init(); in unit_setup()
35 if(!easy) in unit_setup()
42 curl_easy_cleanup(easy); in unit_stop()
52 Curl_ntlm_core_mk_nt_hash(easy, "1", output);
58 Curl_ntlm_core_mk_nt_hash(easy, "hello-you-fool", output);
65 …Curl_ntlm_core_mk_nt_hash(easy, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…
Dunit1605.c26 static CURL *easy; variable
33 easy = curl_easy_init(); in unit_setup()
34 if(!easy) in unit_setup()
41 curl_easy_cleanup(easy); in unit_stop()
49 esc = curl_easy_escape(easy, "", -1);
52 esc = curl_easy_unescape(easy, "%41%41%41%41", -1, &len);
/external/llvm/test/CodeGen/SystemZ/
Dcond-load-02.ll8 define i64 @f1(i64 %easy, i64 *%ptr, i64 %limit) {
15 %res = select i1 %cond, i64 %easy, i64 %other
20 define i64 @f2(i64 %easy, i64 *%ptr, i64 %limit) {
27 %res = select i1 %cond, i64 %other, i64 %easy
32 define i64 @f3(i64 %easy, i64 *%base, i64 %limit) {
40 %res = select i1 %cond, i64 %easy, i64 %other
45 define i64 @f4(i64 %easy, i64 *%base, i64 %limit) {
54 %res = select i1 %cond, i64 %easy, i64 %other
59 define i64 @f5(i64 %easy, i64 *%base, i64 %limit) {
67 %res = select i1 %cond, i64 %easy, i64 %other
[all …]
Dcond-load-01.ll8 define i32 @f1(i32 %easy, i32 *%ptr, i32 %limit) {
15 %res = select i1 %cond, i32 %easy, i32 %other
20 define i32 @f2(i32 %easy, i32 *%ptr, i32 %limit) {
27 %res = select i1 %cond, i32 %other, i32 %easy
32 define i32 @f3(i32 %easy, i32 *%base, i32 %limit) {
40 %res = select i1 %cond, i32 %easy, i32 %other
45 define i32 @f4(i32 %easy, i32 *%base, i32 %limit) {
54 %res = select i1 %cond, i32 %easy, i32 %other
59 define i32 @f5(i32 %easy, i32 *%base, i32 %limit) {
67 %res = select i1 %cond, i32 %easy, i32 %other
[all …]
/external/curl/src/
Dtool_main.c162 config->easy = curl_easy_init(); in main_init()
163 if(config->easy) { in main_init()
166 config->first->easy = config->easy; in main_init()
215 curl_easy_cleanup(config->easy); in main_free()
216 config->easy = NULL; in main_free()
/external/curl/lib/
Dmime.c462 if(part->easy && cursize) { in encoder_base64_read()
463 CURLcode result = Curl_convert_to_network(part->easy, buffer, cursize); in encoder_base64_read()
863 if(part->easy && convbuf < buffer) { in readback_part()
864 CURLcode result = Curl_convert_to_network(part->easy, convbuf, in readback_part()
907 if(part->easy && convbuf < buffer && in readback_part()
909 CURLcode result = Curl_convert_to_network(part->easy, convbuf, in readback_part()
958 if(mime->easy && convbuf < buffer) { in mime_subparts_read()
959 CURLcode result = Curl_convert_to_network(mime->easy, convbuf, in mime_subparts_read()
1001 if(mime->easy && convbuf < buffer && in mime_subparts_read()
1003 CURLcode result = Curl_convert_to_network(mime->easy, convbuf, in mime_subparts_read()
[all …]
Dmime.h89 struct Curl_easy *easy; /* The associated easy handle. */ member
99 struct Curl_easy *easy; /* The associated easy handle. */ member
123 void Curl_mime_initpart(curl_mimepart *part, struct Curl_easy *easy);

12345678910>>...28