Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-port_test.cc851 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/
Dgtest-port.cc383 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()
Dgtest-internal-inl.h950 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);