Lines Matching refs:match_pattern
27 ASSERT_INT_EQ(match_pattern("", ""), 1); in tests()
28 ASSERT_INT_EQ(match_pattern("", "aaa"), 0); in tests()
29 ASSERT_INT_EQ(match_pattern("aaa", ""), 0); in tests()
30 ASSERT_INT_EQ(match_pattern("aaa", "aaaa"), 0); in tests()
31 ASSERT_INT_EQ(match_pattern("aaaa", "aaa"), 0); in tests()
35 ASSERT_INT_EQ(match_pattern("", "*"), 1); in tests()
36 ASSERT_INT_EQ(match_pattern("a", "?"), 1); in tests()
37 ASSERT_INT_EQ(match_pattern("aa", "a?"), 1); in tests()
38 ASSERT_INT_EQ(match_pattern("a", "*"), 1); in tests()
39 ASSERT_INT_EQ(match_pattern("aa", "a*"), 1); in tests()
40 ASSERT_INT_EQ(match_pattern("aa", "?*"), 1); in tests()
41 ASSERT_INT_EQ(match_pattern("aa", "**"), 1); in tests()
42 ASSERT_INT_EQ(match_pattern("aa", "?a"), 1); in tests()
43 ASSERT_INT_EQ(match_pattern("aa", "*a"), 1); in tests()
44 ASSERT_INT_EQ(match_pattern("ba", "a?"), 0); in tests()
45 ASSERT_INT_EQ(match_pattern("ba", "a*"), 0); in tests()
46 ASSERT_INT_EQ(match_pattern("ab", "?a"), 0); in tests()
47 ASSERT_INT_EQ(match_pattern("ab", "*a"), 0); in tests()