Lines Matching refs:pat
765 match(name, pat, patend) in match() argument
766 register Char *name, *pat, *patend; in match()
771 while (pat < patend) {
772 c = *pat++;
775 if (pat == patend)
778 if (match(name, pat, patend))
791 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS)
792 ++pat;
793 while (((c = *pat++) & M_MASK) != M_END)
794 if ((*pat & M_MASK) == M_RNG) {
795 if (c <= k && k <= pat[1])
797 pat += 2;