Home
last modified time | relevance | path

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

12345

/curl/tests/unit/
H A Dunit1652.c39 static char input[4096]; variable
98 msnprintf(input, sizeof(input), "Simple Test");
99 Curl_infof(data, "%s", input);
114 memset(input, '\0', sizeof(input));
115 memset(input, 'A', 2047);
116 Curl_infof(data, "%s", input);
123 memset(input + 2047, 'A', 4);
124 Curl_infof(data, "%s", input);
129 memset(input + 2047, 'A', 4);
136 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.c80 const char *input; member
310 res = sanitize_file_name(&output, data[i].input, data[i].flags);
337 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()
552 optr->input = (unsigned int)param; in parsefmt()
570 optr->input = 0; in parsefmt()
667 struct va_input input[MAX_PARAMETERS]; in formatf() local
[all …]
H A Durlapi.c907 if(*input == '.') { in dedotdotify()
912 input += 2; in dedotdotify()
916 input += 3; in dedotdotify()
922 else if(!strcmp(".", input) || !strcmp("..", input) || in dedotdotify()
923 !strncmp(".?", input, 2) || !strncmp("..?", input, 3)) { in dedotdotify()
935 input += 2; in dedotdotify()
938 else if(!strcmp("/.", input) || !strncmp("/.?", input, 3)) { in dedotdotify()
950 input += 3; in dedotdotify()
960 else if(!strcmp("/..", input) || !strncmp("/..?", input, 4)) { in dedotdotify()
986 } while(*input && (*input != '/') && (*input != '?')); in dedotdotify()
[all …]
H A Dcurl_get_line.h30 int Curl_get_line(struct dynbuf *buf, FILE *input);
H A Dcurl_md4.h34 CURLcode Curl_md4it(unsigned char *output, const unsigned char *input,
H A Dcurl_sha512_256.h39 Curl_sha512_256it(unsigned char *output, const unsigned char *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()
H A Dvar.c214 const char *input = line; in varexpand() local
243 warnf(global, "missing close '}}' in '%s'", input); in varexpand()
257 warnf(global, "bad variable name length '%s'", input); in varexpand()
378 const char *input) in setvariable() argument
385 const char *line = input; in setvariable()
391 if(*input == '%') { in setvariable()
456 warnf(global, "Bad --variable syntax, skipping: %s", input); in setvariable()
/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 Dtest220528 <file name="%LOGDIR/input%TESTNUMBER">
32 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER
H A Dtest47040 <file name="%LOGDIR/input%TESTNUMBER">
44 %HOSTIP:%HTTPPORT --no-progress-meter -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.pl101 my ($input, $output) = @_;
104 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.c74 struct input { struct
136 struct input *i = (struct input *)userp; in my_trace()
187 struct input *i = userp; in read_callback()
193 static void setup(struct input *i, int num, const char *upload) in setup()
269 struct input trans[NUM_HANDLES]; in main()

Completed in 67 milliseconds

12345