Lines Matching defs:pat
879 match(Char *name, Char *pat, Char *patend)
890 while (pat < patend) {
891 c = *pat++;
894 if (pat == patend)
899 nextp = pat - 1;
909 negate_range = ((*pat & M_MASK) == M_NOT);
911 ++pat;
912 while (((c = *pat++) & M_MASK) != M_END)
913 if ((*pat & M_MASK) == M_RNG) {
916 CHAR(k) <= CHAR(pat[1]) :
920 CHAR(pat[1])) <= 0)
922 pat += 2;
940 pat = nextp;