Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c172 { "a", "a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
173 { "*", "a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
174 { "*", ".a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
175 { "*a", ".a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
176 { "*", ".a/b", FNM_PATHNAME | FNM_PERIOD | FNM_LEADING_DIR,
178 { "*a", ".a/b", FNM_PATHNAME | FNM_PERIOD | FNM_LEADING_DIR,
187 FNM_PERIOD, FNM_LEADING_DIR, FNM_CASEFOLD, 0 }; in flags_to_string()
243 !(flags & (FNM_NOESCAPE | FNM_LEADING_DIR))) { in main()
290 !(flags & FNM_LEADING_DIR)) { in main()
291 flags |= FNM_LEADING_DIR; in main()
/illumos-gate/usr/src/head/
H A Dfnmatch.h43 #define FNM_LEADING_DIR 0x10 /* Match if pattern matches initial segment */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfnmatch.h43 #define FNM_LEADING_DIR 0x0040 /* match up to implicit / */ macro
H A Dfnmatch.c63 if (flags & FNM_LEADING_DIR) in fnmatch()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfnmatch.c110 if ((flags & FNM_LEADING_DIR) && sc == '/') in fnmatch1()
140 return ((flags & FNM_LEADING_DIR) || in fnmatch1()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE1136 comp/fnmatch: add FNM_LEADING_DIR for gnu compatibility