/src/tests/lib/libc/gen/ |
t_fnmatch.c | 35 #include <fnmatch.h> 42 "Test translation of '\\' with fnmatch(3) (PR lib/41558)"); 47 const int rv = fnmatch(/* pattern */ "\\", "\\", 0); 50 atf_tc_fail("fnmatch(3) did not translate '\\'"); 61 ATF_CHECK(fnmatch("xxx", "XXX", 0) != 0); 62 ATF_CHECK(fnmatch("XXX", "xxx", 0) != 0); 63 ATF_CHECK(fnmatch("xxx", "XxX", 0) != 0); 64 ATF_CHECK(fnmatch("XxX", "xxx", 0) != 0); 65 ATF_CHECK(fnmatch("x*x", "XXX", 0) != 0); 66 ATF_CHECK(fnmatch("**x", "XXX", 0) != 0) [all...] |
/src/sys/lib/libsa/ |
fnmatch.c | 1 /* $NetBSD: fnmatch.c,v 1.1 2012/01/16 18:44:13 christos Exp $ */ 66 fnmatch(const char *fname, const char *pattern) function in typeref:typename:int 89 if (fnmatch(++fname, pattern))
|
ls.c | 178 if (pattern && !fnmatch(name, pattern))
|
Makefile | 92 SRCS+= fnmatch.c
|
stand.h | 312 int fnmatch(const char *, const char *);
|
/src/include/ |
fnmatch.h | 1 /* $NetBSD: fnmatch.h,v 1.13 2011/01/31 04:49:46 christos Exp $ */ 31 * @(#)fnmatch.h 8.1 (Berkeley) 6/2/93 54 int fnmatch(const char *, const char *, int);
|
Makefile | 12 disktab.h dlfcn.h endian.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
|
/src/usr.sbin/mtree/ |
excludes.c | 45 #include <fnmatch.h> 109 /* fnmatch(3) has a funny return value convention... */ 110 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0)
|
verify.c | 53 #include <fnmatch.h> 128 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) ||
|
/src/usr.bin/systat/ |
disks.c | 42 #include <fnmatch.h> 107 if (fnmatch(args, dr_name[i], 0) == 0) {
|
ifstat.c | 49 #include <fnmatch.h> 379 if (fnmatch(c, ifname, FNM_CASEFOLD) == 0) {
|
/src/lib/libutil/ |
ttyaction.c | 34 * See fnmatch() for matching the tty name. 49 #include <fnmatch.h> 127 if (fnmatch(p1, tty, 0) || fnmatch(p2, act, 0))
|
/src/sys/external/bsd/acpica/dist/os_specific/service_layers/ |
osunixdir.c | 158 #include <fnmatch.h> 255 if (!fnmatch (ExternalInfo->WildcardSpec, dir_entry->d_name, 0))
|
/src/lib/libc/gen/ |
fnmatch.c | 1 /* $NetBSD: fnmatch.c,v 1.26 2014/10/12 22:32:33 christos Exp $ */ 38 static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94"; 40 __RCSID("$NetBSD: fnmatch.c,v 1.26 2014/10/12 22:32:33 christos Exp $"); 45 * Function fnmatch() as specified in POSIX 1003.2-1992, section B.6. 53 #include <fnmatch.h> 57 __weak_alias(fnmatch,_fnmatch) 219 fnmatch(const char *pattern, const char *string, int flags) function in typeref:typename:int
|
Makefile.inc | 16 exect.c extattr.c fmtcheck.c fmtmsg.c fnmatch.c fstab.c ftok.c \ 64 fmtcheck.3 fmtmsg.3 fnmatch.3 fpclassify.3 fpgetmask.3 \
|
/src/usr.bin/grep/ |
util.c | 45 #include <fnmatch.h> 75 if (fnmatch(fpattern[i].pat, fname, 0) == 0 || 76 fnmatch(fpattern[i].pat, fname_base, 0) == 0) { 98 fnmatch(dname, dpattern[i].pat, 0) == 0) {
|
/src/usr.sbin/catman/ |
catman.c | 46 #include <fnmatch.h> 394 if (!fnmatch(match, manpage, 0)) 408 if (!fnmatch(match, manpage, 0)) 555 if (!fnmatch(suffix, p, 0)) {
|
/src/usr.bin/locate/locate/ |
locate.c | 77 #include <fnmatch.h> 232 !fnmatch(pathpart, path, 0)) {
|
/src/usr.bin/man/ |
man.c | 55 #include <fnmatch.h> 491 * match via fnmatch(3). Since the only match in pg 505 if (!fnmatch(buf, *pv, 0)) { 538 if (!fnmatch(buf, *pv, 0)) { 682 if (!fnmatch(buf, pg->gl_pathv[cnt], 0)) 690 if (!fnmatch(buf, pg->gl_pathv[cnt], 0)) {
|
/src/usr.sbin/rpc.bootparamd/ |
bootparamd.c | 26 #include <fnmatch.h> 369 if (fnmatch(word, client, FNM_CASEFOLD) == 0) {
|
/src/usr.bin/rump_dhcpclient/ |
if-bsd.c | 49 #include <fnmatch.h>
|
net.c | 57 #include <fnmatch.h>
|
/src/usr.bin/unzip/ |
unzip.c | 53 #include <fnmatch.h> 303 if (fnmatch(entry->pattern, str, C_opt ? FNM_CASEFOLD : 0) == 0)
|
/src/usr.bin/find/ |
function.c | 52 #include <fnmatch.h> 1382 return (!fnmatch(plan->c_data, entry->fts_name, 0)); 1406 return (!fnmatch(plan->c_data, entry->fts_name, FNM_CASEFOLD)); 1504 return (!fnmatch(plan->c_data, entry->fts_path, 0));
|
/src/usr.sbin/iostat/ |
iostat.c | 91 #include <fnmatch.h> 959 if (fnmatch(*argv, cur.name[i], 0))
|