Home
last modified time | relevance | path

Searched refs:fpattern (Results 1 – 3 of 3) sorted by relevance

/system/core/toolbox/grep/
Dgrep.c92 struct epat *dpattern, *fpattern; variable
256 fpattern = grep_realloc(fpattern, ++fpattern_sz * in add_fpattern()
259 fpattern[fpatterns].pat = grep_strdup(pat); in add_fpattern()
260 fpattern[fpatterns].mode = mode; in add_fpattern()
Dutil.c75 if (fnmatch(fpattern[i].pat, fname, 0) == 0 || in file_matching()
76 fnmatch(fpattern[i].pat, fname_base, 0) == 0) { in file_matching()
77 if (fpattern[i].mode == EXCL_PAT) in file_matching()
Dgrep.h135 extern struct epat *dpattern, *fpattern;