Searched refs:JSONReader (Results 1 – 11 of 11) sorted by relevance
| /third_party/gn/src/base/json/ |
| D | json_reader.cc | 18 const int JSONReader::kStackMaxDepth = 200; 21 static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, 24 const char JSONReader::kInvalidEscape[] = "Invalid escape sequence."; 25 const char JSONReader::kSyntaxError[] = "Syntax error."; 26 const char JSONReader::kUnexpectedToken[] = "Unexpected token."; 27 const char JSONReader::kTrailingComma[] = "Trailing comma not allowed."; 28 const char JSONReader::kTooMuchNesting[] = "Too much nesting."; 29 const char JSONReader::kUnexpectedDataAfterRoot[] = 31 const char JSONReader::kUnsupportedEncoding[] = 33 const char JSONReader::kUnquotedDictionaryKey[] = [all …]
|
| D | json_parser.cc | 63 error_code_(JSONReader::JSON_NO_ERROR), in JSONParser() 66 CHECK_LE(max_depth, JSONReader::kStackMaxDepth); in JSONParser() 77 error_code_ = JSONReader::JSON_NO_ERROR; in Parse() 84 ReportError(JSONReader::JSON_TOO_LARGE, 0); in Parse() 100 ReportError(JSONReader::JSON_UNEXPECTED_DATA_AFTER_ROOT, 1); in Parse() 107 JSONReader::JsonParseError JSONParser::error_code() const { in error_code() 113 JSONReader::ErrorCodeToString(error_code_)); in GetErrorMessage() 321 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ParseToken() 328 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ConsumeDictionary() 334 ReportError(JSONReader::JSON_TOO_MUCH_NESTING, 0); in ConsumeDictionary() [all …]
|
| D | json_parser.h | 44 JSONParser(int options, int max_depth = JSONReader::kStackMaxDepth); 54 JSONReader::JsonParseError error_code() const; 205 void ReportError(JSONReader::JsonParseError code, int column_adjust); 235 JSONReader::JsonParseError error_code_;
|
| D | json_reader.h | 57 class JSONReader { 88 JSONReader(int options = JSON_PARSE_RFC, int max_depth = kStackMaxDepth); 90 ~JSONReader();
|
| /third_party/gn/src/gn/ |
| D | ohos_components.cc | 114 …std::unique_ptr<base::Value> components_value = base::JSONReader::ReadAndReturnError(components_co… in LoadComponentInfo() 291 std::unique_ptr<base::Value> override_value = base::JSONReader::ReadAndReturnError(override_map, in LoadOverrideMap() 318 std::unique_ptr<base::Value> content_value = base::JSONReader::ReadAndReturnError(content, in LoadToolchain()
|
| D | ohos_components_mapping.cc | 64 std::unique_ptr<base::Value> mapping = base::JSONReader::ReadAndReturnError(mappingContent, in LoadMappingFile()
|
| D | input_conversion.cc | 188 std::unique_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( in ParseJSON()
|
| D | analyzer.cc | 126 std::unique_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( in JSONToInputs()
|
| D | ohos_components_checker.cc | 189 std::unique_ptr<base::Value> whitelist = base::JSONReader::ReadAndReturnError(whitelistContent, in LoadWhitelist()
|
| D | command_format.cc | 1261 base::JSONReader reader; in FormatJsonToString()
|
| /third_party/node/tools/inspector_protocol/lib/ |
| D | base_string_adapter_cc.template | 139 std::unique_ptr<base::Value> value = base::JSONReader::ReadDeprecated(message);
|