Lines Matching refs:patstr
311 typedef struct patstr { struct
312 struct patstr *next; argument
316 } patstr; argument
318 static patstr *patterns = NULL;
319 static patstr *patterns_last = NULL;
320 static patstr *include_patterns = NULL;
321 static patstr *include_patterns_last = NULL;
322 static patstr *exclude_patterns = NULL;
323 static patstr *exclude_patterns_last = NULL;
324 static patstr *include_dir_patterns = NULL;
325 static patstr *include_dir_patterns_last = NULL;
326 static patstr *exclude_dir_patterns = NULL;
327 static patstr *exclude_dir_patterns_last = NULL;
333 patstr **anchor;
334 patstr **lastptr;
343 static patstr **incexlist[4] = { &include_patterns, &exclude_patterns,
612 static patstr *
613 add_pattern(char *s, PCRE2_SIZE patlen, patstr *after) in add_pattern()
615 patstr *p = (patstr *)malloc(sizeof(patstr)); in add_pattern()
653 free_pattern_chain(patstr *pc) in free_pattern_chain()
657 patstr *p = pc; in free_pattern_chain()
1207 test_incexc(char *path, patstr *ip, patstr *ep) in test_incexc()
1709 patstr *p = patterns; in match_patterns()
3439 compile_pattern(patstr *p, int options, int fromfile, const char *fromtext, in compile_pattern()
3519 read_pattern_file(char *name, patstr **patptr, patstr **patlastptr) in read_pattern_file()
3600 patstr *cp; in main()