Searched refs:FNM_PATHNAME (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/posix/c_lib_ext/src/ |
D | fnmatch.c | 28 zassert_equal(fnmatch("a[a/z]*.c", "a/x.c", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 29 zassert_ok(fnmatch("a/*.c", "a/x.c", FNM_PATHNAME)); in ZTEST() 30 zassert_equal(fnmatch("a*.c", "a/x.c", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 31 zassert_ok(fnmatch("*/foo", "/foo", FNM_PATHNAME)); in ZTEST() 41 zassert_equal(fnmatch("a[/]b", "a/b", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 43 zassert_equal(fnmatch("*", "a/b", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 44 zassert_equal(fnmatch("*[/]b", "a/b", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 45 zassert_equal(fnmatch("*[b]", "a/b", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 62 zassert_equal(fnmatch("???b", "aa/b", FNM_PATHNAME), FNM_NOMATCH); in ZTEST() 63 zassert_equal(fnmatch("?a/b", ".a/b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST() [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | fnmatch.c | 150 if (*string == '/' && (flags & FNM_PATHNAME)) { in fnmatchx() 156 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) { in fnmatchx() 171 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) { in fnmatchx() 177 if (flags & FNM_PATHNAME) { in fnmatchx() 185 } else if (c == '/' && flags & FNM_PATHNAME) { in fnmatchx() 207 if (test == '/' && flags & FNM_PATHNAME) { in fnmatchx() 220 if (*string == '/' && flags & FNM_PATHNAME) { in fnmatchx()
|
/Zephyr-latest/include/zephyr/posix/ |
D | fnmatch.h | 44 #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ macro
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_core.c | 730 (FNM_PATHNAME | FNM_LEADING_DIR)); in get_resource_detail()
|