Lines Matching refs:exclude
89 struct exclude struct
91 struct patopts *exclude; member
98 struct exclude *
101 struct exclude *ex = (struct exclude *) xmalloc (sizeof *ex); in new_exclude()
104 ex->exclude = (struct patopts *) xmalloc (ex->exclude_alloc in new_exclude()
105 * sizeof ex->exclude[0]); in new_exclude()
112 free_exclude (struct exclude *ex) in free_exclude()
114 free (ex->exclude); in free_exclude()
147 excluded_filename (struct exclude const *ex, char const *f) in excluded_filename()
156 struct patopts const *exclude = ex->exclude; in excluded_filename() local
160 bool excluded = !! (exclude[0].options & EXCLUDE_INCLUDE); in excluded_filename()
166 char const *pattern = exclude[i].pattern; in excluded_filename()
167 int options = exclude[i].options; in excluded_filename()
193 add_exclude (struct exclude *ex, char const *pattern, int options) in add_exclude()
200 if (! (0 < s && s <= SIZE_MAX / sizeof ex->exclude[0])) in add_exclude()
203 ex->exclude = (struct patopts *) xrealloc (ex->exclude, in add_exclude()
204 s * sizeof ex->exclude[0]); in add_exclude()
207 patopts = &ex->exclude[ex->exclude_count++]; in add_exclude()
217 add_exclude_file (void (*add_func) PARAMS ((struct exclude *, in add_exclude_file() argument
219 struct exclude *ex, char const *filename, int options, in add_exclude_file()