Home
last modified time | relevance | path

Searched refs:FNM_PATHNAME (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-9-stable/tools/regression/lib/libc/gen/
Dtest-fnmatch.c154 "a/a", "a/a", FNM_PATHNAME, 0,
155 "a/*", "a/a", FNM_PATHNAME, 0,
156 "*/a", "a/a", FNM_PATHNAME, 0,
157 "*/*", "a/a", FNM_PATHNAME, 0,
158 "a*b/*", "abbb/x", FNM_PATHNAME, 0,
159 "a*b/*", "abbb/.x", FNM_PATHNAME, 0,
160 "*", "a/a", FNM_PATHNAME, FNM_NOMATCH,
161 "*/*", "a/a/a", FNM_PATHNAME, FNM_NOMATCH,
162 "b/*", "b/.x", FNM_PATHNAME | FNM_PERIOD, FNM_NOMATCH,
163 "b*/*", "a/.x", FNM_PATHNAME | FNM_PERIOD, FNM_NOMATCH,
[all …]
/freebsd-9-stable/sys/libkern/
Dfnmatch.c69 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
73 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
85 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
90 if (flags & FNM_PATHNAME) in fnmatch()
96 else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch()
106 if (test == '/' && flags & FNM_PATHNAME) in fnmatch()
114 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
118 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
188 if (c == '/' && (flags & FNM_PATHNAME)) in rangematch()
/freebsd-9-stable/crypto/heimdal/lib/roken/
Dfnmatch.c68 if (*string == '/' && (flags & FNM_PATHNAME)) in rk_fnmatch()
72 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in rk_fnmatch()
84 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in rk_fnmatch()
89 if (flags & FNM_PATHNAME) in rk_fnmatch()
94 else if (c == '/' && flags & FNM_PATHNAME) { in rk_fnmatch()
104 if (test == '/' && flags & FNM_PATHNAME) in rk_fnmatch()
112 if (*string == '/' && flags & FNM_PATHNAME) in rk_fnmatch()
Dfnmatch.hin52 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
/freebsd-9-stable/usr.bin/csup/
Dfnmatch.c72 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
76 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
88 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
93 if (flags & FNM_PATHNAME) in fnmatch()
99 else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch()
109 if (test == '/' && flags & FNM_PATHNAME) in fnmatch()
117 if (*string == '/' && flags & FNM_PATHNAME) in fnmatch()
Dfnmatch.h43 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ macro
Dproto.c401 globtree_match(pat, FNM_PATHNAME)); in proto_xchgcoll()
407 globtree_match(pat, FNM_PATHNAME | in proto_xchgcoll()
426 flags = FNM_PATHNAME | FNM_LEADING_DIR | in proto_xchgcoll()
/freebsd-9-stable/lib/libc/gen/
Dfnmatch.c118 if (sc == '/' && (flags & FNM_PATHNAME))
122 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
134 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
139 if (flags & FNM_PATHNAME)
145 else if (c == '/' && flags & FNM_PATHNAME) {
164 if (sc == '/' && flags & FNM_PATHNAME)
172 if (sc == '/' && (flags & FNM_PATHNAME))
176 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
257 } else if (*pattern == '/' && (flags & FNM_PATHNAME)) {
/freebsd-9-stable/contrib/cvs/lib/
Dfnmatch.c61 else if ((flags & FNM_PATHNAME) && *n == '/')
64 (n == string || ((flags & FNM_PATHNAME) && n[-1] == '/')))
77 (n == string || ((flags & FNM_PATHNAME) && n[-1] == '/')))
81 if (((flags & FNM_PATHNAME) && *n == '/') ||
106 (n == string || ((flags & FNM_PATHNAME) && n[-1] == '/')))
127 if ((flags & FNM_PATHNAME) && c == '/')
Dfnmatch.h.in19 #undef FNM_PATHNAME
20 #define FNM_PATHNAME (1 << 0)/* No wildcard can ever match `/'. */ macro
26 #define __FNM_FLAGS (FNM_PATHNAME|FNM_NOESCAPE|FNM_PERIOD)
/freebsd-9-stable/contrib/gcclibs/include/
Dfnmatch.h43 #undef FNM_PATHNAME
48 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
53 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/freebsd-9-stable/contrib/gdb/include/
Dfnmatch.h43 #undef FNM_PATHNAME
48 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
53 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/freebsd-9-stable/contrib/binutils/include/
Dfnmatch.h43 #undef FNM_PATHNAME
48 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
53 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/freebsd-9-stable/include/
Dfnmatch.h41 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ macro
52 #define FNM_FILE_NAME FNM_PATHNAME
/freebsd-9-stable/contrib/binutils/libiberty/
Dfnmatch.txh24 @item FNM_PATHNAME
34 @code{FNM_PATHNAME} after a slash) is not matched by @code{*} or
/freebsd-9-stable/contrib/gcclibs/libiberty/
Dfnmatch.txh24 @item FNM_PATHNAME
34 @code{FNM_PATHNAME} after a slash) is not matched by @code{*} or
/freebsd-9-stable/sys/sys/
Dlibkern.h198 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ macro
203 #define FNM_FILE_NAME FNM_PATHNAME
/freebsd-9-stable/usr.sbin/mtree/
Dexcludes.c103 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0) in check_excludes()
Dverify.c119 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) || in vwalk()
/freebsd-9-stable/contrib/mtree/
Dexcludes.c110 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0) in check_excludes()
Dverify.c124 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) || in vwalk()
/freebsd-9-stable/contrib/diff/lib/
Dexclude.c69 & (FNM_PATHNAME | FNM_NOESCAPE | FNM_PERIOD | FNM_LEADING_DIR
/freebsd-9-stable/usr.sbin/pkg_install/lib/
Dmatch.c308 if (csh_match(origins[i], allorigins[j], FNM_PATHNAME) == 0) { in matchallbyorigin()
/freebsd-9-stable/sys/fs/devfs/
Ddevfs_rule.c597 match = fnmatch(dr->dr_pathptrn, pname, FNM_PATHNAME) == 0; in devfs_rule_matchpath()
/freebsd-9-stable/usr.sbin/newsyslog/
Dnewsyslog.c914 fnres = fnmatch(ent->log, *given, FNM_PATHNAME); in get_worklist()

12