Home
last modified time | relevance | path

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

12345678910>>...32

/external/curl/tests/libtest/
Dlib1502.c42 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 …]
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 …]
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()
Dlib597.c43 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()
Dlib1531.c35 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()
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()
/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()
225 f->easy = e; in setsock()
233 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
[all …]
Dhiperfifo.c100 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 …]
Devhiperfifo.c96 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 …]
Dephiperfifo.c100 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 …]
Dasiohiper.cpp82 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/
Dunit1609.c34 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 …]
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()
Dunit1607.c34 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 …]
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);
Dunit1608.c53 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/
Dpsl.c54 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/
Dcond-load-01.ll12 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 …]
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-03.ll15 %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/
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 …]
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 …]

12345678910>>...32