/third_party/curl/docs/examples/ |
D | multi-double.c | 45 CURLM *multi_handle; in main() local 59 multi_handle = curl_multi_init(); in main() 62 curl_multi_add_handle(multi_handle, http_handle); in main() 63 curl_multi_add_handle(multi_handle, http_handle2); in main() 68 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 72 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 78 msg = curl_multi_info_read(multi_handle, &queued); in main() 88 curl_multi_remove_handle(multi_handle, http_handle); in main() 89 curl_multi_remove_handle(multi_handle, http_handle2); in main() 91 curl_multi_cleanup(multi_handle); in main()
|
D | multi-single.c | 45 CURLM *multi_handle; in main() local 56 multi_handle = curl_multi_init(); in main() 59 curl_multi_add_handle(multi_handle, http_handle); in main() 62 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 66 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 75 curl_multi_remove_handle(multi_handle, http_handle); in main() 79 curl_multi_cleanup(multi_handle); in main()
|
D | multi-app.c | 51 CURLM *multi_handle; in main() local 70 multi_handle = curl_multi_init(); in main() 74 curl_multi_add_handle(multi_handle, handles[i]); in main() 77 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 81 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 87 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in main() 111 curl_multi_remove_handle(multi_handle, handles[i]); in main() 115 curl_multi_cleanup(multi_handle); in main()
|
D | multi-legacy.c | 51 CURLM *multi_handle; in main() local 70 multi_handle = curl_multi_init(); in main() 74 curl_multi_add_handle(multi_handle, handles[i]); in main() 77 curl_multi_perform(multi_handle, &still_running); in main() 99 curl_multi_timeout(multi_handle, &curl_timeo); in main() 109 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main() 144 curl_multi_perform(multi_handle, &still_running); in main() 150 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in main() 172 curl_multi_cleanup(multi_handle); in main()
|
D | crawler.c | 120 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links() argument 154 curl_multi_add_handle(multi_handle, make_handle(link)); in follow_links() 174 CURLM *multi_handle = curl_multi_init(); in main() local 175 curl_multi_setopt(multi_handle, CURLMOPT_MAX_TOTAL_CONNECTIONS, max_con); in main() 176 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 6L); in main() 180 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 184 curl_multi_add_handle(multi_handle, make_handle(start_page)); in main() 192 curl_multi_wait(multi_handle, NULL, 0, 1000, &numfds); in main() 193 curl_multi_perform(multi_handle, &still_running); in main() 197 while((m = curl_multi_info_read(multi_handle, &msgs_left))) { in main() [all …]
|
D | http2-serverpush.c | 217 CURLM *multi_handle; in main() local 226 multi_handle = curl_multi_init(); in main() 237 curl_multi_add_handle(multi_handle, easy); in main() 239 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 240 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main() 241 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main() 245 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 249 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 262 m = curl_multi_info_read(multi_handle, &msgq); in main() 266 curl_multi_remove_handle(multi_handle, e); in main() [all …]
|
D | multi-formadd.c | 44 CURLM *multi_handle; in main() local 75 multi_handle = curl_multi_init(); in main() 80 if(curl && multi_handle) { in main() 89 curl_multi_add_handle(multi_handle, curl); in main() 92 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 96 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 103 curl_multi_cleanup(multi_handle); in main()
|
D | multi-post.c | 39 CURLM *multi_handle; in main() local 48 multi_handle = curl_multi_init(); in main() 50 if(curl && multi_handle) { in main() 80 curl_multi_add_handle(multi_handle, curl); in main() 83 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 87 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 93 curl_multi_cleanup(multi_handle); in main()
|
D | http2-download.c | 191 CURLM *multi_handle; in main() local 205 multi_handle = curl_multi_init(); in main() 211 curl_multi_add_handle(multi_handle, trans[i].easy); in main() 214 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 217 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 221 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 228 curl_multi_remove_handle(multi_handle, trans[i].easy); in main() 232 curl_multi_cleanup(multi_handle); in main()
|
D | multi-debugcallback.c | 131 CURLM *multi_handle; in main() local 144 multi_handle = curl_multi_init(); in main() 147 curl_multi_add_handle(multi_handle, http_handle); in main() 150 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 154 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 161 curl_multi_cleanup(multi_handle); in main()
|
D | http2-upload.c | 249 CURLM *multi_handle; in main() local 270 multi_handle = curl_multi_init(); in main() 276 curl_multi_add_handle(multi_handle, trans[i].hnd); in main() 279 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 282 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 1L); in main() 285 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 289 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 296 curl_multi_cleanup(multi_handle); in main() 299 curl_multi_remove_handle(multi_handle, trans[i].hnd); in main()
|
/third_party/curl/include/curl/ |
D | multi.h | 140 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, 150 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, 162 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, 176 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, 190 CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle, 203 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); 221 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 234 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 264 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 322 curl_multi_socket(CURLM *multi_handle, curl_socket_t s, int *running_handles); [all …]
|
/third_party/curl/tests/libtest/ |
D | lib1531.c | 39 CURLM *multi_handle; in test() local 53 multi_handle = curl_multi_init(); in test() 56 curl_multi_add_handle(multi_handle, easy); in test() 65 curl_multi_perform(multi_handle, &still_running); in test() 89 curl_multi_timeout(multi_handle, &curl_timeo); in test() 99 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 134 curl_multi_perform(multi_handle, &still_running); in test() 143 msg = curl_multi_info_read(multi_handle, &msgs_left); in test() 153 curl_multi_cleanup(multi_handle); in test()
|
D | lib560.c | 45 CURLM *multi_handle = NULL; in test() local 65 multi_init(multi_handle); in test() 68 multi_add_handle(multi_handle, http_handle); in test() 71 multi_perform(multi_handle, &still_running); in test() 92 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 101 multi_perform(multi_handle, &still_running); in test() 110 curl_multi_cleanup(multi_handle); in test()
|
/third_party/curl/tests/http/clients/ |
D | h2-serverpush.c | 217 CURLM *multi_handle; in main() local 228 multi_handle = curl_multi_init(); in main() 229 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 230 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main() 231 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main() 239 curl_multi_add_handle(multi_handle, easy); in main() 242 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 246 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 258 m = curl_multi_info_read(multi_handle, &msgq); in main() 262 curl_multi_remove_handle(multi_handle, e); in main() [all …]
|
D | h2-download.c | 184 CURLM *multi_handle; in main() local 232 multi_handle = curl_multi_init(); in main() 233 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 250 curl_multi_add_handle(multi_handle, t->easy); in main() 258 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 262 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 271 m = curl_multi_info_read(multi_handle, &msgq); in main() 275 curl_multi_remove_handle(multi_handle, e); in main() 290 curl_multi_remove_handle(multi_handle, t->easy); in main() 320 curl_multi_add_handle(multi_handle, t->easy); in main() [all …]
|
D | h2-pausing.c | 178 CURLM *multi_handle; in main() local 241 multi_handle = curl_multi_init(); in main() 242 if(!multi_handle) in main() 246 if(curl_multi_add_handle(multi_handle, handles[i].h) != CURLM_OK) in main() 252 if(curl_multi_perform(multi_handle, &still_running) != CURLM_OK) in main() 281 if(curl_multi_poll(multi_handle, NULL, 0, 100, &numfds) != CURLM_OK) in main() 284 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in main() 326 curl_multi_remove_handle(multi_handle, handles[i].h); in main() 335 curl_multi_cleanup(multi_handle); in main()
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
D | proxy.c | 147 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 …]
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlbasesink.c | 952 while ((msg = curl_multi_info_read (sink->multi_handle, &msgs_left))) { in gst_curl_base_sink_transfer_check() 990 m_code = curl_multi_perform (sink->multi_handle, &running_handles); in handle_transfer() 1028 m_code = curl_multi_perform (sink->multi_handle, &running_handles); in handle_transfer() 1252 curl_multi_add_handle (sink->multi_handle, sink->curl); in gst_curl_base_sink_transfer_thread_func() 1262 curl_multi_remove_handle (sink->multi_handle, sink->curl); in gst_curl_base_sink_transfer_thread_func() 1274 curl_multi_remove_handle (sink->multi_handle, sink->curl); in gst_curl_base_sink_transfer_thread_func() 1322 if (sink->multi_handle == NULL) { in gst_curl_base_sink_transfer_setup_unlocked() 1323 if ((sink->multi_handle = curl_multi_init ()) == NULL) { in gst_curl_base_sink_transfer_setup_unlocked() 1337 if (sink->multi_handle != NULL) { in gst_curl_base_sink_transfer_cleanup() 1338 curl_multi_remove_handle (sink->multi_handle, sink->curl); in gst_curl_base_sink_transfer_cleanup() [all …]
|
D | gstcurlhttpsrc.c | 510 klass->multi_task_context.multi_handle = NULL; in gst_curl_http_src_class_init() 847 klass->multi_task_context.multi_handle = curl_multi_init (); in gst_curl_http_src_ref_multi() 849 curl_multi_setopt (klass->multi_task_context.multi_handle, in gst_curl_http_src_ref_multi() 852 curl_multi_setopt (klass->multi_task_context.multi_handle, in gst_curl_http_src_ref_multi() 931 curl_multi_cleanup (klass->multi_task_context.multi_handle); in gst_curl_http_src_unref_multi() 932 klass->multi_task_context.multi_handle = NULL; in gst_curl_http_src_unref_multi() 2104 curl_multi_remove_handle (context->multi_handle, elt->curl_handle); in gst_curl_http_src_curl_multi_loop() 2117 curl_multi_add_handle (context->multi_handle, qelement->p->curl_handle); in gst_curl_http_src_curl_multi_loop() 2151 curl_multi_timeout (context->multi_handle, &curl_timeo); in gst_curl_http_src_curl_multi_loop() 2162 curl_multi_fdset (context->multi_handle, &fdread, &fdwrite, &fdexcep, in gst_curl_http_src_curl_multi_loop() [all …]
|
D | gstcurlbasesink.h | 66 CURLM *multi_handle; member
|
D | gstcurlhttpsrc.h | 145 CURLM *multi_handle; member
|
D | gstcurlhttpsink.c | 458 curl_multi_remove_handle (bcsink->multi_handle, bcsink->curl); in gst_curl_http_sink_transfer_prepare_poll_wait() 460 curl_multi_add_handle (bcsink->multi_handle, bcsink->curl); in gst_curl_http_sink_transfer_prepare_poll_wait()
|
/third_party/curl/packages/OS400/ |
D | curl.inc.in | 2938 d multi_handle * value CURLM * 2944 d multi_handle * value CURLM * 2950 d multi_handle * value CURLM * 2959 d multi_handle * value CURLM * 2968 d multi_handle * value CURLM * 2975 d multi_handle * value CURLM * 2979 d multi_handle * value CURLM * 2999 d multi_handle * value CURLM * 3007 d multi_handle * value CURLM * 3016 d multi_handle * value CURLM * [all …]
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 42379 4. curl multi_handle is leaked
|