• Home
  • Raw
  • Download

Lines Matching refs:JSONReader

65       error_code_(JSONReader::JSON_NO_ERROR),  in JSONParser()
68 CHECK_LE(max_depth, JSONReader::kStackMaxDepth); in JSONParser()
79 error_code_ = JSONReader::JSON_NO_ERROR; in Parse()
86 ReportError(JSONReader::JSON_TOO_LARGE, 0); in Parse()
102 ReportError(JSONReader::JSON_UNEXPECTED_DATA_AFTER_ROOT, 1); in Parse()
109 JSONReader::JsonParseError JSONParser::error_code() const { in error_code()
115 JSONReader::ErrorCodeToString(error_code_)); in GetErrorMessage()
323 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ParseToken()
330 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ConsumeDictionary()
336 ReportError(JSONReader::JSON_TOO_MUCH_NESTING, 0); in ConsumeDictionary()
345 ReportError(JSONReader::JSON_UNQUOTED_DICTIONARY_KEY, 1); in ConsumeDictionary()
358 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeDictionary()
378 ReportError(JSONReader::JSON_TRAILING_COMMA, 1); in ConsumeDictionary()
382 ReportError(JSONReader::JSON_SYNTAX_ERROR, 0); in ConsumeDictionary()
394 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ConsumeList()
400 ReportError(JSONReader::JSON_TOO_MUCH_NESTING, 0); in ConsumeList()
421 ReportError(JSONReader::JSON_TRAILING_COMMA, 1); in ConsumeList()
425 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeList()
445 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ConsumeStringRaw()
462 ReportError(JSONReader::JSON_UNSUPPORTED_ENCODING, 1); in ConsumeStringRaw()
488 ReportError(JSONReader::JSON_INVALID_ESCAPE, 0); in ConsumeStringRaw()
499 ReportError(JSONReader::JSON_INVALID_ESCAPE, -2); in ConsumeStringRaw()
506 ReportError(JSONReader::JSON_INVALID_ESCAPE, -2); in ConsumeStringRaw()
517 ReportError(JSONReader::JSON_INVALID_ESCAPE, 0); in ConsumeStringRaw()
552 ReportError(JSONReader::JSON_INVALID_ESCAPE, 0); in ConsumeStringRaw()
558 ReportError(JSONReader::JSON_SYNTAX_ERROR, 0); in ConsumeStringRaw()
629 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeNumber()
638 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeNumber()
652 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeNumber()
671 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeNumber()
724 ReportError(JSONReader::JSON_SYNTAX_ERROR, 1); in ConsumeLiteral()
737 void JSONParser::ReportError(JSONReader::JsonParseError code, in ReportError()