Home
last modified time | relevance | path

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

/third_party/gn/src/base/json/
Djson_parser.cc174 std::optional<char> JSONParser::PeekChar() { in PeekChar() function in base::internal::JSONParser
203 std::optional<char> c = PeekChar(); in GetNextToken()
246 while (std::optional<char> c = PeekChar()) { in EatWhitespaceAndComments()
277 while (std::optional<char> c = PeekChar()) { in EatComment()
285 while (std::optional<char> c = PeekChar()) { in EatComment()
452 while (PeekChar()) { in ConsumeStringRaw()
622 if (PeekChar() == '-') in ConsumeNumber()
632 if (PeekChar() == '.') { in ConsumeNumber()
642 std::optional<char> c = PeekChar(); in ConsumeNumber()
645 if (PeekChar() == '-' || PeekChar() == '+') { in ConsumeNumber()
[all …]
Djson_parser.h133 std::optional<char> PeekChar();