Home
last modified time | relevance | path

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

/freebsd/lib/libc/tests/gen/
H A Dfnmatch_testcases.h132 { "\\*", "\\*", FNM_NOESCAPE, 0 },
133 { "\\?", "\\?", FNM_NOESCAPE, 0 },
134 { "\\", "\\", FNM_NOESCAPE, 0 },
135 { "\\\\", "\\", FNM_NOESCAPE, FNM_NOMATCH },
136 { "\\\\", "\\\\", FNM_NOESCAPE, 0 },
137 { "*\\*", "foo\\foo", FNM_NOESCAPE, 0 },
138 { "*\\*", "foo", FNM_NOESCAPE, FNM_NOMATCH },
H A Dfnmatch_test.c41 static const int flagvalues[] = { FNM_NOESCAPE, FNM_PATHNAME, in flags_to_string()
86 !(flags & FNM_NOESCAPE)) { in ATF_TC_BODY()
87 flags |= FNM_NOESCAPE; in ATF_TC_BODY()
96 !(flags & (FNM_NOESCAPE | FNM_LEADING_DIR))) { in ATF_TC_BODY()
97 flags |= FNM_NOESCAPE; in ATF_TC_BODY()
158 !(flags & (FNM_NOESCAPE | FNM_CASEFOLD))) { in ATF_TC_BODY()
159 flags |= FNM_NOESCAPE | FNM_CASEFOLD; in ATF_TC_BODY()
H A Dtest-fnmatch.c66 if (num == 2 && (t->flags == FNM_NOESCAPE || in write_sh_tests()
/freebsd/crypto/heimdal/lib/roken/
H A Dfnmatch.c126 if (!(flags & FNM_NOESCAPE)) { in rk_fnmatch()
158 if (c == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
165 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
H A Dfnmatch.hin53 #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
/freebsd/sys/libkern/
H A Dfnmatch.c133 if (!(flags & FNM_NOESCAPE)) { in fnmatch()
183 if (c == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
197 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fnmatch.c109 ATF_CHECK(fnmatch(" \\x", " \\x", FNM_NOESCAPE) == 0); in ATF_TC_BODY()
110 ATF_CHECK(fnmatch("xx\\x", "xx\\x", FNM_NOESCAPE) == 0); in ATF_TC_BODY()
111 ATF_CHECK(fnmatch("\\xxx", "\\xxx", FNM_NOESCAPE) == 0); in ATF_TC_BODY()
/freebsd/lib/libc/gen/
H A Dfnmatch.c180 if (!(flags & FNM_NOESCAPE)) { in fnmatch1()
269 } else if (*pattern == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
281 if (*++pattern == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
/freebsd/include/
H A Dfnmatch.h39 #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ macro
/freebsd/crypto/openssh/openbsd-compat/
H A Dfnmatch.h51 #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ macro
H A Dfnmatch.c153 const int escape = !(flags & FNM_NOESCAPE); in fnmatch_ch()
292 const int escape = !(flags & FNM_NOESCAPE); in fnmatch()
/freebsd/contrib/diff/lib/
H A Dexclude.c69 & (FNM_PATHNAME | FNM_NOESCAPE | FNM_PERIOD | FNM_LEADING_DIR
/freebsd/lib/libfigpar/
H A Dfigpar.c430 FNM_NOESCAPE); in parse_config()
/freebsd/sys/sys/
H A Dlibkern.h329 #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ macro
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c660 return fnmatch(pattern, string, FNM_NOESCAPE); in match()
/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c3561 if (fnmatch(ap->a_name, name, FNM_NOESCAPE) == in validate()