Searched refs:fnmatch (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fnmatch.c35 #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("**
[all...]
/freebsd-11-stable/include/
H A Dfnmatch.h30 * @(#)fnmatch.h 8.1 (Berkeley) 6/2/93
56 int fnmatch(const char *, const char *, int);
/freebsd-11-stable/contrib/gcclibs/include/
H A Dfnmatch.h36 it is used only inside the prototype for `fnmatch', which is elided in
47 /* Bits set in the FLAGS argument to `fnmatch'. */
58 /* Value returned by `fnmatch' if STRING does not match PATTERN. */
63 extern int fnmatch __P ((const char *__pattern, const char *__string,
70 #endif /* fnmatch.h */
/freebsd-11-stable/contrib/gdb/include/
H A Dfnmatch.h36 it is used only inside the prototype for `fnmatch', which is elided in
47 /* Bits set in the FLAGS argument to `fnmatch'. */
58 /* Value returned by `fnmatch' if STRING does not match PATTERN. */
63 extern int fnmatch __P ((const char *__pattern, const char *__string,
70 #endif /* fnmatch.h */
/freebsd-11-stable/contrib/binutils/include/
H A Dfnmatch.h36 it is used only inside the prototype for `fnmatch', which is elided in
47 /* Bits set in the FLAGS argument to `fnmatch'. */
58 /* Value returned by `fnmatch' if STRING does not match PATTERN. */
63 extern int fnmatch __P ((const char *__pattern, const char *__string,
70 #endif /* fnmatch.h */
/freebsd-11-stable/lib/libc/tests/gen/
H A Dfnmatch_test.c85 result = fnmatch(t->pattern, t->string, flags);
91 result = fnmatch(t->pattern, t->string, flags);
101 result = fnmatch(t->pattern, t->string, flags);
110 result = fnmatch(t->pattern, t->string, flags);
119 result = fnmatch(t->pattern, t->string, flags);
129 result = fnmatch(t->pattern, t->string, flags);
139 result = fnmatch(t->pattern, t->string, flags);
147 result = fnmatch(t->pattern, t->string, flags);
154 result = fnmatch(t->pattern, t->string, flags);
163 result = fnmatch(
[all...]
H A Dfnmatch_testcases.h30 #include <fnmatch.h>
H A DMakefile90 TEST_FNMATCH= test-fnmatch
/freebsd-11-stable/contrib/mtree/
H A Dexcludes.c45 #include <fnmatch.h>
109 /* fnmatch(3) has a funny return value convention... */
110 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0)
H A Dverify.c53 #include <fnmatch.h>
128 !fnmatch(ep->name, p->fts_name, FNM_PATHNAME)) ||
/freebsd-11-stable/usr.sbin/fmtree/
H A Dexcludes.c38 #include <fnmatch.h>
102 /* fnmatch(3) has a funny return value convention... */
103 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0)
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dfnmatch.c47 #include <fnmatch.h>
68 fnmatch (const char *pattern, const char *string, int flags) function
119 fnmatch (p, n, flags & ~FNM_PERIOD) == 0)
H A Dmakefile.vms13 xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dfnmatch.c47 #include <fnmatch.h>
68 fnmatch (const char *pattern, const char *string, int flags) function
119 fnmatch (p, n, flags & ~FNM_PERIOD) == 0)
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dkadm5_locl.h75 #include <fnmatch.h>
H A Dget_princs_s.c67 if(fnmatch(d->exp, princ, 0) == 0 || fnmatch(d->exp2, princ, 0) == 0)
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dexclude.c30 #include <fnmatch.h>
64 if (fnmatch (exclude[i], f, options) == 0)
H A Dsavedir.c72 #include <fnmatch.h>
/freebsd-11-stable/sys/libkern/
H A Dfnmatch.c37 * Function fnmatch() as specified in POSIX 1003.2-1992, section B.6.
54 fnmatch(const char *pattern, const char *string, int flags) function
104 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD))
/freebsd-11-stable/lib/libutil/
H A Dlogin_ok.c32 #include <fnmatch.h>
47 * to fnmatch(3).
59 rc = fnmatch(list[i++], str, flags) == 0;
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dacl.c35 #include <fnmatch.h>
126 return !fnmatch(field->u.cstr, string, 0);
166 * - f Matches the string with fnmatch(3). Theflags
167 * argument (the last argument) passed to the fnmatch function is 0.
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd_locl.h129 #include <fnmatch.h>
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dfnmatch.c1 /* $NetBSD: fnmatch.c,v 1.11 1995/02/27 03:43:06 cgd Exp $ */
37 static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
39 static char rcsid[] = "$NetBSD: fnmatch.c,v 1.11 1995/02/27 03:43:06 cgd Exp $";
44 * Function fnmatch() as specified in POSIX 1003.2-1992, section B.6.
54 #include <fnmatch.h>
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-11-stable/usr.sbin/lpr/common_source/
H A Dmatchjobs.c52 #include <fnmatch.h>
446 if (fnmatch(jspec->wantedhost, cf_hoststr, 0) != 0)
458 if (fnmatch(jspec->wanteduser, cfinf->cji_acctuser, 0) != 0)

Completed in 184 milliseconds

123