Lines Matching refs:pat
871 match(Char *name, Char *pat, Char *patend) in match() argument
877 _DIAGASSERT(pat != NULL); in match()
880 while (pat < patend) { in match()
881 c = *pat++; in match()
884 if (pat == patend) in match()
887 if (match(name, pat, patend)) in match()
899 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS) in match()
900 ++pat; in match()
901 while (((c = *pat++) & M_MASK) != M_END) in match()
902 if ((*pat & M_MASK) == M_RNG) { in match()
903 if (c <= k && k <= pat[1]) in match()
905 pat += 2; in match()