/third_party/curl/docs/examples/ |
D | multi-double.c | 43 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() 66 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 70 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 76 msg = curl_multi_info_read(multi_handle, &queued); in main() 86 curl_multi_remove_handle(multi_handle, http_handle); in main() 87 curl_multi_remove_handle(multi_handle, http_handle2); in main() 89 curl_multi_cleanup(multi_handle); in main()
|
D | multi-single.c | 52 CURLM *multi_handle; in main() local 63 multi_handle = curl_multi_init(); in main() 66 curl_multi_add_handle(multi_handle, http_handle); in main() 69 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 73 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 82 curl_multi_remove_handle(multi_handle, http_handle); in main() 86 curl_multi_cleanup(multi_handle); in main()
|
D | multi-legacy.c | 49 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()
|
D | crawler.c | 100 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links() argument 134 curl_multi_add_handle(multi_handle, make_handle(link)); in follow_links() 154 CURLM *multi_handle = curl_multi_init(); in main() local 155 curl_multi_setopt(multi_handle, CURLMOPT_MAX_TOTAL_CONNECTIONS, max_con); in main() 156 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 6L); in main() 160 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 164 curl_multi_add_handle(multi_handle, make_handle(start_page)); in main() 172 curl_multi_wait(multi_handle, NULL, 0, 1000, &numfds); in main() 173 curl_multi_perform(multi_handle, &still_running); in main() 177 while((m = curl_multi_info_read(multi_handle, &msgs_left))) { in main() [all …]
|
D | multi-formadd.c | 37 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() 85 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 89 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 96 curl_multi_cleanup(multi_handle); in main()
|
D | multi-app.c | 49 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 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 79 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 85 while((msg = curl_multi_info_read(multi_handle, &msgs_left))) { in main() 107 curl_multi_cleanup(multi_handle); in main()
|
D | multi-post.c | 37 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() 81 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 85 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 91 curl_multi_cleanup(multi_handle); in main()
|
D | http2-serverpush.c | 215 CURLM *multi_handle; in main() local 220 multi_handle = curl_multi_init(); in main() 231 curl_multi_add_handle(multi_handle, easy); in main() 233 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 234 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main() 235 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main() 239 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 243 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 256 m = curl_multi_info_read(multi_handle, &msgq); in main() 260 curl_multi_remove_handle(multi_handle, e); in main() [all …]
|
D | http2-download.c | 190 CURLM *multi_handle; in main() local 204 multi_handle = curl_multi_init(); in main() 210 curl_multi_add_handle(multi_handle, trans[i].easy); in main() 213 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 216 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 220 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 227 curl_multi_remove_handle(multi_handle, trans[i].easy); in main() 231 curl_multi_cleanup(multi_handle); in main()
|
D | multi-debugcallback.c | 132 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 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 155 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 162 curl_multi_cleanup(multi_handle); in main()
|
D | http2-upload.c | 247 CURLM *multi_handle; in main() local 268 multi_handle = curl_multi_init(); in main() 274 curl_multi_add_handle(multi_handle, trans[i].hnd); in main() 277 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main() 280 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 1L); in main() 283 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() 287 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 294 curl_multi_cleanup(multi_handle); in main() 297 curl_multi_remove_handle(multi_handle, trans[i].hnd); in main()
|
D | fopen.c | 91 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 …]
|
/third_party/curl/include/curl/ |
D | multi.h | 136 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, 146 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, 158 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, 172 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, 186 CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle, 199 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); 217 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 230 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 260 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 317 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, [all …]
|
/third_party/curl/tests/libtest/ |
D | lib1531.c | 36 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()
|
D | lib560.c | 43 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()
|
/third_party/curl/tests/data/ |
D | test1135 | 90 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_poll(CURLM *multi_handle, 95 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); 96 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 97 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 98 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 100 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, [all …]
|
/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 | 484 klass->multi_task_context.multi_handle = NULL; in gst_curl_http_src_class_init() 794 klass->multi_task_context.multi_handle = curl_multi_init (); in gst_curl_http_src_ref_multi() 796 curl_multi_setopt (klass->multi_task_context.multi_handle, in gst_curl_http_src_ref_multi() 799 curl_multi_setopt (klass->multi_task_context.multi_handle, in gst_curl_http_src_ref_multi() 878 curl_multi_cleanup (klass->multi_task_context.multi_handle); in gst_curl_http_src_unref_multi() 879 klass->multi_task_context.multi_handle = NULL; in gst_curl_http_src_unref_multi() 1989 curl_multi_remove_handle (context->multi_handle, elt->curl_handle); in gst_curl_http_src_curl_multi_loop() 2002 curl_multi_add_handle (context->multi_handle, qelement->p->curl_handle); in gst_curl_http_src_curl_multi_loop() 2036 curl_multi_timeout (context->multi_handle, &curl_timeo); in gst_curl_http_src_curl_multi_loop() 2047 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 | 133 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 | 2766 d multi_handle * value CURLM * 2772 d multi_handle * value CURLM * 2778 d multi_handle * value CURLM * 2787 d multi_handle * value CURLM * 2796 d multi_handle * value CURLM * 2803 d multi_handle * value CURLM * 2807 d multi_handle * value CURLM * 2827 d multi_handle * value CURLM * 2835 d multi_handle * value CURLM * 2844 d multi_handle * value CURLM * [all …]
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 42379 4. curl multi_handle is leaked
|