/external/curl/tests/libtest/ |
D | lib1502.c | 42 CURL *easy = NULL; in test() local 70 easy_init(easy); in test() 72 easy_setopt(easy, CURLOPT_URL, URL); in test() 73 easy_setopt(easy, CURLOPT_HEADER, 1L); in test() 74 easy_setopt(easy, CURLOPT_RESOLVE, dns_cache_list); in test() 76 dup = curl_easy_duphandle(easy); in test() 78 curl_easy_cleanup(easy); in test() 79 easy = dup; in test() 83 curl_easy_cleanup(easy); in test() 89 multi_add_handle(multi, easy); in test() [all …]
|
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 | 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 | lib597.c | 43 CURL *easy = NULL; in test() local 54 easy_init(easy); in test() 59 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test() 62 easy_setopt(easy, CURLOPT_URL, URL); in test() 64 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 1L); in test() 66 multi_add_handle(multi, easy); in test() 115 multi_remove_handle(multi, easy); in test() 122 curl_easy_cleanup(easy); in test()
|
D | lib1531.c | 35 CURL *easy; in test() local 47 easy = curl_easy_init(); in test() 53 curl_multi_add_handle(multi_handle, easy); in test() 56 curl_easy_setopt(easy, CURLOPT_URL, URL); in test() 57 curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, in test() 59 curl_easy_setopt(easy, CURLOPT_POSTFIELDS, testData); in test() 153 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()
|
/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() 225 f->easy = e; in setsock() 233 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument [all …]
|
D | hiperfifo.c | 100 CURL *easy; member 111 CURL *easy; member 176 CURL *easy; in check_multi_info() local 182 easy = msg->easy_handle; in check_multi_info() 184 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info() 185 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info() 187 curl_multi_remove_handle(g->multi, easy); in check_multi_info() 189 curl_easy_cleanup(easy); in check_multi_info() 257 f->easy = e; in setsock() 266 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 178 CURL *easy; in check_multi_info() local 184 easy = msg->easy_handle; in check_multi_info() 186 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info() 187 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info() 189 curl_multi_remove_handle(g->multi, easy); in check_multi_info() 191 curl_easy_cleanup(easy); in check_multi_info() 254 f->easy = e; in setsock() 266 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument [all …]
|
D | ephiperfifo.c | 100 CURL *easy; member 111 CURL *easy; member 186 CURL *easy; in check_multi_info() local 192 easy = msg->easy_handle; in check_multi_info() 194 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info() 195 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info() 197 curl_multi_remove_handle(g->multi, easy); in check_multi_info() 199 curl_easy_cleanup(easy); in check_multi_info() 288 f->easy = e; in setsock() 300 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument [all …]
|
D | asiohiper.cpp | 82 CURL *easy; member 162 CURL *easy; in check_multi_info() local 169 easy = msg->easy_handle; in check_multi_info() 171 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info() 172 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info() 174 curl_multi_remove_handle(g->multi, easy); in check_multi_info() 176 curl_easy_cleanup(easy); in check_multi_info() 303 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument 308 setsock(fdp, s, easy, action, 0, g); in addsock() 436 conn->easy = curl_easy_init(); in new_conn() [all …]
|
/external/curl/tests/unit/ |
D | unit1609.c | 34 static struct Curl_easy *easy; variable 39 curl_easy_cleanup(easy); in unit_stop() 49 easy = curl_easy_init(); in unit_setup() 50 if(!easy) { in unit_setup() 126 Curl_hostcache_clean(easy, hostcache); 127 easy->dns.hostcache = hostcache; 128 easy->dns.hostcachetype = HCACHE_GLOBAL; 130 for(i = 0; i < testnum; ++i, curl_easy_reset(easy)) { 143 curl_easy_setopt(easy, CURLOPT_RESOLVE, list); 145 Curl_loadhostpairs(easy); [all …]
|
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 | unit1607.c | 34 static struct Curl_easy *easy; variable 39 curl_easy_cleanup(easy); in unit_stop() 49 easy = curl_easy_init(); in unit_setup() 50 if(!easy) { in unit_setup() 125 for(i = 0; i < testnum; ++i, curl_easy_reset(easy)) { 134 Curl_hostcache_clean(easy, hostcache); 135 easy->dns.hostcache = hostcache; 136 easy->dns.hostcachetype = HCACHE_GLOBAL; 141 curl_easy_setopt(easy, CURLOPT_RESOLVE, list); 143 Curl_loadhostpairs(easy); [all …]
|
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);
|
D | unit1608.c | 53 struct Curl_easy *easy = curl_easy_init(); variable 54 abort_unless(easy, "out of memory"); 56 code = curl_easy_setopt(easy, CURLOPT_DNS_SHUFFLE_ADDRESSES, 1L); 61 if(CURLE_OK != Curl_shuffle_addr(easy, &addrhead)) 67 curl_easy_cleanup(easy);
|
/external/curl/lib/ |
D | psl.c | 54 const psl_ctx_t *Curl_psl_use(struct Curl_easy *easy) in Curl_psl_use() argument 56 struct PslCache *pslcache = easy->psl; in Curl_psl_use() 63 Curl_share_lock(easy, CURL_LOCK_DATA_PSL, CURL_LOCK_ACCESS_SHARED); in Curl_psl_use() 67 Curl_share_unlock(easy, CURL_LOCK_DATA_PSL); in Curl_psl_use() 70 Curl_share_lock(easy, CURL_LOCK_DATA_PSL, CURL_LOCK_ACCESS_SINGLE); in Curl_psl_use() 97 Curl_share_unlock(easy, CURL_LOCK_DATA_PSL); /* Release exclusive lock. */ in Curl_psl_use() 98 Curl_share_lock(easy, CURL_LOCK_DATA_PSL, CURL_LOCK_ACCESS_SHARED); in Curl_psl_use() 102 Curl_share_unlock(easy, CURL_LOCK_DATA_PSL); in Curl_psl_use() 106 void Curl_psl_release(struct Curl_easy *easy) in Curl_psl_release() argument 108 Curl_share_unlock(easy, CURL_LOCK_DATA_PSL); in Curl_psl_release()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | cond-load-01.ll | 12 define i32 @f1(i32 %easy, i32 *%ptr, i32 %limit) { 19 %res = select i1 %cond, i32 %easy, i32 %other 24 define i32 @f2(i32 %easy, i32 *%ptr, i32 %limit) { 31 %res = select i1 %cond, i32 %other, i32 %easy 36 define i32 @f3(i32 %easy, i32 *%base, i32 %limit) { 44 %res = select i1 %cond, i32 %easy, i32 %other 49 define i32 @f4(i32 %easy, i32 *%base, i32 %limit) { 58 %res = select i1 %cond, i32 %easy, i32 %other 63 define i32 @f5(i32 %easy, i32 *%base, i32 %limit) { 71 %res = select i1 %cond, i32 %easy, i32 %other [all …]
|
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-03.ll | 15 %easy = call i32 asm "stepa $0", "=h"() 18 %res = select i1 %cond, i32 %easy, i32 %other 30 %easy = call i32 asm "stepa $0", "=h"() 33 %res = select i1 %cond, i32 %other, i32 %easy 45 %easy = call i32 asm "stepa $0", "=h"() 49 %res = select i1 %cond, i32 %easy, i32 %other 62 %easy = call i32 asm "stepa $0", "=h"() 66 %res = select i1 %cond, i32 %easy, i32 %other 78 %easy = call i32 asm "stepa $0", "=h"() 82 %res = select i1 %cond, i32 %easy, i32 %other [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
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 …]
|
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 …]
|