Lines Matching refs:flags

57 fnmatch(const char *pattern, const char *string, int flags)  in fnmatch()  argument
66 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch()
72 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
74 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
76 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
86 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
88 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
93 if (flags & FNM_PATHNAME) in fnmatch()
94 return ((flags & FNM_LEADING_DIR) || in fnmatch()
99 else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch()
107 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD)) in fnmatch()
109 if (test == '/' && flags & FNM_PATHNAME) in fnmatch()
117 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
119 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
121 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
124 switch (rangematch(pattern, *string, flags, &newp)) { in fnmatch()
136 if (!(flags & FNM_NOESCAPE)) { in fnmatch()
147 else if ((flags & FNM_CASEFOLD) && in fnmatch()
160 rangematch(const char *pattern, char test, int flags, char **newp) in rangematch() argument
175 if (flags & FNM_CASEFOLD) in rangematch()
186 if (c == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
191 if (c == '/' && (flags & FNM_PATHNAME)) in rangematch()
194 if (flags & FNM_CASEFOLD) in rangematch()
200 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
205 if (flags & FNM_CASEFOLD) in rangematch()