Searched refs:MatchPattern (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/strings/ |
D | pattern_unittest.cc | 12 EXPECT_TRUE(MatchPattern("www.google.com", "*.com")); in TEST() 13 EXPECT_TRUE(MatchPattern("www.google.com", "*")); in TEST() 14 EXPECT_FALSE(MatchPattern("www.google.com", "www*.g*.org")); in TEST() 15 EXPECT_TRUE(MatchPattern("Hello", "H?l?o")); in TEST() 16 EXPECT_FALSE(MatchPattern("www.google.com", "http://*)")); in TEST() 17 EXPECT_FALSE(MatchPattern("www.msn.com", "*.COM")); in TEST() 18 EXPECT_TRUE(MatchPattern("Hello*1234", "He??o\\*1*")); in TEST() 19 EXPECT_FALSE(MatchPattern("", "*.*")); in TEST() 20 EXPECT_TRUE(MatchPattern("", "*")); in TEST() 21 EXPECT_TRUE(MatchPattern("", "?")); in TEST() [all …]
|
D | pattern.h | 18 BASE_EXPORT bool MatchPattern(StringPiece string, StringPiece pattern); 19 BASE_EXPORT bool MatchPattern(StringPiece16 string, StringPiece16 pattern);
|
D | pattern.cc | 145 bool MatchPattern(StringPiece eval, StringPiece pattern) { in MatchPattern() function 150 bool MatchPattern(StringPiece16 eval, StringPiece16 pattern) { in MatchPattern() function
|
/external/clang/tools/driver/ |
D | driver.cpp | 117 StringRef MatchPattern = Edit.substr(2).split('/').first; in ApplyOneQAOverride() local 125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride()
|