HomeSort by relevance Sort by last modified time
    Searched refs:IsInSet (Results 1 - 3 of 3) sorted by null

  /external/gtest/src/
gtest-port.cc 136 bool IsInSet(char ch, const char* str) {
145 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~");
147 bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); }
148 bool IsWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); }
156 return (IsPunct(c) || IsInSet(c, "dDfnrsStvwW"));
229 } else if (IsInSet(ch, "()[]{}|")) {
239 prev_repeatable = !IsInSet(ch, "^$?*+");
gtest-internal-inl.h     [all...]
  /external/gtest/test/
gtest-port_test.cc 171 EXPECT_FALSE(IsInSet('\0', ""));
172 EXPECT_FALSE(IsInSet('\0', "\0"));
173 EXPECT_FALSE(IsInSet('\0', "a"));
177 EXPECT_FALSE(IsInSet('a', "Ab"));
178 EXPECT_FALSE(IsInSet('c', ""));
180 EXPECT_TRUE(IsInSet('b', "bcd"));
181 EXPECT_TRUE(IsInSet('b', "ab"));

Completed in 209 milliseconds