Searched refs:FNM_LEADING_DIR (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | fnmatch_test.cpp | 89 EXPECT_EQ(FNM_NOMATCH, fnmatch("ab", "abcd", FNM_LEADING_DIR)); in TEST() 90 EXPECT_EQ(0, fnmatch("ab*", "abcd", FNM_LEADING_DIR)); in TEST() 91 EXPECT_EQ(0, fnmatch("*ab*", "1/2/3/4/abcd", FNM_LEADING_DIR)); in TEST() 92 EXPECT_EQ(FNM_NOMATCH, fnmatch("*ab*", "1/2/3/4/abcd", FNM_PATHNAME | FNM_LEADING_DIR)); in TEST() 93 EXPECT_EQ(FNM_NOMATCH, fnmatch("ab?", "abcd", FNM_LEADING_DIR)); in TEST() 95 EXPECT_EQ(0, fnmatch("ab", "ab/cd", FNM_LEADING_DIR)); in TEST() 96 EXPECT_EQ(0, fnmatch("ab", "ab/cd", FNM_PATHNAME | FNM_LEADING_DIR)); in TEST() 99 EXPECT_EQ(FNM_NOMATCH, fnmatch("*ab", "1/2/3/4/ab/cd", FNM_PATHNAME | FNM_LEADING_DIR)); in TEST() 100 EXPECT_EQ(0, fnmatch("ab*", "ab/cd/ef", FNM_LEADING_DIR)); in TEST() 101 EXPECT_EQ(0, fnmatch("ab*", "ab/cd/ef", FNM_PATHNAME | FNM_LEADING_DIR)); in TEST() [all …]
|
/bionic/libc/include/ |
D | fnmatch.h | 53 #define FNM_LEADING_DIR 0x08 macro
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 289 const int leading_dir = !!(flags & FNM_LEADING_DIR); in fnmatch()
|