Searched defs:easy (Results 1 - 25 of 29) sorted by relevance

12

/external/curl/tests/unit/
H A Dunit1600.c27 CURL *easy; variable
31 easy = curl_easy_init();
37 curl_easy_cleanup(easy);
46 Curl_ntlm_core_mk_nt_hash(easy, "1", output);
52 Curl_ntlm_core_mk_nt_hash(easy, "hello-you-fool", output);
59 Curl_ntlm_core_mk_nt_hash(easy, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", output);
H A Dunit1605.c37 CURL *easy = curl_easy_init(); variable
41 esc = curl_easy_escape(easy, "", -1);
44 esc = curl_easy_unescape(easy, "%41%41%41%41", -1, &len);
47 curl_easy_cleanup(easy); variable
/external/curl/tests/libtest/
H A Dlib543.c34 CURL *easy; local
39 if((easy = curl_easy_init()) == NULL) {
46 s = curl_easy_escape(easy, (char *)a, asize);
54 curl_easy_cleanup(easy);
H A Dlib1502.c44 CURL *easy = NULL; local
71 easy_init(easy);
73 easy_setopt(easy, CURLOPT_URL, URL);
74 easy_setopt(easy, CURLOPT_HEADER, 1L);
75 easy_setopt(easy, CURLOPT_RESOLVE, dns_cache_list);
79 multi_add_handle(multi, easy);
116 curl_easy_cleanup(easy);
122 curl_multi_remove_handle(multi, easy);
124 curl_easy_cleanup(easy);
130 curl_easy_cleanup(easy);
[all...]
H A Dlib536.c81 CURL *easy = NULL; local
90 easy_init(easy);
94 easy_setopt(easy, CURLOPT_WRITEFUNCTION, fwrite);
95 easy_setopt(easy, CURLOPT_FAILONERROR, 1L);
96 easy_setopt(easy, CURLOPT_URL, URL);
98 res_multi_add_handle(multi, easy);
110 curl_multi_remove_handle(multi, easy);
112 curl_easy_reset(easy);
114 easy_setopt(easy, CURLOPT_FAILONERROR, 1L);
115 easy_setopt(easy, CURLOPT_UR
[all...]
H A Dlib1531.c35 CURL *easy; local
42 easy = curl_easy_init();
48 curl_multi_add_handle(multi_handle, easy);
51 curl_easy_setopt(easy, CURLOPT_URL, URL);
52 curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE,
54 curl_easy_setopt(easy, CURLOPT_POSTFIELDS, testData);
140 curl_easy_cleanup(easy);
H A Dlib591.c40 CURL *easy = NULL; local
66 easy_init(easy);
69 easy_setopt(easy, CURLOPT_VERBOSE, 1L);
72 easy_setopt(easy, CURLOPT_URL, URL);
75 easy_setopt(easy, CURLOPT_UPLOAD, 1L);
78 easy_setopt(easy, CURLOPT_READDATA, upload);
81 easy_setopt(easy, CURLOPT_FTPPORT, "-");
84 easy_setopt(easy, CURLOPT_ACCEPTTIMEOUT_MS,
89 multi_add_handle(multi, easy);
142 curl_easy_cleanup(easy);
[all...]
H A Dlib597.c53 CURL *easy = NULL; local
68 easy_init(easy);
74 easy_setopt(easy, CURLOPT_VERBOSE, 1L);
77 easy_setopt(easy, CURLOPT_URL, URL);
81 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 1L);
85 easy_setopt(easy, CURLOPT_CONNECT_ONLY, 0L);
86 easy_setopt(easy, CURLOPT_NOBODY, 1L);
87 easy_setopt(easy, CURLOPT_FORBID_REUSE, 1L);
90 multi_add_handle(multi, easy);
139 multi_remove_handle(multi, easy);
[all...]
H A Dlibntlmconnect.c36 static CURL *easy[MAX_EASY_HANDLES]; variable
42 ssize_t idx = ((CURL **) data) - easy;
61 /* Get socket being used for this easy handle, otherwise CURL_SOCKET_BAD */
62 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata);
76 /* Track relationship between this easy handle and the socket. */
78 /* An easy handle without previous socket, record the socket. */
82 /* An easy handle with a socket different to previously
117 easy[i] = NULL;
146 easy_init(easy[num_handles]);
150 easy_setopt(easy[num_handle
[all...]
H A Dlib582.c105 static int curlSocketCallback(CURL *easy, curl_socket_t s, int action, argument
110 (void)easy; /* unused */
/external/curl/docs/examples/
H A Dhttp2-download.c186 CURL *easy[NUM_HANDLES]; local
202 easy[i] = curl_easy_init();
204 setup(easy[i], i);
207 curl_multi_add_handle(multi_handle, easy[i]);
289 curl_easy_cleanup(easy[i]);
H A Dhttp2-serverpush.c158 CURL *easy,
178 curl_easy_setopt(easy, CURLOPT_WRITEDATA, out);
203 CURL *easy; local
212 easy = curl_easy_init();
215 setup(easy);
217 /* add the easy transfer */
218 curl_multi_add_handle(multi_handle, easy);
299 * created and added one or more easy handles but we need to clean them up
157 server_push_callback(CURL *parent, CURL *easy, size_t num_headers, struct curl_pushheaders *headers, void *userp) argument
H A Dhttp2-upload.c242 CURL *easy[NUM_HANDLES]; local
263 easy[i] = curl_easy_init();
265 setup(easy[i], i, filename);
268 curl_multi_add_handle(multi_handle, easy[i]);
353 curl_easy_cleanup(easy[i]);
H A Dmulti-uv.c169 int handle_socket(CURL *easy, curl_socket_t s, int action, void *userp, argument
H A Dasiohiper.cpp37 * When running, the program creates an easy handle for a URL and
69 /* Information associated with a specific easy handle */
72 CURL *easy; member in struct:_ConnInfo
149 /* Check for completed transfers, and remove their easy handles */
156 CURL *easy; local
165 easy = msg->easy_handle;
167 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
168 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
170 curl_multi_remove_handle(g->multi, easy);
172 curl_easy_cleanup(easy);
267 addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) argument
[all...]
H A Devhiperfifo.c42 of URL's and creates some new easy handles to fetch each URL via the
93 /* Information associated with a specific easy handle */
96 CURL *easy; member in struct:_ConnInfo
107 CURL *easy; member in struct:_SockInfo
172 /* Check for completed transfers, and remove their easy handles */
179 CURL *easy; local
185 easy = msg->easy_handle;
187 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
188 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
190 curl_multi_remove_handle(g->multi, easy);
267 addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) argument
[all...]
H A Dghiper.c39 of URL's and creates some new easy handles to fetch each URL via the
77 /* Information associated with a specific easy handle */
79 CURL *easy; member in struct:_ConnInfo
88 CURL *easy; member in struct:_SockInfo
116 /* Check for completed transfers, and remove their easy handles */
123 CURL *easy; local
129 easy = msg->easy_handle;
131 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
132 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
134 curl_multi_remove_handle(g->multi, easy);
226 addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) argument
[all...]
H A Dhiperfifo.c39 of URL's and creates some new easy handles to fetch each URL via the
89 /* Information associated with a specific easy handle */
92 CURL *easy; member in struct:_ConnInfo
103 CURL *easy; member in struct:_SockInfo
152 /* Check for completed transfers, and remove their easy handles */
159 CURL *easy; local
165 easy = msg->easy_handle;
167 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
168 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
170 curl_multi_remove_handle(g->multi, easy);
252 addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) argument
[all...]
/external/libbrillo/brillo/http/
H A Dhttp_transport_curl.cc323 int Transport::MultiSocketCallback(CURL* easy, argument
337 transport->poll_data_map_.emplace(std::make_pair(easy, s), poll_data);
348 transport->poll_data_map_.erase(std::make_pair(easy, s));
/external/curl/lib/
H A Deasy.c341 * easy handle that is returned. If anything goes wrong, NULL is returned.
370 * easy handle.
466 static int events_socket(struct Curl_easy *easy, /* easy handle */ argument
479 (void) easy;
496 infof(easy, "socket cb: socket %d REMOVED\n", s);
502 infof(easy, "socket cb: socket %d UPDATED as %s%s\n", s,
526 infof(easy, "socket cb: socket %d ADDED as %s%s\n", s,
729 * CONCEPT: This function creates a multi handle, adds the easy handle to it,
731 * easy handl
[all...]
H A Dssh.c476 static int sshkeycallback(struct Curl_easy *easy, argument
482 (void)easy;
H A Dmulti.c148 /* changing to COMPLETED means there's one less easy handle 'alive' */
167 struct Curl_easy *easy; member in struct:Curl_sh_entry
204 check->easy = data;
327 /* allocate a new easy handle to use when closing cached connections */
370 /* Verify that we got a somewhat good easy handle too */
374 /* Prevent users from adding same easy handle more than once and prevent
379 /* Allocate and initialize timeout list for easy handle */
386 * modification of easy nor multi handle allowed before this except for
391 /* Make easy handle use timeout list initialized above */
395 /* set the easy handl
659 struct Curl_easy *easy = data; local
[all...]
/external/curl/src/
H A Dtool_cfgable.h33 CURL *easy; /* A copy of the handle from GlobalConfig */ member in struct:OperationConfig
244 CURL *easy; /* Once we have one, we keep it here */ member in struct:GlobalConfig
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 841 milliseconds

12