Home
last modified time | relevance | path

Searched refs:FNM_PERIOD (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/posix/c_lib_ext/src/
Dfnmatch.c22 zassert_equal(fnmatch("*.c", ".foo.c", FNM_PERIOD), FNM_NOMATCH); in ZTEST()
23 zassert_ok(fnmatch("*.c", "foo.c", FNM_PERIOD)); in ZTEST()
39 zassert_equal(fnmatch("*LIB*", "lib", FNM_PERIOD), FNM_NOMATCH); in ZTEST()
63 zassert_equal(fnmatch("?a/b", ".a/b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST()
64 zassert_equal(fnmatch("a/?b", "a/.b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST()
65 zassert_equal(fnmatch("*a/b", ".a/b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST()
66 zassert_equal(fnmatch("a/*b", "a/.b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST()
69 zassert_ok(fnmatch("*/?", "a/b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
70 zassert_ok(fnmatch("?/*", "a/b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
71 zassert_ok(fnmatch(".*/?", ".a/b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/posix/
Dfnmatch.h45 #define FNM_PERIOD 0x04 /* Period must be matched by period. */ macro
/Zephyr-latest/lib/posix/options/
Dfnmatch.c154 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatchx()
169 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatchx()
201 int e = fnmatchx(pattern, string, flags & ~FNM_PERIOD, recursion); in fnmatchx()