Lines Matching refs:pat
730 static int match(Char *name, Char *pat, Char *patend) in match() argument
735 while (pat < patend) { in match()
736 c = *pat++; in match()
739 if (pat == patend) in match()
742 if (match(name, pat, patend)) in match()
755 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS) in match()
756 ++pat; in match()
757 while (((c = *pat++) & M_MASK) != M_END) in match()
758 if ((*pat & M_MASK) == M_RNG) { in match()
759 if (c <= k && k <= pat[1]) in match()
761 pat += 2; in match()