Home
last modified time | relevance | path

Searched refs:multi_handle (Results 1 – 19 of 19) sorted by relevance

/external/libbrillo/brillo/http/
Dcurl_api.cc129 CURLMcode CurlApi::MultiCleanup(CURLM* multi_handle) { in MultiCleanup() argument
130 return curl_multi_cleanup(multi_handle); in MultiCleanup()
133 CURLMsg* CurlApi::MultiInfoRead(CURLM* multi_handle, int* msgs_in_queue) { in MultiInfoRead() argument
134 return curl_multi_info_read(multi_handle, msgs_in_queue); in MultiInfoRead()
137 CURLMcode CurlApi::MultiAddHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiAddHandle() argument
138 return curl_multi_add_handle(multi_handle, curl_handle); in MultiAddHandle()
141 CURLMcode CurlApi::MultiRemoveHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiRemoveHandle() argument
142 return curl_multi_remove_handle(multi_handle, curl_handle); in MultiRemoveHandle()
145 CURLMcode CurlApi::MultiSetSocketCallback(CURLM* multi_handle, in MultiSetSocketCallback() argument
149 curl_multi_setopt(multi_handle, CURLMOPT_SOCKETFUNCTION, socket_callback); in MultiSetSocketCallback()
[all …]
Dcurl_api.h78 virtual CURLMcode MultiCleanup(CURLM* multi_handle) = 0;
81 virtual CURLMsg* MultiInfoRead(CURLM* multi_handle, int* msgs_in_queue) = 0;
84 virtual CURLMcode MultiAddHandle(CURLM* multi_handle, CURL* curl_handle) = 0;
87 virtual CURLMcode MultiRemoveHandle(CURLM* multi_handle,
92 CURLM* multi_handle,
98 CURLM* multi_handle,
103 virtual CURLMcode MultiAssign(CURLM* multi_handle,
108 virtual CURLMcode MultiSocketAction(CURLM* multi_handle,
117 virtual CURLMcode MultiPerform(CURLM* multi_handle,
121 virtual CURLMcode MultiWait(CURLM* multi_handle,
[all …]
/external/google-breakpad/src/third_party/curl/
Dmulti.h109 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
119 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
131 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
153 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
166 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
196 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
253 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
256 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
261 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
280 CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle,
[all …]
/external/curl/docs/examples/
Dmulti-single.c52 CURLM *multi_handle; in main() local
65 multi_handle = curl_multi_init(); in main()
68 curl_multi_add_handle(multi_handle, http_handle); in main()
71 curl_multi_perform(multi_handle, &still_running); in main()
78 mc = curl_multi_wait(multi_handle, NULL, 0, 1000, &numfds); in main()
99 curl_multi_perform(multi_handle, &still_running); in main()
102 curl_multi_remove_handle(multi_handle, http_handle); in main()
106 curl_multi_cleanup(multi_handle); in main()
Dmulti-double.c43 CURLM *multi_handle; in main() local
57 multi_handle = curl_multi_init(); in main()
60 curl_multi_add_handle(multi_handle, http_handle); in main()
61 curl_multi_add_handle(multi_handle, http_handle2); in main()
64 curl_multi_perform(multi_handle, &still_running); in main()
86 curl_multi_timeout(multi_handle, &curl_timeo); in main()
96 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
132 curl_multi_perform(multi_handle, &still_running); in main()
137 curl_multi_cleanup(multi_handle); in main()
Dhttp2-serverpush.c204 CURLM *multi_handle; in main() local
210 multi_handle = curl_multi_init(); in main()
218 curl_multi_add_handle(multi_handle, easy); in main()
220 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
221 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main()
222 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main()
225 curl_multi_perform(multi_handle, &still_running); in main()
247 curl_multi_timeout(multi_handle, &curl_timeo); in main()
257 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
293 curl_multi_perform(multi_handle, &still_running); in main()
[all …]
Dmulti-post.c37 CURLM *multi_handle; in main() local
68 multi_handle = curl_multi_init(); in main()
73 if(curl && multi_handle) { in main()
82 curl_multi_add_handle(multi_handle, curl); in main()
84 curl_multi_perform(multi_handle, &still_running); in main()
106 curl_multi_timeout(multi_handle, &curl_timeo); in main()
116 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
153 curl_multi_perform(multi_handle, &still_running); in main()
159 curl_multi_cleanup(multi_handle); in main()
Dmulti-app.c49 CURLM *multi_handle; in main() local
68 multi_handle = curl_multi_init(); in main()
72 curl_multi_add_handle(multi_handle, handles[i]); in main()
75 curl_multi_perform(multi_handle, &still_running); in main()
97 curl_multi_timeout(multi_handle, &curl_timeo); in main()
107 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
142 curl_multi_perform(multi_handle, &still_running); in main()
148 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in main()
170 curl_multi_cleanup(multi_handle); in main()
Dmulti-debugcallback.c129 CURLM *multi_handle; in main() local
142 multi_handle = curl_multi_init(); in main()
145 curl_multi_add_handle(multi_handle, http_handle); in main()
148 curl_multi_perform(multi_handle, &still_running); in main()
170 curl_multi_timeout(multi_handle, &curl_timeo); in main()
180 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
218 curl_multi_perform(multi_handle, &still_running); in main()
223 curl_multi_cleanup(multi_handle); in main()
Dhttp2-download.c187 CURLM *multi_handle; in main() local
199 multi_handle = curl_multi_init(); in main()
207 curl_multi_add_handle(multi_handle, easy[i]); in main()
210 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
213 curl_multi_perform(multi_handle, &still_running); in main()
235 curl_multi_timeout(multi_handle, &curl_timeo); in main()
245 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
281 curl_multi_perform(multi_handle, &still_running); in main()
286 curl_multi_cleanup(multi_handle); in main()
Dhttp2-upload.c243 CURLM *multi_handle; in main() local
260 multi_handle = curl_multi_init(); in main()
268 curl_multi_add_handle(multi_handle, easy[i]); in main()
271 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
274 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 1L); in main()
277 curl_multi_perform(multi_handle, &still_running); in main()
299 curl_multi_timeout(multi_handle, &curl_timeo); in main()
309 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
345 curl_multi_perform(multi_handle, &still_running); in main()
350 curl_multi_cleanup(multi_handle); in main()
Dfopen.c91 CURLM *multi_handle; variable
156 curl_multi_timeout(multi_handle, &curl_timeo); in fill_buffer()
166 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in fill_buffer()
203 curl_multi_perform(multi_handle, &file->still_running); in fill_buffer()
258 if(!multi_handle) in url_fopen()
259 multi_handle = curl_multi_init(); in url_fopen()
261 curl_multi_add_handle(multi_handle, file->handle.curl); in url_fopen()
264 curl_multi_perform(multi_handle, &file->still_running); in url_fopen()
270 curl_multi_remove_handle(multi_handle, file->handle.curl); in url_fopen()
294 curl_multi_remove_handle(multi_handle, file->handle.curl); in url_fclose()
[all …]
/external/curl/tests/libtest/
Dlib1531.c36 CURLM *multi_handle; in test() local
45 multi_handle = curl_multi_init(); in test()
48 curl_multi_add_handle(multi_handle, easy); in test()
57 curl_multi_perform(multi_handle, &still_running); in test()
79 curl_multi_timeout(multi_handle, &curl_timeo); in test()
89 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
124 curl_multi_perform(multi_handle, &still_running); in test()
130 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in test()
137 curl_multi_cleanup(multi_handle); in test()
Dlib560.c43 CURLM *multi_handle = NULL; in test() local
63 multi_init(multi_handle); in test()
66 multi_add_handle(multi_handle, http_handle); in test()
69 multi_perform(multi_handle, &still_running); in test()
90 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
99 multi_perform(multi_handle, &still_running); in test()
108 curl_multi_cleanup(multi_handle); in test()
/external/curl/include/curl/
Dmulti.h132 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
142 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
154 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
168 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
190 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
203 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
233 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
290 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
293 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
298 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
[all …]
/external/curl/tests/data/
Dtest113576 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
77 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
78 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
79 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
80 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
81 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
82 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
84 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
85 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
86 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
[all …]
/external/libmicrohttpd/src/spdy2http/
Dproxy.c147 static CURLM *multi_handle; variable
489 if(CURLM_OK != (ret = curl_multi_remove_handle(multi_handle, proxy->curl_handle))) in cleanup()
952 if(CURLM_OK != (ret = curl_multi_add_handle(multi_handle, proxy->curl_handle))) in standard_request_handler()
960 if(CURLM_OK != (ret = curl_multi_perform(multi_handle, &still_running)) in standard_request_handler()
1070 multi_handle = curl_multi_init(); in run()
1071 if(NULL==multi_handle) in run()
1091 if(CURLM_OK != (ret_curl = curl_multi_timeout(multi_handle, &timeout_curl))) in run()
1110 if(CURLM_OK != (ret = curl_multi_fdset(multi_handle, &rs, in run()
1144 if(CURLM_OK != (ret = curl_multi_perform(multi_handle, &still_running)) in run()
1155 while ((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in run()
[all …]
/external/curl/packages/OS400/
Dcurl.inc.in2186 d multi_handle * value CURLM *
2192 d multi_handle * value CURLM *
2198 d multi_handle * value CURLM *
2207 d multi_handle * value CURLM *
2216 d multi_handle * value CURLM *
2223 d multi_handle * value CURLM *
2227 d multi_handle * value CURLM *
2247 d multi_handle * value CURLM *
2255 d multi_handle * value CURLM *
2264 d multi_handle * value CURLM *
[all …]
/external/curl/
DCHANGES.06182 CURLMcode curl_multi_assign(CURLM *multi_handle,