/third_party/curl/docs/examples/ |
D | sepheaders.c | 40 CURL *curl_handle; in main() local 49 curl_handle = curl_easy_init(); in main() 52 curl_easy_setopt(curl_handle, CURLOPT_URL, "https://example.com"); in main() 55 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); in main() 58 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main() 63 curl_easy_cleanup(curl_handle); in main() 70 curl_easy_cleanup(curl_handle); in main() 76 curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, headerfile); in main() 79 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile); in main() 82 curl_easy_perform(curl_handle); in main() [all …]
|
D | url2file.c | 40 CURL *curl_handle; in main() local 52 curl_handle = curl_easy_init(); in main() 55 curl_easy_setopt(curl_handle, CURLOPT_URL, argv[1]); in main() 58 curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L); in main() 61 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); in main() 64 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main() 71 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, pagefile); in main() 74 curl_easy_perform(curl_handle); in main() 81 curl_easy_cleanup(curl_handle); in main()
|
D | chkspeed.c | 65 CURL *curl_handle; in main() local 151 curl_handle = curl_easy_init(); in main() 154 curl_easy_setopt(curl_handle, CURLOPT_URL, url); in main() 157 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteCallback); in main() 161 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, in main() 165 res = curl_easy_perform(curl_handle); in main() 171 res = curl_easy_getinfo(curl_handle, CURLINFO_SIZE_DOWNLOAD_T, &val); in main() 176 res = curl_easy_getinfo(curl_handle, CURLINFO_TOTAL_TIME_T, &val); in main() 182 res = curl_easy_getinfo(curl_handle, CURLINFO_SPEED_DOWNLOAD_T, &val); in main() 189 res = curl_easy_getinfo(curl_handle, CURLINFO_NAMELOOKUP_TIME_T, &val); in main() [all …]
|
D | getinmemory.c | 62 CURL *curl_handle; in main() local 73 curl_handle = curl_easy_init(); in main() 76 curl_easy_setopt(curl_handle, CURLOPT_URL, "https://www.example.com/"); in main() 79 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); in main() 82 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); in main() 86 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0"); in main() 89 res = curl_easy_perform(curl_handle); in main() 108 curl_easy_cleanup(curl_handle); in main()
|
D | multi-uv.c | 41 CURLM *curl_handle; variable 92 curl_multi_add_handle(curl_handle, handle); in add_download() 104 while((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info() 118 curl_multi_remove_handle(curl_handle, easy_handle); in check_multi_info() 145 curl_multi_socket_action(curl_handle, context->sockfd, flags, in curl_perform() 154 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, in on_timeout() 186 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket() 199 curl_multi_assign(curl_handle, s, NULL); in handle_socket() 223 curl_handle = curl_multi_init(); in main() 224 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTION, handle_socket); in main() [all …]
|
D | multi-event.c | 34 CURLM *curl_handle; variable 82 curl_multi_add_handle(curl_handle, handle); in add_download() 94 while((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info() 108 curl_multi_remove_handle(curl_handle, easy_handle); in check_multi_info() 135 curl_multi_socket_action(curl_handle, context->sockfd, flags, in curl_perform() 144 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, in on_timeout() 180 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket() 199 curl_multi_assign(curl_handle, s, NULL); in handle_socket() 222 curl_handle = curl_multi_init(); in main() 223 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTION, handle_socket); in main() [all …]
|
D | xmlstream.c | 115 CURL *curl_handle; in main() local 132 curl_handle = curl_easy_init(); in main() 133 curl_easy_setopt(curl_handle, CURLOPT_URL, in main() 135 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, parseStreamCallback); in main() 136 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)parser); in main() 141 res = curl_easy_perform(curl_handle); in main() 162 curl_easy_cleanup(curl_handle); in main()
|
/third_party/libuv/docs/code/uvwget/ |
D | main.c | 8 CURLM *curl_handle; variable 54 curl_multi_add_handle(curl_handle, handle); in add_download() 63 while ((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info() 70 curl_multi_remove_handle(curl_handle, message->easy_handle); in check_multi_info() 93 curl_multi_socket_action(curl_handle, context->sockfd, flags, &running_handles); in curl_perform() 99 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, &running_handles); in on_timeout() 117 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket() 132 curl_multi_assign(curl_handle, s, NULL); in handle_socket() 155 curl_handle = curl_multi_init(); in main() 156 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTION, handle_socket); in main() [all …]
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
D | proxy.c | 164 CURL *curl_handle; member 428 if(CURLE_OK != (ret = curl_easy_pause(proxy->curl_handle, CURLPAUSE_CONT))) in spdy_post_data_cb() 489 if(CURLM_OK != (ret = curl_multi_remove_handle(multi_handle, proxy->curl_handle))) in cleanup() 498 curl_easy_cleanup(proxy->curl_handle); in cleanup() 916 if(NULL == (proxy->curl_handle = curl_easy_init())) in standard_request_handler() 923 CURL_SETOPT(proxy->curl_handle, CURLOPT_VERBOSE, 1); in standard_request_handler() 929 CURL_SETOPT(proxy->curl_handle, CURLOPT_POST, 1); in standard_request_handler() 930 CURL_SETOPT(proxy->curl_handle, CURLOPT_READFUNCTION, curl_read_cb); in standard_request_handler() 931 CURL_SETOPT(proxy->curl_handle, CURLOPT_READDATA, proxy); in standard_request_handler() 935 CURL_SETOPT(proxy->curl_handle, CURLOPT_TIMEOUT, glob_opt.timeout); in standard_request_handler() [all …]
|
/third_party/curl/include/curl/ |
D | multi.h | 137 CURL *curl_handle); 147 CURL *curl_handle);
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlhttpsrc.c | 915 if (src->curl_handle == NULL) { in gst_curl_http_src_handle_seek() 998 src->curl_handle = gst_curl_http_src_create_easy_handle (src); in gst_curl_http_src_create() 999 if (src->curl_handle == NULL) { in gst_curl_http_src_create() 1389 if (curl_easy_getinfo (src->curl_handle, CURLINFO_TOTAL_TIME, in gst_curl_http_src_handle_response() 1398 if (curl_easy_getinfo (src->curl_handle, CURLINFO_OS_ERRNO, in gst_curl_http_src_handle_response() 1433 if (curl_easy_getinfo (src->curl_handle, CURLINFO_EFFECTIVE_URL, in gst_curl_http_src_handle_response() 1453 if (curl_easy_getinfo (src->curl_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, in gst_curl_http_src_handle_response() 1561 if (src->curl_handle != NULL) { in gst_curl_http_src_destroy_easy_handle() 1562 curl_easy_cleanup (src->curl_handle); in gst_curl_http_src_destroy_easy_handle() 1563 src->curl_handle = NULL; in gst_curl_http_src_destroy_easy_handle() [all …]
|
D | gstcurlqueue.c | 181 while (this_qelement && (this_qelement->p->curl_handle != handle)) { in gst_curl_http_src_remove_queue_handle()
|
D | gstcurlhttpsrc.h | 215 CURL *curl_handle; member
|
/third_party/curl/packages/OS400/ |
D | curl.inc.in | 2767 d curl_handle * value CURL * 2773 d curl_handle * value CURL *
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 42380 5. leak of curl_handle if URI not set
|