Lines Matching refs:FNM_PATHNAME

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()
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()
72 zassert_ok(fnmatch("*/.?", "a/.b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
73 zassert_equal(fnmatch("*/*", "a/.b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH); in ZTEST()
75 zassert_ok(fnmatch("*[.]/b", "a./b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
77 zassert_not_equal(fnmatch("*[![:digit:]]*/[![:d-d]", "a/b", FNM_PATHNAME), 0); in ZTEST()
78 zassert_not_equal(fnmatch("*[![:digit:]]*/[[:d-d]", "a/[", FNM_PATHNAME), 0); in ZTEST()
79 zassert_not_equal(fnmatch("*[![:digit:]]*/[![:d-d]", "a/[", FNM_PATHNAME), 0); in ZTEST()
80 zassert_ok(fnmatch("a?b", "a.b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
81 zassert_ok(fnmatch("a*b", "a.b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()
82 zassert_ok(fnmatch("a[.]b", "a.b", FNM_PATHNAME | FNM_PERIOD)); in ZTEST()