Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-port_test.cc805 EXPECT_TRUE(MatchRegexAtHead("", "")); in TEST()
806 EXPECT_TRUE(MatchRegexAtHead("", "ab")); in TEST()
810 EXPECT_FALSE(MatchRegexAtHead("$", "a")); in TEST()
812 EXPECT_TRUE(MatchRegexAtHead("$", "")); in TEST()
813 EXPECT_TRUE(MatchRegexAtHead("a$", "a")); in TEST()
817 EXPECT_FALSE(MatchRegexAtHead("\\w", "+")); in TEST()
818 EXPECT_FALSE(MatchRegexAtHead("\\W", "ab")); in TEST()
820 EXPECT_TRUE(MatchRegexAtHead("\\sa", "\nab")); in TEST()
821 EXPECT_TRUE(MatchRegexAtHead("\\d", "1a")); in TEST()
825 EXPECT_FALSE(MatchRegexAtHead(".+a", "abc")); in TEST()
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc331 if (i >= min_count && MatchRegexAtHead(regex, str + i)) { in MatchRepetitionAndRegexAtHead()
347 bool MatchRegexAtHead(const char* regex, const char* str) { in MatchRegexAtHead() function
371 MatchRegexAtHead(regex + 1, str + 1); in MatchRegexAtHead()
388 return MatchRegexAtHead(regex + 1, str); in MatchRegexAnywhere()
392 if (MatchRegexAtHead(regex, str)) in MatchRegexAnywhere()
Dgtest-internal-inl.h947 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str);