/curl/tests/unit/ |
H A D | unit1652.c | 37 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 D | unit1395.c | 27 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 D | unit1621.c | 50 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 D | unit1620.c | 44 const char *input, in test_parse() argument 52 CURLcode rc = Curl_parse_login_details(input, strlen(input), in test_parse()
|
H A D | unit1604.c | 76 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 D | lib517.c | 29 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 D | curl_get_line.c | 39 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 D | idn.h | 32 CURLcode Curl_idn_decode(const char *input, char **output); 33 CURLcode Curl_idn_encode(const char *input, char **output);
|
H A D | idn.c | 255 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 D | mprintf.c | 174 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 D | urlapi.c | 902 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 D | curl_get_line.h | 30 int Curl_get_line(struct dynbuf *buf, FILE *input);
|
/curl/src/ |
H A D | tool_ipfs.c | 37 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 D | test1559 | 39 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 D | test399 | 18 <file name="%LOGDIR/input%TESTNUM"> 22 -K %LOGDIR/input%TESTNUM
|
H A D | test783 | 49 <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 D | test780 | 48 <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 D | test781 | 49 <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 D | test782 | 49 <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 D | test2205 | 28 <file name="%LOGDIR/input%TESTNUMBER"> 32 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER
|
/curl/packages/vms/ |
H A D | gnv_link_curl.com | 478 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 D | cmp-config.pl | 102 my ($input, $output) = @_; 105 open(F, "<$input");
|
/curl/docs/libcurl/ |
H A D | curl_unescape.md | 26 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 D | curl_easy_unescape.md | 24 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 D | http2-upload.c | 75 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()
|