Lines Matching refs:pattern
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()
377 switch(fnmatch(pattern, string, 0)) { in Curl_fnmatch()