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

1 2 3 4 5 67 8 91011>>

  /external/curl/tests/libtest/
lib652.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
30 CURL *curl = NULL; local
48 curl = curl_easy_init();
49 if(!curl) {
56 mime = curl_mime_init(curl);
97 test_setopt(curl, CURLOPT_URL, URL);
100 test_setopt(curl, CURLOPT_MAIL_FROM, "somebody@example.com");
103 test_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
106 test_setopt(curl, CURLOPT_MIMEPOST, mime)
    [all...]
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...]
lib1535.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
30 CURL *curl, *dupe = NULL; local
36 easy_init(curl);
41 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol);
54 easy_setopt(curl, CURLOPT_URL, URL);
56 res = curl_easy_perform(curl);
66 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol);
83 dupe = curl_easy_duphandle(curl);
108 curl_easy_reset(curl);
    [all...]
lib1536.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
30 CURL *curl, *dupe = NULL; local
36 easy_init(curl);
41 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
54 easy_setopt(curl, CURLOPT_URL, URL);
56 res = curl_easy_perform(curl);
66 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
84 dupe = curl_easy_duphandle(curl);
109 curl_easy_reset(curl);
    [all...]
lib1554.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
25 static void my_lock(CURL *handle, curl_lock_data data,
35 static void my_unlock(CURL *handle, curl_lock_data data, void *useptr)
46 CURL *curl; local
68 curl = curl_easy_init();
69 if(curl) {
70 curl_easy_setopt(curl, CURLOPT_URL, URL);
73 curl_easy_setopt(curl, CURLOPT_SHARE, share);
76 res = curl_easy_perform(curl);
    [all...]
lib1506.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
35 CURL *curl[NUM_HANDLES] = {0}; local
71 easy_init(curl[i]);
77 easy_setopt(curl[i], CURLOPT_URL, target_url);
79 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L);
81 easy_setopt(curl[i], CURLOPT_HEADER, 1L);
83 easy_setopt(curl[i], CURLOPT_RESOLVE, slist);
90 multi_add_handle(m, curl[i]);
127 curl_multi_remove_handle(m, curl[i])
    [all...]
lib554.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
69 CURL *curl; local
166 curl = curl_easy_init();
167 if(!curl) {
175 test_setopt(curl, CURLOPT_URL, URL);
178 test_setopt(curl, CURLOPT_POST, 1L);
181 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
184 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
187 test_setopt(curl, CURLOPT_HTTPPOST, formpost)
    [all...]
  /external/curl/docs/cmdline-opts/
expect100-timeout.d 8 Maximum time in seconds that you allow curl to wait for a 100-continue
9 response when curl emits an Expects: 100-continue header in its request. By
10 default curl will wait one second. This option accepts decimal values! When
11 curl stops waiting, it will continue as if the response has been received.
no-sessionid.d 6 Disable curl's use of SSL session-ID caching. By default all transfers are
compressed.d 5 Request a compressed response using one of the algorithms curl supports, and
7 an unsupported encoding, curl will report an error.
ftp-skip-pasv-ip.d 7 Tell curl to not use the IP address the server suggests in its response
8 to curl's PASV command when curl connects the data connection. Instead curl
  /external/curl/lib/
curl_memrchr.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
25 #include <curl/curl.h>
curl_path.h 12 * are also available at https://curl.haxx.se/docs/copyright.html.
24 #include <curl/curl.h>
  /external/curl/src/macos/src/
macos_main.cpp 25 /* ========================================================================= Copyright (C) 2001 Eric Lavigne Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: - The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from defects in it. - The origin of this software must not be misrepresented, either by explicit claim or by omission. - You are allowed to distributed modified copies of the software, in source and binary form, provided they are marked plainly as altered versions, and are not misrepresented as being the original software. ========================================================================= */ #include <stdlib.h> #include <string.h> #include <stdio.h> #include <Memory.h> #include <GUSICommandLine.h> #include <stdlib.h> /* ========================================================================= */ DECLARE_MAIN(curl) REGISTER_MAIN_START REGISTER_MAIN(curl) REGISTER_MAIN_END /* ========================================================================= * (…)
  /test/vti/test_serving/gae/testing/
test-endpoint.sh 3 curl -H "Content-Type: application/json" -X POST -d '{"devices": [{"serial": "123", "product": "myfish", "serial": "myserial", "status": 1}], "hostname": "hc1"}' https://vtslab-schedule-prod.appspot.com/_ah/api/host_info/v1/set
5 curl -H "Content-Type: application/json" -X POST -d '{"manifest_branch": "master", "build_id": "a2131", "build_target": "sailfish", "build_type": "userdebug"}' https://vtslab-schedule-prod.appspot.com/_ah/api/build_info/v1/set
7 curl -H "Content-Type: application/json" -X POST -d '{"device": [{"index": 1}], "host_name": "hc1"}' https://vtslab-schedule-prod.appspot.com/_ah/api/host_info/v1/set
9 curl -H "Content-Type: application/json" -X POST -d '{"hostname": "vtslab-mtv43-2"}' https://vtslab-schedule-prod.appspot.com/_ah/api/job_queue/v1/get
  /external/curl/docs/examples/
curlgtk.c 18 #include <curl/curl.h>
47 CURL *curl; local
52 curl = curl_easy_init();
53 if(curl) {
54 const char *filename = "test.curl";
57 curl_easy_setopt(curl, CURLOPT_URL, url);
58 curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile);
59 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_write_func)
    [all...]
smtp-multi.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
105 CURL *curl; local
116 curl = curl_easy_init();
117 if(!curl)
125 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com");
133 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM);
140 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients)
    [all...]
threaded-ssl.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
41 #include <curl/curl.h>
120 CURL *curl; local
122 curl = curl_easy_init();
123 curl_easy_setopt(curl, CURLOPT_URL, url);
126 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
127 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
128 curl_easy_perform(curl); /* ignores error *
    [all...]
debug.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
85 int my_trace(CURL *handle, curl_infotype type,
126 CURL *curl; local
132 curl = curl_easy_init();
133 if(curl) {
134 curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace);
135 curl_easy_setopt(curl, CURLOPT_DEBUGDATA, &config)
    [all...]
htmltidy.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
33 #include <curl/curl.h>
35 /* curl write callback, to fill tidy's input buffer... */
77 CURL *curl; local
84 curl = curl_easy_init();
85 curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
86 curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_errbuf);
87 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L)
    [all...]
  /external/curl/src/
tool_writeout.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
107 void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo)
143 curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &stringp))
149 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &longinfo))
154 curl_easy_getinfo(curl, CURLINFO_HTTP_CONNECTCODE,
160 curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &longinfo))
165 curl_easy_getinfo(curl, CURLINFO_REQUEST_SIZE, &longinfo))
170 curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &longinfo))
175 curl_easy_getinfo(curl, CURLINFO_REDIRECT_COUNT, &longinfo)
    [all...]
tool_operate.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
84 CURLcode curl_easy_perform_ev(CURL *easy);
96 "More details here: https://curl.haxx.se/docs/sslcerts.html\n\n" \
97 "curl failed to verify the legitimacy of the server and therefore " \
264 CURL *curl = config->easy; local
296 /* On WIN32 we can't set the path to curl-ca-bundle.crt
350 result = FindWin32CACert(config, "curl-ca-bundle.crt");
693 this_url = add_file_name_to_url(curl, this_url, uploadfile);
860 my_setopt(curl, CURLOPT_TCP_NODELAY, 0L)
    [all...]
tool_operhlp.h 14 * are also available at https://curl.haxx.se/docs/copyright.html.
34 char *add_file_name_to_url(CURL *curl, char *url, const char *filename);
  /external/libmicrohttpd/src/testcurl/
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...]
  /external/libbrillo/brillo/http/
curl_api.h 8 #include <curl/curl.h>
25 virtual CURL* EasyInit() = 0;
28 virtual void EasyCleanup(CURL* curl) = 0;
31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0;
32 virtual CURLcode EasySetOptStr(CURL* curl,
35 virtual CURLcode EasySetOptPtr(CURL* curl
    [all...]

Completed in 684 milliseconds

1 2 3 4 5 67 8 91011>>