Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c290 const char *dummyptr, *matchptr, *strendseg; in fnmatch() local
334 strendseg = strchr(string, '/'); in fnmatch()
335 if (!strendseg) in fnmatch()
336 strendseg = strchr(string, '\0'); in fnmatch()
338 strendseg = strchr(string, '\0'); in fnmatch()
346 if ((string > strendseg) || in fnmatch()
347 ((string == strendseg) && (*pattern != '*'))) in fnmatch()
361 } else if (string < strendseg) { /* && (*pattern == '?') */ in fnmatch()
389 if (string + matchlen > strendseg) in fnmatch()
392 string = strendseg - matchlen; in fnmatch()
[all …]