/external/curl/tests/libtest/ |
lib566.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 CURL *curl; local 38 if((curl = curl_easy_init()) == NULL) { 44 test_setopt(curl, CURLOPT_URL, URL); 45 test_setopt(curl, CURLOPT_HEADER, 1L); 47 res = curl_easy_perform(curl); 51 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, 62 curl_easy_cleanup(curl);
|
lib590.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 26 https://curl.haxx.se/mail/lib-2011-10/0323.html 42 CURL *curl; local 49 if((curl = curl_easy_init()) == NULL) { 55 test_setopt(curl, CURLOPT_URL, URL); 56 test_setopt(curl, CURLOPT_HEADER, 1L); 57 test_setopt(curl, CURLOPT_PROXYAUTH, 59 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ 60 test_setopt(curl, CURLOPT_PROXYUSERPWD, "me:password") [all...] |
libauthretry.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 31 static CURLcode send_request(CURL *curl, const char *url, int seq, 45 test_setopt(curl, CURLOPT_URL, full_url); 46 test_setopt(curl, CURLOPT_VERBOSE, 1L); 47 test_setopt(curl, CURLOPT_HEADER, 1L); 48 test_setopt(curl, CURLOPT_HTTPGET, 1L); 49 test_setopt(curl, CURLOPT_USERPWD, userpwd); 50 test_setopt(curl, CURLOPT_HTTPAUTH, auth_scheme); 52 res = curl_easy_perform(curl); 87 CURL *curl = NULL; local [all...] |
lib575.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 40 CURL *handle = NULL; 41 CURL *duphandle = NULL;
|
lib1500.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 32 CURL* curls = NULL;
|
lib1511.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 CURL* curl = NULL; local 34 easy_init(curl); 36 easy_setopt(curl, CURLOPT_URL, URL); 37 easy_setopt(curl, CURLOPT_HEADER, 1L); 38 easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE); 41 easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L); 43 res = curl_easy_perform(curl); 47 curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &unmet) [all...] |
lib1514.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 57 CURL *curl; local 64 easy_init(curl); 66 easy_setopt(curl, CURLOPT_URL, URL); 67 easy_setopt(curl, CURLOPT_POST, 1L); 69 easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); 70 easy_setopt(curl, CURLOPT_READDATA, &pooh); 72 result = curl_easy_perform(curl); 76 curl_easy_cleanup(curl); [all...] |
lib1528.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 CURL *curl = NULL; local 40 if((curl = curl_easy_init()) == NULL) { 53 test_setopt(curl, CURLOPT_URL, URL); 54 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); 55 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); 56 test_setopt(curl, CURLOPT_PROXYHEADER, phl); 57 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); 58 test_setopt(curl, CURLOPT_VERBOSE, 1L) [all...] |
lib502.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 36 CURL *c = NULL;
|
lib513.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 37 CURL *curl; local 45 if((curl = curl_easy_init()) == NULL) { 52 test_setopt(curl, CURLOPT_URL, URL); 55 test_setopt(curl, CURLOPT_POST, 1L); 58 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 1L); 61 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 64 test_setopt(curl, CURLOPT_READDATA, NULL); 67 test_setopt(curl, CURLOPT_VERBOSE, 1L) [all...] |
lib556.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 41 CURL *curl; local 48 if((curl = curl_easy_init()) == NULL) { 54 test_setopt(curl, CURLOPT_URL, URL); 55 test_setopt(curl, CURLOPT_CONNECT_ONLY, 1L); 56 test_setopt(curl, CURLOPT_VERBOSE, 1L); 58 res = curl_easy_perform(curl); 75 res = curl_easy_send(curl, request, strlen(request), &iolen); 83 res = curl_easy_recv(curl, buf, 1024, &iolen) [all...] |
lib567.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 32 CURL *curl; local 40 if((curl = curl_easy_init()) == NULL) { 47 test_setopt(curl, CURLOPT_HEADERDATA, stdout); 48 test_setopt(curl, CURLOPT_WRITEDATA, stdout); 50 test_setopt(curl, CURLOPT_URL, URL); 51 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); 52 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); 53 test_setopt(curl, CURLOPT_USERAGENT, "test567") [all...] |
/external/google-breakpad/src/third_party/curl/ |
multi.h | 14 * are also available at http://curl.haxx.se/docs/copyright.html. 36 o Enable the application to select() on its own file descriptors and curl's 42 * This header file should not really need to include "curl.h" since curl.h 44 * <curl/curl.h> without the need for especially including multi.h. 50 #include "curl.h" 85 CURL *easy_handle; /* the handle it concerns */ 96 * Desc: inititalize multi-style curl usage 105 * Desc: add a standard curl handle to the multi stac [all...] |
/external/curl/docs/examples/ |
multi-double.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 33 /* curl stuff */ 34 #include <curl/curl.h> 41 CURL *http_handle; 42 CURL *http_handle2;
|
fileupload.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 27 #include <curl/curl.h> 33 CURL *curl; local 51 curl = curl_easy_init(); 52 if(curl) { 54 curl_easy_setopt(curl, CURLOPT_URL, 55 "file:///home/dast/src/curl/debug/new"); 58 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L) [all...] |
ftpget.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 24 #include <curl/curl.h> 51 CURL *curl; local 54 "curl.tar.gz", /* name to store the file as if successful */ 60 curl = curl_easy_init(); 61 if(curl) { 65 curl_easy_setopt(curl, CURLOPT_URL, 66 "ftp://ftp.example.com/curl/curl-7.9.2.tar.gz") [all...] |
ftpgetresp.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 24 #include <curl/curl.h> 43 CURL *curl; local 54 curl = curl_easy_init(); 55 if(curl) { 57 curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.example.com/"); 58 curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile); 61 curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, write_response) [all...] |
multi-single.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 34 /* curl stuff */ 35 #include <curl/curl.h> 51 CURL *http_handle;
|
multithread.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 #include <curl/curl.h> 43 "https://curl.haxx.se/", 51 CURL *curl; local 53 curl = curl_easy_init(); 54 curl_easy_setopt(curl, CURLOPT_URL, url); 55 curl_easy_perform(curl); /* ignores error */ 56 curl_easy_cleanup(curl); [all...] |
postit2.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 43 #include <curl/curl.h> 47 CURL *curl; local 79 curl = curl_easy_init(); 83 if(curl) { 85 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi"); 88 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); 89 curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost) [all...] |
sepheaders.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 30 #include <curl/curl.h> 40 CURL *curl_handle; 48 /* init the curl session */ 90 /* cleanup curl stuff */
|
url2file.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 30 #include <curl/curl.h> 40 CURL *curl_handle; 51 /* init the curl session */ 80 /* cleanup curl stuff */
|
/external/curl/src/ |
tool_xattr.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 39 /* mapping table of curl metadata to extended attribute names */ 52 /* store metadata from the curl request alongside the downloaded 55 int fwrite_xattr(CURL *curl, int fd) 63 CURLcode result = curl_easy_getinfo(curl, mappings[i].info, &value); 83 int fwrite_xattr(CURL *curl, int fd) 85 (void)curl;
|
/external/curl/include/curl/ |
typecheck-gcc.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 493 typedef curlioerr (_curl_ioctl_callback1)(CURL *, int, void*); 494 typedef curlioerr (_curl_ioctl_callback2)(CURL *, int, const void*); 495 typedef curlioerr (_curl_ioctl_callback3)(CURL *, curliocmd, void*); 496 typedef curlioerr (_curl_ioctl_callback4)(CURL *, curliocmd, const void*); [all...] |
/external/google-breakpad/src/common/linux/ |
libcurl_wrapper.cc | 183 std::cout << "Curl initialization failed"; 207 CURL*(*)()); 211 CURLcode(*)(CURL*, CURLoption, ...)); 221 CURLcode(*)(CURL*)); 225 void(*)(CURL*)); 229 CURLcode(*)(CURL *, CURLINFO info, ...));
|