Lines Matching refs:patterns
85 static PATTERN *patterns; variable
502 if (patterns == NULL && !fflag) { in main()
750 pp->next = patterns; in addpattern()
751 patterns = pp; in addpattern()
829 (patterns != NULL && patterns->next == NULL) && !wflag && in fixpatterns()
830 (strlen(patterns->pattern) != 0) && conflag == 0 && in fixpatterns()
831 (Fflag || simple_pattern(patterns->pattern)); in fixpatterns()
842 for (pp = patterns; pp != NULL; pp = pp->next) { in fixpatterns()
943 if (patterns == NULL) in grep()
946 pp = patterns; in grep()
1149 pp = patterns; /* to make it happen */ in grep()
1176 for (pp = patterns; pp; pp = pp->next) { in grep()