/external/curl/tests/libtest/ |
D | libntlmconnect.c | 35 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 …]
|
D | lib536.c | 81 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 …]
|
D | lib1502.c | 42 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 …]
|
D | lib597.c | 51 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 …]
|
D | lib591.c | 38 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()
|
D | lib654.c | 72 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()
|
D | lib1531.c | 35 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()
|
D | lib543.c | 35 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()
|
D | lib1540.c | 29 CURL *easy; member 50 curl_easy_pause(st->easy, CURLPAUSE_CONT); in please_continue() 98 st.easy = curls; /* to allow callbacks access */ in test()
|
D | lib643.c | 256 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/ |
D | ghiper.c | 79 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 …]
|
D | evhiperfifo.c | 96 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 …]
|
D | hiperfifo.c | 92 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 …]
|
D | asiohiper.cpp | 72 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 …]
|
D | http2-serverpush.c | 161 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()
|
D | http2-download.c | 189 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()
|
D | http2-upload.c | 245 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/ |
D | unit1606.c | 27 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()
|
D | unit1600.c | 27 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…
|
D | unit1605.c | 26 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/ |
D | cond-load-02.ll | 8 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 …]
|
D | cond-load-01.ll | 8 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/ |
D | tool_main.c | 162 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/ |
D | mime.c | 462 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 …]
|
D | mime.h | 89 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);
|