Searched refs:MatchRegexAnywhere (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-port_test.cc | 851 EXPECT_FALSE(MatchRegexAnywhere("", NULL)); in TEST() 855 EXPECT_FALSE(MatchRegexAnywhere("^a", "ba")); in TEST() 856 EXPECT_FALSE(MatchRegexAnywhere("^$", "a")); in TEST() 858 EXPECT_TRUE(MatchRegexAnywhere("^a", "ab")); in TEST() 859 EXPECT_TRUE(MatchRegexAnywhere("^", "ab")); in TEST() 860 EXPECT_TRUE(MatchRegexAnywhere("^$", "")); in TEST() 864 EXPECT_FALSE(MatchRegexAnywhere("a", "bcde123")); in TEST() 865 EXPECT_FALSE(MatchRegexAnywhere("a.+a", "--aa88888888")); in TEST() 869 EXPECT_TRUE(MatchRegexAnywhere("\\w+", "ab1_ - 5")); in TEST() 870 EXPECT_TRUE(MatchRegexAnywhere(".*=", "=")); in TEST() [all …]
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-port.cc | 383 bool MatchRegexAnywhere(const char* regex, const char* str) { in MatchRegexAnywhere() function 407 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch() 413 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
|
D | gtest-internal-inl.h | 950 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|