Home
last modified time | relevance | path

Searched refs:fnmatch (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fnmatch.c47 const int rv = fnmatch(/* pattern */ "\\", "\\", 0); in ATF_TC_BODY()
61 ATF_CHECK(fnmatch("xxx", "XXX", 0) != 0); in ATF_TC_BODY()
62 ATF_CHECK(fnmatch("XXX", "xxx", 0) != 0); in ATF_TC_BODY()
63 ATF_CHECK(fnmatch("xxx", "XxX", 0) != 0); in ATF_TC_BODY()
64 ATF_CHECK(fnmatch("XxX", "xxx", 0) != 0); in ATF_TC_BODY()
65 ATF_CHECK(fnmatch("x*x", "XXX", 0) != 0); in ATF_TC_BODY()
66 ATF_CHECK(fnmatch("**x", "XXX", 0) != 0); in ATF_TC_BODY()
67 ATF_CHECK(fnmatch("*?x", "XXX", 0) != 0); in ATF_TC_BODY()
69 ATF_CHECK(fnmatch("xxx", "XXX", FNM_CASEFOLD) == 0); in ATF_TC_BODY()
70 ATF_CHECK(fnmatch("XXX", "xxx", FNM_CASEFOLD) == 0); in ATF_TC_BODY()
[all …]
/freebsd/lib/libc/tests/gen/
H A Dfnmatch_test.c82 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
88 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
98 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
107 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
116 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
126 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
136 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
144 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
151 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
160 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
H A DMakefile96 TEST_FNMATCH= test-fnmatch
/freebsd/contrib/diff/lib/
H A Dgnulib.mk33 fnmatch.h: fnmatch_.h
36 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
H A Dexclude.c162 ? fnmatch in excluded_filename()
/freebsd/crypto/openssh/
H A D.depend5 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
6 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
7 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
8 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
9 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
10 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
11 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
12 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
13 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
14 …d-compat/sha2.h openbsd-compat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/…
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dfnmatch.hin1 /* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */
31 * @(#)fnmatch.h 8.1 (Berkeley) 6/2/93
60 #define fnmatch(a,b,c) rk_fnmatch(a,b,c)
H A DMakefile.am126 fnmatch.hin \
146 fnmatch_h = fnmatch.h
175 CLEANFILES += err.h fnmatch.h glob.h ifaddrs.h search.h vis.h
/freebsd/crypto/heimdal/lib/kadm5/
H A Dget_princs_s.c67 if(fnmatch(d->exp, princ, 0) == 0 || fnmatch(d->exp2, princ, 0) == 0) in foreach()
/freebsd/sys/libkern/
H A Dfnmatch.c54 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function
104 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD)) in fnmatch()
/freebsd/include/
H A Dfnmatch.h55 int fnmatch(const char *, const char *, int);
/freebsd/crypto/openssh/openbsd-compat/
H A Dfnmatch.h62 int fnmatch(const char *, const char *, int);
H A DMakefile.in32 fnmatch.o \
H A Dfnmatch.c289 int fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function
/freebsd/usr.bin/locate/locate/
H A Dfastfind.c321 !fnmatch(pathpart, path, 0))
323 !fnmatch(pathpart, path,
/freebsd/contrib/mtree/
H A Dexcludes.c110 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0) in check_excludes()
/freebsd/sbin/swapon/
H A Dswapon.c45 #include <fnmatch.h>
230 (fnmatch(_PATH_DEV MD_NAME "[0-9]*", name, 0) == 0 || in swap_on_off()
231 fnmatch(MD_NAME "[0-9]*", name, 0) == 0 || in swap_on_off()
241 if (fnmatch("*.eli", base, 0) == 0) { in swap_on_off()
/freebsd/contrib/diff/
H A DFREEBSD-Xlist19 lib/fnmatch.c
/freebsd/usr.sbin/lpr/common_source/
H A Dmatchjobs.c444 if (fnmatch(jspec->wantedhost, cf_hoststr, 0) != 0) in match_jobspec()
456 if (fnmatch(jspec->wanteduser, cfinf->cji_acctuser, 0) != 0) in match_jobspec()
/freebsd/usr.bin/grep/
H A Dutil.c91 if (fnmatch(fpattern[i].pat, fname, 0) == 0 || in file_matching()
92 fnmatch(fpattern[i].pat, fname_base, 0) == 0) in file_matching()
111 if (dname != NULL && fnmatch(dpattern[i].pat, dname, 0) == 0) in dir_matching()
/freebsd/bin/sh/tests/builtins/
H A Dcase3.01 # Generated by ./test-fnmatch -s 2, do not edit.
H A Dcase2.01 # Generated by ./test-fnmatch -s 1, do not edit.
/freebsd/lib/libutil/
H A Dlogin_ok.c56 rc = fnmatch(list[i++], str, flags) == 0; in login_strinlist()
/freebsd/crypto/heimdal/lib/krb5/
H A Dacl.c126 return !fnmatch(field->u.cstr, string, 0); in acl_match_field()
/freebsd/lib/libc/gen/
H A Dfnmatch.c75 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function

123