Home
last modified time | relevance | path

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

/freebsd/lib/libc/tests/gen/
H A Dfnmatch_testcases.h166 { "a", "a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
167 { "*", "a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
168 { "*", ".a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
169 { "*a", ".a/b", FNM_PATHNAME | FNM_LEADING_DIR, 0 },
170 { "*", ".a/b", FNM_PATHNAME | FNM_PERIOD | FNM_LEADING_DIR, FNM_NOMATCH },
171 { "*a", ".a/b", FNM_PATHNAME | FNM_PERIOD | FNM_LEADING_DIR, FNM_NOMATCH },
H A Dfnmatch_test.c43 FNM_PERIOD, FNM_LEADING_DIR, FNM_CASEFOLD, 0 }; in flags_to_string()
97 !(flags & (FNM_NOESCAPE | FNM_LEADING_DIR))) { in ATF_TC_BODY()
143 && !(flags & FNM_LEADING_DIR)) { in ATF_TC_BODY()
144 flags |= FNM_LEADING_DIR; in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fnmatch.c91 ATF_CHECK(fnmatch("", "/*", FNM_LEADING_DIR) == 0); in ATF_TC_BODY()
92 ATF_CHECK(fnmatch(" ", " /*", FNM_LEADING_DIR) == 0); in ATF_TC_BODY()
93 ATF_CHECK(fnmatch("x", "x/*", FNM_LEADING_DIR) == 0); in ATF_TC_BODY()
94 ATF_CHECK(fnmatch("///", "////*", FNM_LEADING_DIR) == 0); in ATF_TC_BODY()
/freebsd/sys/libkern/
H A Dfnmatch.c63 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch()
91 return ((flags & FNM_LEADING_DIR) || in fnmatch()
/freebsd/crypto/krb5/src/util/support/
H A Dfnmatch.c122 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatchx()
150 return (flags & FNM_LEADING_DIR) || in fnmatchx()
/freebsd/include/
H A Dfnmatch.h48 #define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */ macro
/freebsd/crypto/openssh/openbsd-compat/
H A Dfnmatch.h55 #define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */ macro
H A Dfnmatch.c294 const int leading_dir = !!(flags & FNM_LEADING_DIR); in fnmatch()
/freebsd/lib/libc/gen/
H A Dfnmatch.c108 if ((flags & FNM_LEADING_DIR) && sc == '/') in fnmatch1()
138 return ((flags & FNM_LEADING_DIR) || in fnmatch1()
/freebsd/sys/sys/
H A Dlibkern.h332 #define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */ macro
/freebsd/crypto/krb5/src/include/
H A Dk5-platform.h909 #define FNM_LEADING_DIR 0x10 /* Ignore /<tail> after Imatch. */ macro