/curl/src/ |
H A D | tool_urlglob.c | 160 ++pattern; in glob_set() 169 ++pattern; in glob_set() 261 c = pattern; in glob_range() 278 while(*pattern && ISBLANK(*pattern)) in glob_range() 385 while(*pattern && *pattern != '{') { in glob_parse() 389 if(!peek_ipv6(pattern, &skip) && (pattern[1] == ']')) in glob_parse() 400 if(*pattern == '}' || *pattern == ']') in glob_parse() 406 (*(pattern + 1) == '{' || *(pattern + 1) == '[' || in glob_parse() 407 *(pattern + 1) == '}' || *(pattern + 1) == ']') ) { in glob_parse() 410 ++pattern; in glob_parse() [all …]
|
H A D | tool_urlglob.h | 64 struct URLPattern pattern[GLOB_PATTERN_NUM]; member
|
/curl/lib/vtls/ |
H A D | hostcheck.c | 50 const char *pattern, size_t patternlen) in pmatch() argument 54 return strncasecompare(hostname, pattern, hostlen); in pmatch() 83 const char *pattern, in hostmatch() argument 88 DEBUGASSERT(pattern); in hostmatch() 96 if(pattern[patternlen-1]=='.') in hostmatch() 99 if(strncmp(pattern, "*.", 2)) in hostmatch() 100 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch() 108 pattern_label_end = memchr(pattern, '.', patternlen); in hostmatch() 110 (memrchr(pattern, '.', patternlen) == pattern_label_end)) in hostmatch() 111 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch() [all …]
|
/curl/lib/ |
H A D | curl_fnmatch.c | 74 static int parsekeyword(unsigned char **pattern, unsigned char *charset) in parsekeyword() argument 80 unsigned char *p = *pattern; in parsekeyword() 104 *pattern = p; /* move caller's pattern pointer */ in parsekeyword() 257 static int loop(const unsigned char *pattern, const unsigned char *string, in loop() argument 260 unsigned char *p = (unsigned char *)pattern; in loop() 355 int Curl_fnmatch(void *ptr, const char *pattern, const char *string) in Curl_fnmatch() argument 359 if(!pattern || !string) { in Curl_fnmatch() 362 return loop((unsigned char *)pattern, (unsigned char *)string, 2); in Curl_fnmatch() 369 int Curl_fnmatch(void *ptr, const char *pattern, const char *string) in Curl_fnmatch() argument 373 if(!pattern || !string) { in Curl_fnmatch() [all …]
|
H A D | curl_fnmatch.h | 44 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
|
H A D | ftplistparser.h | 61 char *pattern; /* wildcard pattern */ member
|
H A D | ftplistparser.c | 211 free(wc->pattern); in Curl_wildcard_dtor() 212 wc->pattern = NULL; in Curl_wildcard_dtor() 338 if(compare(data->set.fnmatch_data, wc->pattern, in ftp_pl_insert_finfo()
|
H A D | ftp.c | 3755 wildcard->pattern = strdup(last_slash); in init_wc_data() 3756 if(!wildcard->pattern) in init_wc_data() 3762 wildcard->pattern = strdup(path); in init_wc_data() 3763 if(!wildcard->pattern) in init_wc_data() 3826 Curl_safefree(wildcard->pattern); in init_wc_data()
|
H A D | transfer.c | 657 Curl_safefree(wc->pattern); in Curl_pretransfer()
|
/curl/tests/unit/ |
H A D | unit1397.c | 41 const char *pattern; member 102 if(tests[i].match != Curl_cert_hostcheck(tests[i].pattern, 103 strlen(tests[i].pattern), 111 tests[i].pattern,
|
H A D | unit1307.c | 61 const char *pattern; member 297 int rc = Curl_fnmatch(NULL, tests[i].pattern, tests[i].string); 308 tests[i].pattern, tests[i].string, ret2name(result),
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_FNMATCH_FUNCTION.md | 26 const char *pattern, 40 Return *CURL_FNMATCHFUNC_MATCH* if pattern matches the string, 59 const char *pattern, const char *string) 63 if(string_match(pattern, string))
|
H A D | CURLOPT_WILDCARDMATCH.md | 32 filename pattern. The pattern can be specified as part of the CURLOPT_URL(3) 33 option, using an **fnmatch**-like pattern (Shell Pattern Matching) in the last 47 within the same pattern string. 76 Using the rules above, a filename pattern can be constructed:
|
H A D | CURLOPT_FNMATCH_DATA.md | 49 const char *pattern, const char *string) 54 if(string_match(pattern, string))
|
/curl/tests/libtest/ |
H A D | lib574.c | 31 const char *pattern, const char *string) in new_fnmatch() argument 35 string, pattern); in new_fnmatch()
|
/curl/tests/data/ |
H A D | test1163 | 29 FTP wildcard with pattern ending with an open-bracket
|
H A D | test1162 | 29 FTP wildcard with crazy pattern
|
/curl/tests/ |
H A D | getpart.pm | 293 my ($pattern, $arrayref) = @_; 298 if($_ !~ /$pattern/) {
|
H A D | runtests.pl | 2298 foreach my $pattern (split(/,/, $patterns)) { 2301 $pattern = int($pattern); 2303 $custom_skip_reasons{$type}{$pattern} = $skip_reason;
|
H A D | runtests.md | 117 exclusion, the second field contains a pattern and the final field contains
|
/curl/docs/cmdline-opts/ |
H A D | request-target.md | 21 slash or other data that does not follow the regular URL pattern, like
|
H A D | write-out.md | 152 example determine if a `NOPROXY` pattern matched the hostname or not. (Added
|
/curl/docs/libcurl/ |
H A D | curl_global_init.md | 42 The flags option is a bit pattern that tells libcurl exactly what features to
|
H A D | curl_easy_setopt.md | 1302 Transfer multiple files according to a filename pattern. See
|
/curl/include/curl/ |
H A D | curl.h | 369 const char *pattern,
|