Lines Matching refs:p
80 unsigned char *p = *pattern; in parsekeyword() local
83 char c = (char)*p++; in parsekeyword()
104 *pattern = p; /* move caller's pattern pointer */ in parsekeyword()
145 unsigned char *p = (*pp)++; in setcharorrange() local
146 unsigned char c = *p++; in setcharorrange()
149 if(ISALNUM(c) && *p++ == '-') { in setcharorrange()
151 unsigned char endrange = *p++; in setcharorrange()
154 endrange = *p++; in setcharorrange()
159 *pp = p; in setcharorrange()
165 static int setcharset(unsigned char **p, unsigned char *charset) in setcharset() argument
173 c = **p; in setcharset()
185 (*p)++; in setcharset()
188 unsigned char *pp = *p + 1; in setcharset()
191 *p = pp; in setcharset()
194 (*p)++; in setcharset()
209 (*p)++; in setcharset()
212 c = *(++(*p)); in setcharset()
214 setcharorrange(p, charset); in setcharset()
220 setcharorrange(p, charset); in setcharset()
228 (*p)++; in setcharset()
235 (*p)++; in setcharset()
249 (*p)++; in setcharset()
260 unsigned char *p = (unsigned char *)pattern; in loop() local
267 switch(*p) { in loop()
274 if(*++p == '\0') in loop()
276 if(*p == '?') { in loop()
280 else if(*p != '*') in loop()
285 if(loop(p, s, maxstars) == CURL_FNMATCH_MATCH) in loop()
293 p++; in loop()
298 if(p[1]) in loop()
299 p++; in loop()
300 if(*s++ != *p++) in loop()
304 pp = p + 1; /* Copy in case of syntax error in set. */ in loop()
337 p = pp + 1; in loop()
345 if(*p++ != *s++) in loop()