Lines Matching refs:pat
425 char *pat; in oktotouch() local
428 pat = suffixlist; in oktotouch()
429 if (pat == 0) in oktotouch()
431 if (*pat == '*') in oktotouch()
433 while (*pat++ != '.') in oktotouch()
435 --pat; /* point to the period */ in oktotouch()
443 for (src++, pat++, osrc = src; *src && *pat; src = osrc, pat++) { in oktotouch()
445 *pat && /* not off end of pattern */ in oktotouch()
446 *pat != '.' && /* not off end of sub pattern */ in oktotouch()
447 *pat != '*' && /* not wild card */ in oktotouch()
448 *src == *pat; /* and equal... */ in oktotouch()
449 src++, pat++) in oktotouch()
451 if (*src == 0 && (*pat == 0 || *pat == '.' || *pat == '*')) in oktotouch()
453 if (*src != 0 && *pat == '*') in oktotouch()
455 while (*pat && *pat != '.') in oktotouch()
456 pat++; in oktotouch()
457 if (! *pat) in oktotouch()