Home
last modified time | relevance | path

Searched refs:CanConsume (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/json/
Djson_parser.cc231 if (CanConsume(3) && static_cast<uint8_t>(*pos_) == 0xEF && in Parse()
244 if (!CanConsume(1) || (NextChar() && GetNextToken() != T_END_OF_INPUT)) { in Parse()
349 inline bool JSONParser::CanConsume(int length) { in CanConsume() function in base::internal::JSONParser
354 DCHECK(CanConsume(1)); in NextChar()
361 DCHECK(CanConsume(n)); in NextNChars()
368 if (!CanConsume(1)) in GetNextToken()
434 if (*pos_ != '/' || !CanConsume(1)) in EatComment()
440 while (CanConsume(1)) { in EatComment()
448 while (CanConsume(1)) { in EatComment()
627 while (CanConsume(1)) { in ConsumeStringRaw()
[all …]
Djson_parser.h141 bool CanConsume(int length);
/external/libweave/third_party/chromium/base/json/
Djson_parser.cc226 if (CanConsume(3) && static_cast<uint8_t>(*pos_) == 0xEF && in Parse()
239 if (!CanConsume(1) || (NextChar() && GetNextToken() != T_END_OF_INPUT)) { in Parse()
344 inline bool JSONParser::CanConsume(int length) { in CanConsume() function in base::internal::JSONParser
349 DCHECK(CanConsume(1)); in NextChar()
356 DCHECK(CanConsume(n)); in NextNChars()
363 if (!CanConsume(1)) in GetNextToken()
429 if (*pos_ != '/' || !CanConsume(1)) in EatComment()
435 while (CanConsume(1)) { in EatComment()
443 while (CanConsume(1)) { in EatComment()
622 while (CanConsume(1)) { in ConsumeStringRaw()
[all …]
Djson_parser.h141 bool CanConsume(int length);