Searched refs:MatchPattern (Results 1 – 7 of 7) 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 | 19 BASE_EXPORT bool MatchPattern(const StringPiece& string, 21 BASE_EXPORT bool MatchPattern(const StringPiece16& string,
|
D | pattern.cc | 157 bool MatchPattern(const StringPiece& eval, const StringPiece& pattern) { in MatchPattern() function 163 bool MatchPattern(const StringPiece16& eval, const StringPiece16& pattern) { in MatchPattern() function
|
/external/libchrome/base/trace_event/ |
D | trace_config.cc | 194 if (!base::MatchPattern(category_group_token.c_str(), in IsCategoryGroupEnabled() 207 if (base::MatchPattern(category_group_token.c_str(), ci->c_str())) { in IsCategoryGroupEnabled() 219 if (!base::MatchPattern(category_group_token.c_str(), in IsCategoryGroupEnabled() 642 if (base::MatchPattern(category_name, ci->c_str())) in IsCategoryEnabled() 646 if (base::MatchPattern(category_name, TRACE_DISABLED_BY_DEFAULT("*"))) in IsCategoryEnabled() 652 if (base::MatchPattern(category_name, ci->c_str())) in IsCategoryEnabled()
|
D | trace_event_unittest.cc | 2282 return base::MatchPattern(arg_name, "granular_arg_whitelisted"); in IsArgNameWhitelisted() 2288 if (base::MatchPattern(category_group_name, "toplevel") && in IsTraceEventArgsWhitelisted() 2289 base::MatchPattern(event_name, "*")) { in IsTraceEventArgsWhitelisted() 2293 if (base::MatchPattern(category_group_name, "benchmark") && in IsTraceEventArgsWhitelisted() 2294 base::MatchPattern(event_name, "granularly_whitelisted")) { in IsTraceEventArgsWhitelisted()
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 326 *result = base::MatchPattern(lhs, rhs); in CompareAsString() 328 *result = base::MatchPattern(rhs, lhs); in CompareAsString() 334 *result = !base::MatchPattern(lhs, rhs); in CompareAsString() 336 *result = !base::MatchPattern(rhs, lhs); in CompareAsString()
|
/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()
|