Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DGlobPatternTest.cpp24 Expected<GlobPattern> Pat2 = GlobPattern::create("ab*c*def"); in TEST_F() local
25 EXPECT_TRUE((bool)Pat2); in TEST_F()
26 EXPECT_TRUE(Pat2->match("abcdef")); in TEST_F()
27 EXPECT_TRUE(Pat2->match("abxcxdef")); in TEST_F()
28 EXPECT_FALSE(Pat2->match("")); in TEST_F()
29 EXPECT_FALSE(Pat2->match("xabcdef")); in TEST_F()
30 EXPECT_FALSE(Pat2->match("abcdefx")); in TEST_F()
75 Expected<GlobPattern> Pat2 = GlobPattern::create("[\xFF-\xFF]"); in TEST_F() local
76 EXPECT_TRUE((bool)Pat2); in TEST_F()
77 EXPECT_TRUE(Pat2->match("\xFF")); in TEST_F()