Searched refs:MatchRegexAtHead (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-port_test.cc | 805 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/ |
D | gtest-port.cc | 331 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()
|
D | gtest-internal-inl.h | 947 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str);
|