Home
last modified time | relevance | path

Searched refs:IsWordChar (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/gtest/test/
Dgtest-port_test.cc317 EXPECT_FALSE(IsWordChar('\0')); in TEST()
318 EXPECT_FALSE(IsWordChar('+')); in TEST()
319 EXPECT_FALSE(IsWordChar('.')); in TEST()
320 EXPECT_FALSE(IsWordChar(' ')); in TEST()
321 EXPECT_FALSE(IsWordChar('\n')); in TEST()
325 EXPECT_TRUE(IsWordChar('a')); in TEST()
326 EXPECT_TRUE(IsWordChar('b')); in TEST()
327 EXPECT_TRUE(IsWordChar('A')); in TEST()
328 EXPECT_TRUE(IsWordChar('Z')); in TEST()
332 EXPECT_TRUE(IsWordChar('0')); in TEST()
[all …]
/external/regex-re2/re2/
Dprog.cc282 if (IsWordChar(p[0])) in EmptyFlags()
285 if (IsWordChar(p[-1])) in EmptyFlags()
288 if (IsWordChar(p[-1]) != IsWordChar(p[0])) in EmptyFlags()
Dnfa.cc471 wasword = Prog::IsWordChar(c); in Search()
494 isword = Prog::IsWordChar(p[0] & 0xFF); in Search()
577 isword = Prog::IsWordChar(p[0] & 0xFF); in Search()
Dprog.h240 static bool IsWordChar(uint8 c) { in IsWordChar() function
Ddfa.cc1024 bool isword = (c != kByteEndText && Prog::IsWordChar(c)); in RunStateOnByte()
1632 } else if (Prog::IsWordChar(text.begin()[-1] & 0xFF)) { in AnalyzeSearch()
1646 } else if (Prog::IsWordChar(text.end()[0] & 0xFF)) { in AnalyzeSearch()
Dcompile.cc439 for (j = i+1; j < 256 && Prog::IsWordChar(i) == Prog::IsWordChar(j); j++) in EmptyWidth()
/external/protobuf/gtest/src/
Dgtest-port.cc189 bool IsWordChar(char ch) { in IsWordChar() function
213 case 'w': return IsWordChar(ch); in AtomMatchesChar()
214 case 'W': return !IsWordChar(ch); in AtomMatchesChar()
Dgtest-internal-inl.h962 GTEST_API_ bool IsWordChar(char ch);
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc1356 GTEST_API_ bool IsWordChar(char ch);
7772 bool IsWordChar(char ch) { in IsWordChar() function
7796 case 'w': return IsWordChar(ch); in AtomMatchesChar()
7797 case 'W': return !IsWordChar(ch); in AtomMatchesChar()