Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dpattern_unittest.cc12 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 …]
Dpattern.h18 BASE_EXPORT bool MatchPattern(StringPiece string, StringPiece pattern);
19 BASE_EXPORT bool MatchPattern(StringPiece16 string, StringPiece16 pattern);
Dpattern.cc145 bool MatchPattern(StringPiece eval, StringPiece pattern) { in MatchPattern() function
150 bool MatchPattern(StringPiece16 eval, StringPiece16 pattern) { in MatchPattern() function
/external/clang/tools/driver/
Ddriver.cpp117 StringRef MatchPattern = Edit.substr(2).split('/').first; in ApplyOneQAOverride() local
125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride()