Home
last modified time | relevance | path

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

/external/libchrome/base/json/
Djson_parser.cc176 Optional<char> JSONParser::PeekChar() { in PeekChar() function in base::internal::JSONParser
205 Optional<char> c = PeekChar(); in GetNextToken()
248 while (Optional<char> c = PeekChar()) { in EatWhitespaceAndComments()
279 while (Optional<char> c = PeekChar()) { in EatComment()
287 while (Optional<char> c = PeekChar()) { in EatComment()
454 while (PeekChar()) { in ConsumeStringRaw()
625 if (PeekChar() == '-') in ConsumeNumber()
635 if (PeekChar() == '.') { in ConsumeNumber()
645 Optional<char> c = PeekChar(); in ConsumeNumber()
648 if (PeekChar() == '-' || PeekChar() == '+') { in ConsumeNumber()
[all …]
Djson_parser_unittest.cc43 EXPECT_EQ(',', *parser->PeekChar()); in TestLastThree()
45 EXPECT_EQ('|', *parser->PeekChar()); in TestLastThree()
59 EXPECT_EQ(input[i], *parser->PeekChar()); in TEST_F()
Djson_parser.h135 Optional<char> PeekChar();