HomeSort by relevance Sort by last modified time
    Searched refs:CURL (Results 151 - 175 of 288) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/curl/tests/libtest/
lib1531.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
35 CURL *easy;
41 /* Allocate one CURL handle per transfer */
139 /* Free the CURL handles */
lib503.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
40 CURL *c = NULL;
lib504.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
39 CURL *c = NULL;
lib506.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
43 static void my_lock(CURL *handle, curl_lock_data data,
83 static void my_unlock(CURL *handle, curl_lock_data data, void *useptr)
133 CURL *curl; local
136 curl = curl_easy_init();
137 if(!curl) {
143 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
144 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
145 curl_easy_setopt(curl, CURLOPT_URL, tdata->url)
179 CURL *curl; local
    [all...]
lib507.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
32 CURL* curls = NULL;
lib508.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
52 CURL *curl; local
65 if((curl = curl_easy_init()) == NULL) {
72 test_setopt(curl, CURLOPT_URL, URL);
75 test_setopt(curl, CURLOPT_POST, 1L);
79 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
83 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
89 test_setopt(curl, CURLOPT_READDATA, &pooh)
    [all...]
lib510.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
60 CURL *curl; local
71 if((curl = curl_easy_init()) == NULL) {
80 curl_easy_cleanup(curl);
86 test_setopt(curl, CURLOPT_URL, URL);
89 test_setopt(curl, CURLOPT_POST, 1L);
93 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
97 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
100 test_setopt(curl, CURLOPT_READDATA, &pooh)
    [all...]
lib530.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
35 CURL *curl[NUM_HANDLES]; local
43 curl[i] = NULL;
54 easy_init(curl[i]);
58 easy_setopt(curl[i], CURLOPT_URL, target_url);
60 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L);
62 easy_setopt(curl[i], CURLOPT_HEADER, 1L);
68 multi_add_handle(m, curl[handles_added++]);
93 multi_add_handle(m, curl[handles_added++])
    [all...]
lib533.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
37 CURL *curl = NULL; local
46 easy_init(curl);
48 easy_setopt(curl, CURLOPT_URL, URL);
49 easy_setopt(curl, CURLOPT_VERBOSE, 1L);
50 easy_setopt(curl, CURLOPT_FAILONERROR, 1L);
54 multi_add_handle(m, curl);
74 curl_multi_remove_handle(m, curl);
78 curl_easy_reset(curl);
    [all...]
lib539.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 CURL *curl; local
38 if((curl = curl_easy_init()) == NULL) {
45 * Begin with cURL set to use a single CWD to the URL's directory.
47 test_setopt(curl, CURLOPT_URL, URL);
48 test_setopt(curl, CURLOPT_VERBOSE, 1L);
49 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
51 res = curl_easy_perform(curl);
56 * QUOTE command, after which cURL will CWD to ftp_conn->entrypath and the
    [all...]
lib541.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
36 CURL *curl; local
81 /* get a curl handle */
82 if((curl = curl_easy_init()) == NULL) {
90 test_setopt(curl, CURLOPT_UPLOAD, 1L);
93 test_setopt(curl, CURLOPT_VERBOSE, 1L);
96 test_setopt(curl, CURLOPT_URL, URL);
99 test_setopt(curl, CURLOPT_READDATA, hd_src);
102 res = curl_easy_perform(curl);
    [all...]
lib560.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
42 CURL *http_handle = NULL;
lib564.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
35 CURL *curl = NULL; local
43 easy_init(curl);
45 easy_setopt(curl, CURLOPT_URL, URL);
46 easy_setopt(curl, CURLOPT_VERBOSE, 1L);
47 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2);
48 easy_setopt(curl, CURLOPT_PROXYTYPE, (long)CURLPROXY_SOCKS4);
52 multi_add_handle(m, curl);
88 curl_easy_cleanup(curl);
    [all...]
lib573.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
37 CURL *c = NULL;
lib578.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
53 CURL *curl; local
61 if((curl = curl_easy_init()) == NULL) {
68 test_setopt(curl, CURLOPT_URL, URL);
71 test_setopt(curl, CURLOPT_POST, 1L);
75 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
79 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size);
80 test_setopt(curl, CURLOPT_POSTFIELDS, data);
83 test_setopt(curl, CURLOPT_NOPROGRESS, 0L)
    [all...]
lib599.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
44 CURL *curl; local
53 if((curl = curl_easy_init()) == NULL) {
60 test_setopt(curl, CURLOPT_URL, URL);
63 test_setopt(curl, CURLOPT_NOPROGRESS, 0L);
64 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
67 test_setopt(curl, CURLOPT_VERBOSE, 1L);
70 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
73 test_setopt(curl, CURLOPT_HEADER, 1L)
    [all...]
  /external/curl/tests/unit/
unit1396.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
24 CURL *hnd;
  /external/libmicrohttpd/src/testcurl/
test_iplimit.c 30 #include <curl/curl.h>
131 CURL *cenv[3];
138 CURL *c;
222 CURL *cenv[3];
227 CURL *c;
test_termination.c 37 #include <curl/curl.h>
105 CURL *curl = curl_easy_init (); local
106 //curl_easy_setopt(curl, CURLOPT_POST, 1L);
109 curl_easy_setopt (curl, CURLOPT_URL, url);
110 curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, write_data);
112 CURLcode success = curl_easy_perform (curl);
115 fprintf (stderr, "CURL Error");
121 curl_easy_cleanup (curl);
    [all...]
  /system/update_engine/
certificate_checker.h 20 #include <curl/curl.h>
109 static CURLcode ProcessSSLContext(CURL* curl_handle,
  /external/curl/docs/examples/
evhiperfifo.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
70 #include <curl/curl.h>
96 CURL *easy;
107 CURL *easy;
179 CURL *easy;
246 static void setsock(SockInfo*f, curl_socket_t s, CURL*e, int act, GlobalInfo*g)
266 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
276 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
ghiper.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
64 #include <curl/curl.h>
79 CURL *easy;
88 CURL *easy;
122 CURL *easy;
209 static void setsock(SockInfo*f, curl_socket_t s, CURL*e, int act, GlobalInfo*g)
224 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
235 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
htmltitle.cpp 12 * are also available at https://curl.haxx.se/docs/copyright.html.
30 // g++ -Wall -I/opt/curl/include -I/opt/libxml/include/libxml2 htmltitle.cpp \
31 // -o htmltitle -L/opt/curl/lib -L/opt/libxml/lib -lcurl -lxml2
37 #include <curl/curl.h>
87 static bool init(CURL *&conn, char *url)
95 fprintf(stderr, "Failed to create CURL connection\n");
270 CURL *conn = NULL;
285 // Initialize CURL connection
multi-debugcallback.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
34 /* curl stuff */
35 #include <curl/curl.h>
90 int my_trace(CURL *handle, curl_infotype type,
128 CURL *http_handle;
  /external/curl/src/
tool_setopt.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
243 CURLcode tool_setopt_enum(CURL *curl, struct GlobalConfig *config,
250 ret = curl_easy_setopt(curl, tag, lval);
276 CURLcode tool_setopt_flags(CURL *curl, struct GlobalConfig *config,
283 ret = curl_easy_setopt(curl, tag, lval);
318 CURLcode tool_setopt_bitmask(CURL *curl, struct GlobalConfig *config,
326 ret = curl_easy_setopt(curl, tag, lval)
    [all...]

Completed in 1002 milliseconds

1 2 3 4 5 67 8 91011>>