Home
last modified time | relevance | path

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

/external/protobuf/gtest/test/
Dgtest-port_test.cc304 EXPECT_FALSE(IsWordChar('\0')); in TEST()
305 EXPECT_FALSE(IsWordChar('+')); in TEST()
306 EXPECT_FALSE(IsWordChar('.')); in TEST()
307 EXPECT_FALSE(IsWordChar(' ')); in TEST()
308 EXPECT_FALSE(IsWordChar('\n')); in TEST()
312 EXPECT_TRUE(IsWordChar('a')); in TEST()
313 EXPECT_TRUE(IsWordChar('b')); in TEST()
314 EXPECT_TRUE(IsWordChar('A')); in TEST()
315 EXPECT_TRUE(IsWordChar('Z')); in TEST()
319 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/chromium_org/third_party/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.cc1026 bool isword = (c != kByteEndText && Prog::IsWordChar(c)); in RunStateOnByte()
1634 } else if (Prog::IsWordChar(text.begin()[-1] & 0xFF)) { in AnalyzeSearch()
1648 } else if (Prog::IsWordChar(text.end()[0] & 0xFF)) { in AnalyzeSearch()
Dcompile.cc440 for (j = i+1; j < 256 && Prog::IsWordChar(i) == Prog::IsWordChar(j); j++) in EmptyWidth()
/external/protobuf/gtest/src/
Dgtest-port.cc180 bool IsWordChar(char ch) { in IsWordChar() function
204 case 'w': return IsWordChar(ch); in AtomMatchesChar()
205 case 'W': return !IsWordChar(ch); in AtomMatchesChar()
Dgtest-internal-inl.h1138 bool IsWordChar(char ch);