Lines Matching defs:p
50 static int execbrc(char *p, char *s);
342 execbrc(p, s)
343 char *p, *s;
350 for (lm = restbuf; *p != '{'; *lm++ = *p++) {
356 for (pe = ++p; *pe; pe++)
381 for (pl = pm = p; pm <= pe; pm++)
431 match(s, p)
432 char *s, *p;
438 if (*s == '.' && *p != '.')
442 c = amatch(s, p);
449 amatch(s, p)
450 register char *s, *p;
461 switch (c = *p++) {
464 return (execbrc(p - 1, s - 1));
469 while (cc = *p++) {
476 if (lc <= scc && scc <= *p++)
489 if (!*p)
491 if (*p == '/') {
492 p++;
496 if (amatch(s, p))
523 if (*p == '\0') {
529 expsh(p);
538 smatch(s, p)
539 register char *s, *p;
547 switch (c = *p++) {
552 while (cc = *p++) {
559 if (lc <= scc && scc <= *p++)
572 if (!*p)
575 if (smatch(s, p))