Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c149 const int slash = !!(flags & FNM_PATHNAME); in fnmatch_ch() local
183 if (slash && (**pattern == '/')) in fnmatch_ch()
216 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch()
255 if (!**string || (slash && (**string == '/'))) in fnmatch_ch()
274 (slash && ((**string == '/') || (**pattern == '/')))) in fnmatch_ch()
288 const int slash = !!(flags & FNM_PATHNAME); in fnmatch() local
307 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in fnmatch()
309 if (slash && (*pattern == '/') && (*string == '/')) { in fnmatch()
333 if (slash) { in fnmatch()
350 if (slash && ((*pattern == '/') || in fnmatch()
[all …]