Lines Matching defs:pat
910 match(Char *name, Char *pat, Char *patend)
921 while (pat < patend) {
922 c = *pat++;
925 if (pat == patend)
930 nextp = pat - 1;
940 negate_range = ((*pat & M_MASK) == M_NOT);
942 ++pat;
943 while (((c = *pat++) & M_MASK) != M_END)
944 if ((*pat & M_MASK) == M_RNG) {
947 CHAR(k) <= CHAR(pat[1]) :
951 CHAR(pat[1])) <= 0)
953 pat += 2;
971 pat = nextp;