Lines Matching refs:pathname
60 static int match_exclusion(struct match *, const char *pathname);
61 static int match_inclusion(struct match *, const char *pathname);
86 lafe_exclude_from_file(struct lafe_matching **matching, const char *pathname)
92 lr = lafe_line_reader(pathname, 0);
114 lafe_include_from_file(struct lafe_matching **matching, const char *pathname,
121 lr = lafe_line_reader(pathname, nullSeparator);
151 lafe_excluded(struct lafe_matching *matching, const char *pathname)
161 if (match_exclusion(match, pathname))
168 if (match_inclusion(match, pathname)) {
208 match_exclusion(struct match *match, const char *pathname)
211 pathname,
220 match_inclusion(struct match *match, const char *pathname)
223 return (lafe_pathmatch(match->pattern, pathname, 0));
225 return (lafe_pathmatch(match->pattern, pathname, PATHMATCH_NO_ANCHOR_END));