Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 26) sorted by relevance

12

/curl/src/
H A Dtool_urlglob.c160 ++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 Dtool_urlglob.h64 struct URLPattern pattern[GLOB_PATTERN_NUM]; member
/curl/lib/vtls/
H A Dhostcheck.c50 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 Dcurl_fnmatch.c74 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 Dcurl_fnmatch.h44 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
H A Dftplistparser.h61 char *pattern; /* wildcard pattern */ member
H A Dftplistparser.c211 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 Dftp.c3755 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 Dtransfer.c657 Curl_safefree(wc->pattern); in Curl_pretransfer()
/curl/tests/unit/
H A Dunit1397.c41 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 Dunit1307.c61 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 DCURLOPT_FNMATCH_FUNCTION.md26 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 DCURLOPT_WILDCARDMATCH.md32 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 DCURLOPT_FNMATCH_DATA.md49 const char *pattern, const char *string)
54 if(string_match(pattern, string))
/curl/tests/libtest/
H A Dlib574.c31 const char *pattern, const char *string) in new_fnmatch() argument
35 string, pattern); in new_fnmatch()
/curl/tests/data/
H A Dtest116329 FTP wildcard with pattern ending with an open-bracket
H A Dtest116229 FTP wildcard with crazy pattern
/curl/tests/
H A Dgetpart.pm293 my ($pattern, $arrayref) = @_;
298 if($_ !~ /$pattern/) {
H A Druntests.pl2298 foreach my $pattern (split(/,/, $patterns)) {
2301 $pattern = int($pattern);
2303 $custom_skip_reasons{$type}{$pattern} = $skip_reason;
H A Druntests.md117 exclusion, the second field contains a pattern and the final field contains
/curl/docs/cmdline-opts/
H A Drequest-target.md21 slash or other data that does not follow the regular URL pattern, like
H A Dwrite-out.md152 example determine if a `NOPROXY` pattern matched the hostname or not. (Added
/curl/docs/libcurl/
H A Dcurl_global_init.md42 The flags option is a bit pattern that tells libcurl exactly what features to
H A Dcurl_easy_setopt.md1302 Transfer multiple files according to a filename pattern. See
/curl/include/curl/
H A Dcurl.h369 const char *pattern,

Completed in 94 milliseconds

12