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-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()
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-formadd.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()
Dcrawler.c100 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links() argument
133 curl_multi_add_handle(multi_handle, make_handle(link)); in follow_links()
153 CURLM *multi_handle = curl_multi_init(); in main() local
154 curl_multi_setopt(multi_handle, CURLMOPT_MAX_TOTAL_CONNECTIONS, max_con); in main()
155 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 6L); in main()
159 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
163 curl_multi_add_handle(multi_handle, make_handle(start_page)); in main()
171 curl_multi_wait(multi_handle, NULL, 0, 1000, &numfds); in main()
172 curl_multi_perform(multi_handle, &still_running); in main()
176 while((m = curl_multi_info_read(multi_handle, &msgs_left))) { in main()
[all …]
Dhttp2-serverpush.c215 CURLM *multi_handle; in main() local
221 multi_handle = curl_multi_init(); in main()
232 curl_multi_add_handle(multi_handle, easy); in main()
234 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
235 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main()
236 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main()
239 curl_multi_perform(multi_handle, &still_running); in main()
261 curl_multi_timeout(multi_handle, &curl_timeo); in main()
271 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
307 curl_multi_perform(multi_handle, &still_running); in main()
[all …]
Dmulti-post.c37 CURLM *multi_handle; in main() local
46 multi_handle = curl_multi_init(); in main()
48 if(curl && multi_handle) { in main()
78 curl_multi_add_handle(multi_handle, curl); in main()
80 curl_multi_perform(multi_handle, &still_running); in main()
102 curl_multi_timeout(multi_handle, &curl_timeo); in main()
112 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
149 curl_multi_perform(multi_handle, &still_running); in main()
155 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()
Dhttp2-download.c183 CURLM *multi_handle; in main() local
197 multi_handle = curl_multi_init(); in main()
203 curl_multi_add_handle(multi_handle, trans[i].easy); in main()
206 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
209 curl_multi_perform(multi_handle, &still_running); in main()
231 curl_multi_timeout(multi_handle, &curl_timeo); in main()
241 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
277 curl_multi_perform(multi_handle, &still_running); in main()
283 curl_multi_remove_handle(multi_handle, trans[i].easy); in main()
287 curl_multi_cleanup(multi_handle); in main()
Dmulti-debugcallback.c132 CURLM *multi_handle; in main() local
145 multi_handle = curl_multi_init(); in main()
148 curl_multi_add_handle(multi_handle, http_handle); in main()
151 curl_multi_perform(multi_handle, &still_running); in main()
173 curl_multi_timeout(multi_handle, &curl_timeo); in main()
183 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
221 curl_multi_perform(multi_handle, &still_running); in main()
226 curl_multi_cleanup(multi_handle); in main()
Dhttp2-upload.c230 CURLM *multi_handle; in main() local
251 multi_handle = curl_multi_init(); in main()
257 curl_multi_add_handle(multi_handle, trans[i].hnd); in main()
260 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
263 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 1L); in main()
266 curl_multi_perform(multi_handle, &still_running); in main()
288 curl_multi_timeout(multi_handle, &curl_timeo); in main()
298 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main()
334 curl_multi_perform(multi_handle, &still_running); in main()
339 curl_multi_cleanup(multi_handle); in main()
[all …]
Dfopen.c91 static 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()
257 if(!multi_handle) in url_fopen()
258 multi_handle = curl_multi_init(); in url_fopen()
260 curl_multi_add_handle(multi_handle, file->handle.curl); in url_fopen()
263 curl_multi_perform(multi_handle, &file->still_running); in url_fopen()
269 curl_multi_remove_handle(multi_handle, file->handle.curl); in url_fopen()
293 curl_multi_remove_handle(multi_handle, file->handle.curl); in url_fclose()
[all …]
/external/curl/include/curl/
Dmulti.h134 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
144 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
156 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
170 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
192 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
205 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
235 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
292 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
295 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
300 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
[all …]
/external/curl/tests/libtest/
Dlib1531.c36 CURLM *multi_handle; in test() local
50 multi_handle = curl_multi_init(); in test()
53 curl_multi_add_handle(multi_handle, easy); in test()
62 curl_multi_perform(multi_handle, &still_running); in test()
86 curl_multi_timeout(multi_handle, &curl_timeo); in test()
96 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
131 curl_multi_perform(multi_handle, &still_running); in test()
140 msg = curl_multi_info_read(multi_handle, &msgs_left); in test()
150 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/tests/data/
Dtest113590 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
91 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
92 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
93 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
94 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
95 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
96 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
98 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
99 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
100 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
[all …]
/external/curl/packages/OS400/
Dcurl.inc.in2496 d multi_handle * value CURLM *
2502 d multi_handle * value CURLM *
2508 d multi_handle * value CURLM *
2517 d multi_handle * value CURLM *
2526 d multi_handle * value CURLM *
2533 d multi_handle * value CURLM *
2537 d multi_handle * value CURLM *
2557 d multi_handle * value CURLM *
2565 d multi_handle * value CURLM *
2574 d multi_handle * value CURLM *
[all …]