Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc203 bool IsInSet(char ch, const char* str) { in IsInSet() function
212 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~"); in IsAsciiPunct()
214 bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); } in IsRepeat()
215 bool IsAsciiWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); } in IsAsciiWhiteSpace()
223 return (IsAsciiPunct(c) || IsInSet(c, "dDfnrsStvwW")); in IsValidEscape()
296 } else if (IsInSet(ch, "()[]{}|")) { in ValidateRegex()
306 prev_repeatable = !IsInSet(ch, "^$?*+"); in ValidateRegex()
Dgtest-internal-inl.h938 GTEST_API_ bool IsInSet(char ch, const char* str);
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-port_test.cc472 EXPECT_FALSE(IsInSet('\0', "")); in TEST()
473 EXPECT_FALSE(IsInSet('\0', "\0")); in TEST()
474 EXPECT_FALSE(IsInSet('\0', "a")); in TEST()
478 EXPECT_FALSE(IsInSet('a', "Ab")); in TEST()
479 EXPECT_FALSE(IsInSet('c', "")); in TEST()
481 EXPECT_TRUE(IsInSet('b', "bcd")); in TEST()
482 EXPECT_TRUE(IsInSet('b', "ab")); in TEST()