Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-port_test.cc613 EXPECT_FALSE(AtomMatchesChar(true, '\\', '\0')); in TEST()
614 EXPECT_FALSE(AtomMatchesChar(true, '\\', ' ')); in TEST()
615 EXPECT_FALSE(AtomMatchesChar(true, '_', '.')); in TEST()
616 EXPECT_FALSE(AtomMatchesChar(true, '.', 'a')); in TEST()
618 EXPECT_TRUE(AtomMatchesChar(true, '\\', '\\')); in TEST()
619 EXPECT_TRUE(AtomMatchesChar(true, '_', '_')); in TEST()
620 EXPECT_TRUE(AtomMatchesChar(true, '+', '+')); in TEST()
621 EXPECT_TRUE(AtomMatchesChar(true, '.', '.')); in TEST()
625 EXPECT_FALSE(AtomMatchesChar(true, 'd', '\0')); in TEST()
626 EXPECT_FALSE(AtomMatchesChar(true, 'd', 'a')); in TEST()
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc228 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() function
338 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead()
370 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
Dgtest-internal-inl.h945 GTEST_API_ bool AtomMatchesChar(bool escaped, char pattern, char ch);