Home
last modified time | relevance | path

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

1234

/netbsd/tests/lib/libc/gen/
H A Dt_fnmatch.c122 ATF_CHECK(fnmatch("???x", "xxx/x", FNM_PATHNAME) != 0); in ATF_TC_BODY()
123 ATF_CHECK(fnmatch("***x", "xxx/x", FNM_PATHNAME) != 0); in ATF_TC_BODY()
125 ATF_CHECK(fnmatch("???x", "xxxx", FNM_PATHNAME) == 0); in ATF_TC_BODY()
126 ATF_CHECK(fnmatch("*/xxx", "/xxx", FNM_PATHNAME) == 0); in ATF_TC_BODY()
127 ATF_CHECK(fnmatch("x/*.y", "x/z.y", FNM_PATHNAME) == 0); in ATF_TC_BODY()
141 ATF_CHECK(fnmatch("x?y", "x.y", FNM_PATHNAME | FNM_PERIOD) == 0); in ATF_TC_BODY()
142 ATF_CHECK(fnmatch("x*y", "x.y", FNM_PATHNAME | FNM_PERIOD) == 0); in ATF_TC_BODY()
143 ATF_CHECK(fnmatch("*.c", "x.c", FNM_PATHNAME | FNM_PERIOD) == 0); in ATF_TC_BODY()
144 ATF_CHECK(fnmatch("*/?", "x/y", FNM_PATHNAME | FNM_PERIOD) == 0); in ATF_TC_BODY()
145 ATF_CHECK(fnmatch("*/*", "x/y", FNM_PATHNAME | FNM_PERIOD) == 0); in ATF_TC_BODY()
[all …]
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dfnmatch.c76 if (*string == '/' && (flags & FNM_PATHNAME)) in rk_fnmatch()
80 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in rk_fnmatch()
92 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in rk_fnmatch()
97 if (flags & FNM_PATHNAME) in rk_fnmatch()
102 else if (c == '/' && flags & FNM_PATHNAME) { in rk_fnmatch()
112 if (test == '/' && flags & FNM_PATHNAME) in rk_fnmatch()
120 if (*string == '/' && flags & FNM_PATHNAME) in rk_fnmatch()
/netbsd/lib/libc/gen/
H A Dfnmatch.c138 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatchx()
142 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatchx()
154 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatchx()
159 if (flags & FNM_PATHNAME) in fnmatchx()
165 } else if (c == '/' && flags & FNM_PATHNAME) { in fnmatchx()
181 if (test == '/' && flags & FNM_PATHNAME) in fnmatchx()
189 if (*string == '/' && flags & FNM_PATHNAME) in fnmatchx()
/netbsd/external/gpl2/xcvs/dist/lib/
H A Dfnmatch_.h27 # undef FNM_PATHNAME
32 # define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
37 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dfnmatch_.h27 # undef FNM_PATHNAME
32 # define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
37 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/mpl/bind/dist/contrib/dlz/modules/wildcard/
H A Ddlz_wildcard_dynamic.c64 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ macro
69 #define FNM_FILE_NAME FNM_PATHNAME
600 if (*string == '/' && (flags & FNM_PATHNAME)) { in fnmatch()
605 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
620 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
627 if (flags & FNM_PATHNAME) { in fnmatch()
637 } else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch()
651 if (test == '/' && flags & FNM_PATHNAME) { in fnmatch()
661 if (*string == '/' && (flags & FNM_PATHNAME)) { in fnmatch()
666 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
[all …]
/netbsd/external/gpl2/grep/dist/lib/
H A Dfnmatch.h44 #undef FNM_PATHNAME
49 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
54 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/dist/include/
H A 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. */
/netbsd/external/gpl2/diffutils/include/
H A Dfnmatch.h42 #undef FNM_PATHNAME
47 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
52 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/binutils.old/dist/include/
H A 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. */
/netbsd/external/gpl3/binutils/dist/include/
H A 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. */
/netbsd/external/gpl3/gcc.old/dist/include/
H A 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. */
/netbsd/external/gpl3/gdb.old/dist/include/
H A 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. */
/netbsd/external/gpl3/gcc/dist/include/
H A 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. */
/netbsd/external/gpl2/gmake/dist/glob/
H A Dfnmatch.h49 #undef FNM_PATHNAME
54 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ macro
59 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/dist/gnulib/import/
H A Dfnmatch.in.h45 #undef FNM_PATHNAME
50 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
55 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/
H A Dfnmatch.in.h45 #undef FNM_PATHNAME
50 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
55 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl2/diffutils/dist/lib/
H A Dfnmatch.hin42 #undef FNM_PATHNAME
47 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */
52 #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/
H A Dfnmatch.h525 #undef FNM_PATHNAME
530 #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match '/'. */ macro
535 # define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */

1234