Lines Matching refs:pat
764 match(name, pat, patend) in match() argument
765 register Char *name, *pat, *patend; in match()
770 while (pat < patend) {
771 c = *pat++;
774 if (pat == patend)
777 if (match(name, pat, patend))
790 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS)
791 ++pat;
792 while (((c = *pat++) & M_MASK) != M_END)
793 if ((*pat & M_MASK) == M_RNG) {
794 if (c <= k && k <= pat[1])
796 pat += 2;