Lines Matching defs:slash
151 const int slash = !!(flags & FNM_PATHNAME);
187 if (slash && (**pattern == '/'))
208 * or ranges containing a slash in FNM_PATHNAME mode pattern
211 if (!**pattern || (slash && (**pattern == '/')))
245 if (!**string || (slash && (**string == '/')))
261 /* Refuse to advance over trailing slash or nulls
263 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/'))))
277 const int slash = !!(flags & FNM_PATHNAME);
302 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/'))
304 if (slash && (*pattern == '/') && (*string == '/')) {
327 if (slash) {
344 if (slash && ((*pattern == '/')
377 || (slash && ((*matchptr == '/')
432 if (slash && ((*string == '/')
461 if (*string && !((slash || leading_dir) && (*string == '/')))
464 if (*pattern && !(slash && ((*pattern == '/')