Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 125) sorted by relevance

12345

/curl/tests/unit/
H A Dunit1652.c37 static char input[4096]; variable
105 msnprintf(input, sizeof(input), "Simple Test");
106 Curl_infof(testdata, "%s", input);
121 memset(input, '\0', sizeof(input));
122 memset(input, 'A', 2047);
123 Curl_infof(testdata, "%s", input);
130 memset(input + 2047, 'A', 4);
131 Curl_infof(testdata, "%s", input);
136 memset(input + 2047, 'A', 4);
143 memset(input, '\0', sizeof(input));
[all …]
H A Dunit1395.c27 extern int dedotdotify(const char *input, size_t clen, char **out);
42 const char *input; member
82 int err = dedotdotify(pairs[i].input, strlen(pairs[i].input), &out);
88 i, pairs[i].input, out, pairs[i].output);
95 i, pairs[i].input, out ? out : "(null)",
H A Dunit1621.c50 const char *input;
69 for(i = 0; tests[i].input; i++) {
70 const char *url = tests[i].input;
73 i, tests[i].input, stripped);
H A Dunit1620.c44 const char *input, in test_parse() argument
52 CURLcode rc = Curl_parse_login_details(input, strlen(input), in test_parse()
H A Dunit1604.c76 const char *input; member
220 res = sanitize_file_name(&output, data[i].input, data[i].flags);
247 data[i].input,
/curl/tests/libtest/
H A Dlib517.c29 const char *input; member
163 for(i = 0; dates[i].input; i++) { in test()
164 time_t out = curl_getdate(dates[i].input, NULL); in test()
167 dates[i].input, (long)out, (long)dates[i].output); in test()
/curl/lib/
H A Dcurl_get_line.c39 int Curl_get_line(struct dynbuf *buf, FILE *input) in Curl_get_line() argument
45 char *b = fgets(buffer, sizeof(buffer), input); in Curl_get_line()
62 else if(feof(input)) { in Curl_get_line()
H A Didn.h32 CURLcode Curl_idn_decode(const char *input, char **output);
33 CURLcode Curl_idn_encode(const char *input, char **output);
H A Didn.c255 static CURLcode idn_decode(const char *input, char **output) in idn_decode() argument
269 int rc = IDN2_LOOKUP(input, &decoded, flags); in idn_decode()
273 rc = IDN2_LOOKUP(input, &decoded, IDN2_TRANSITIONAL); in idn_decode()
281 result = win32_idn_to_ascii(input, &decoded); in idn_decode()
283 result = mac_idn_to_ascii(input, &decoded); in idn_decode()
310 CURLcode Curl_idn_decode(const char *input, char **output) in Curl_idn_decode() argument
313 CURLcode result = idn_decode(input, &d); in Curl_idn_decode()
H A Dmprintf.c174 static int dollarstring(char *input, char **end) in dollarstring() argument
176 if(ISDIGIT(*input)) { in dollarstring()
181 number += *input - '0'; in dollarstring()
183 input++; in dollarstring()
184 } while(ISDIGIT(*input)); in dollarstring()
187 *end = ++input; in dollarstring()
253 optr->input = 0; in parsefmt()
567 optr->input = (unsigned int)param; in parsefmt()
585 optr->input = 0; in parsefmt()
682 struct va_input input[MAX_PARAMETERS]; in formatf() local
[all …]
H A Durlapi.c902 if(*input == '.') { in dedotdotify()
907 input += 2; in dedotdotify()
911 input += 3; in dedotdotify()
917 else if(!strcmp(".", input) || !strcmp("..", input) || in dedotdotify()
918 !strncmp(".?", input, 2) || !strncmp("..?", input, 3)) { in dedotdotify()
930 input += 2; in dedotdotify()
933 else if(!strcmp("/.", input) || !strncmp("/.?", input, 3)) { in dedotdotify()
945 input += 3; in dedotdotify()
955 else if(!strcmp("/..", input) || !strncmp("/..?", input, 4)) { in dedotdotify()
981 } while(*input && (*input != '/') && (*input != '?')); in dedotdotify()
[all …]
H A Dcurl_get_line.h30 int Curl_get_line(struct dynbuf *buf, FILE *input);
/curl/src/
H A Dtool_ipfs.c37 static CURLcode ensure_trailing_slash(char **input) in ensure_trailing_slash() argument
39 if(*input && **input) { in ensure_trailing_slash()
40 size_t len = strlen(*input); in ensure_trailing_slash()
41 if(((*input)[len - 1] != '/')) { in ensure_trailing_slash()
45 if(curlx_dyn_addn(&dyn, *input, len)) { in ensure_trailing_slash()
46 Curl_safefree(*input); in ensure_trailing_slash()
50 Curl_safefree(*input); in ensure_trailing_slash()
55 *input = curlx_dyn_ptr(&dyn); in ensure_trailing_slash()
/curl/tests/data/
H A Dtest155939 CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
40 CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function)
41 CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
H A Dtest39918 <file name="%LOGDIR/input%TESTNUM">
22 -K %LOGDIR/input%TESTNUM
H A Dtest78349 <file name="%LOGDIR/input%TESTNUMBER">
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
80 <file name="%LOGDIR/input%TESTNUMBER" mode="text">
H A Dtest78048 <file name="%LOGDIR/input%TESTNUMBER">
56 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
78 <file name="%LOGDIR/input%TESTNUMBER" mode="text">
H A Dtest78149 <file name="%LOGDIR/input%TESTNUMBER">
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
80 <file name="%LOGDIR/input%TESTNUMBER" mode="text">
H A Dtest78249 <file name="%LOGDIR/input%TESTNUMBER">
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
80 <file name="%LOGDIR/input%TESTNUMBER" mode="text">
H A Dtest220528 <file name="%LOGDIR/input%TESTNUMBER">
32 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER
/curl/packages/vms/
H A Dgnv_link_curl.com478 sys$input:/opt
491 sys$input:/opt
504 sys$input:/opt
517 sys$input:/opt
530 sys$input:/opt
543 sys$input:/opt
556 sys$input:/opt
569 sys$input:/opt
582 sys$input:/opt
595 sys$input:/opt
[all …]
/curl/.github/scripts/
H A Dcmp-config.pl102 my ($input, $output) = @_;
105 open(F, "<$input");
/curl/docs/libcurl/
H A Dcurl_unescape.md26 char *curl_unescape(const char *input, int length);
33 This function converts the URL encoded string **input** to a "plain string"
34 and return that as a new allocated string. All input characters that are URL
39 strlen() on **input** to find out the size.
H A Dcurl_easy_unescape.md24 char *curl_easy_unescape(CURL *curl, const char *input,
30 This function converts the URL encoded string **input** to a "plain string"
31 and returns that in an allocated memory area. All input characters that are URL
36 uses strlen() on **input** to find out the size.
/curl/docs/examples/
H A Dhttp2-upload.c75 struct input { struct
137 struct input *i = (struct input *)userp; in my_trace()
188 struct input *i = userp; in read_callback()
194 static void setup(struct input *i, int num, const char *upload) in setup()
270 struct input trans[NUM_HANDLES]; in main()

Completed in 27 milliseconds

12345