Lines Matching defs:pat
696 match(Char *name, Char *pat, Char *patend)
701 while (pat < patend) {
702 c = *pat++;
705 if (pat == patend)
708 if (match(name, pat, patend))
720 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != CHAR_EOS)
721 ++pat;
722 while (((c = *pat++) & M_MASK) != M_END)
723 if ((*pat & M_MASK) == M_RNG) {
724 if (c <= k && k <= pat[1])
726 pat += 2;