/external/libmicrohttpd/src/testcurl/ |
test_get_response_cleanup.c | 73 execlp ("curl", "curl", "-s", "-N", "-o", "/dev/null", "-GET", url, NULL); 75 "Failed to exec curl: %s\n", 85 //fprintf (stderr, "Killing curl\n"); 150 pid_t curl; local 157 curl = fork_curl ("http://127.0.0.1:11080/"); 159 kill_curl (curl); 172 pid_t curl; local 181 //fprintf (stderr, "Forking cURL!\n"); 182 curl = fork_curl ("http://127.0.0.1:1081/") 208 pid_t curl; local 237 pid_t curl; local [all...] |
/external/curl/docs/examples/ |
curlx.c | 88 #include <curl/curl.h> 142 CURL *curl; member in struct:sslctxparm_st 207 curl_easy_setopt(p->curl, CURLOPT_URL, accessinfo); 214 curl_easy_setopt(p->curl, CURLOPT_URL, accessinfo); 231 static CURLcode sslctxfun(CURL *curl, void *sslctx, void *parm) 413 if(!(p.curl = curl_easy_init())) { 414 BIO_printf(p.errorbio, "Cannot init curl lib\n") [all...] |
fopen.c | 19 * reference to original curl example code 58 #include <curl/curl.h> 70 CURL *curl; member in union:fcurl_data::__anon16274 93 /* curl calls this routine to get more data */ 251 file->handle.curl = curl_easy_init(); 253 curl_easy_setopt(file->handle.curl, CURLOPT_URL, url); 254 curl_easy_setopt(file->handle.curl, CURLOPT_WRITEDATA, file); 255 curl_easy_setopt(file->handle.curl, CURLOPT_VERBOSE, 0L) [all...] |
synctime.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 * You can achieve the same result as synctime using curl, awk and date. 33 * # date -s "`curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \ 37 * $ curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \ 93 #include <curl/curl.h> 184 void SyncTime_CURL_Init(CURL *curl, char *proxy_port, 188 curl_easy_setopt(curl, CURLOPT_PROXY, proxy_port); 191 curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, proxy_user_password) 254 CURL *curl; local [all...] |
/external/libbrillo/brillo/http/ |
http_transport_curl.cc | 29 namespace curl { namespace in namespace:brillo::http 31 // This is a class that stores connection data on particular CURL socket 60 // Notify CURL of the action it needs to take on the socket file descriptor. 67 << "CURL should no longer return CURLM_CALL_MULTI_PERFORM here"; 73 // The CURL interface to use. 75 // CURL multi-handle associated with the transport. 102 VLOG(2) << "curl::Transport created"; 108 VLOG(2) << "curl::Transport created with proxy " << proxy; 113 VLOG(2) << "curl::Transport destroyed"; 124 CURL* curl_handle = curl_interface_->EasyInit() [all...] |
/external/curl/src/ |
tool_operate.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 89 CURLcode curl_easy_perform_ev(CURL *easy); 101 "More details here: https://curl.haxx.se/docs/sslcerts.html\n\n" \ 102 "curl performs SSL certificate verification by default, " \ 113 "If you'd like to turn off curl's verification of the certificate, use\n" \ 203 CURL *curl = config->easy; local 235 /* On WIN32 we can't set the path to curl-ca-bundle.crt 289 result = FindWin32CACert(config, "curl-ca-bundle.crt"); 632 this_url = add_file_name_to_url(curl, this_url, uploadfile) [all...] |
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
Main.java | 16 package com.squareup.okhttp.curl; 58 @Command(name = Main.NAME, description = "A curl for the next-generation web.")
|
/external/wpa_supplicant_8/src/utils/ |
http_curl.c | 10 #include <curl/curl.h> 37 CURL *curl; member in struct:http_ctx 64 if (ctx->curl) { 65 curl_easy_cleanup(ctx->curl); 66 ctx->curl = NULL; 116 static int curl_cb_debug(CURL *curl, curl_infotype info, char *buf, size_t len, 1314 CURL *curl; local 1580 CURL *curl; local 1651 CURL *curl; local [all...] |