Lines Matching refs:match
12 struct match
14 struct match *next;
39 static int append(struct match **tail, const char *name, size_t len, int mark)
41 struct match *new = malloc(sizeof(struct match) + len + 1);
51 static int match_in_dir(const char *d, const char *p, int flags, int (*errfunc)(const char *path, int err), struct match **tail)
143 static void freelist(struct match *head)
145 struct match *match, *next;
146 for (match=head->next; match; match=next) {
147 next = match->next;
148 free(match);
160 struct match head = { .next = NULL }, *tail = &head;
231 free(g->gl_pathv[g->gl_offs + i] - offsetof(struct match, name));