Home
last modified time | relevance | path

Searched refs:ReadAndReturnError (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/json/
Djson_parser_unittest.cc228 std::unique_ptr<Value> root = JSONReader::ReadAndReturnError( in TEST_F()
236 root = JSONReader::ReadAndReturnError(big_json, JSON_PARSE_RFC, &error_code, in TEST_F()
249 root = JSONReader::ReadAndReturnError(big_json_crlf, JSON_PARSE_RFC, in TEST_F()
257 root = JSONReader::ReadAndReturnError("{},{}", JSON_PARSE_RFC, &error_code, in TEST_F()
269 root = JSONReader::ReadAndReturnError(nested_json, JSON_PARSE_RFC, in TEST_F()
276 root = JSONReader::ReadAndReturnError("[1,]", JSON_PARSE_RFC, &error_code, in TEST_F()
283 root = JSONReader::ReadAndReturnError("{foo:\"bar\"}", JSON_PARSE_RFC, in TEST_F()
290 root = JSONReader::ReadAndReturnError("{\"foo\":\"bar\",}", JSON_PARSE_RFC, in TEST_F()
296 root = JSONReader::ReadAndReturnError("[nu]", JSON_PARSE_RFC, &error_code, in TEST_F()
303 root = JSONReader::ReadAndReturnError("[\"xxx\\xq\"]", JSON_PARSE_RFC, in TEST_F()
[all …]
Djson_correctness_fuzzer.cc38 auto parsed_value = base::JSONReader::ReadAndReturnError( in LLVMFuzzerTestOneInput()
48 auto double_parsed_value = base::JSONReader::ReadAndReturnError( in LLVMFuzzerTestOneInput()
Djson_reader_fuzzer.cc24 base::JSONReader::ReadAndReturnError(input_string, options, &error_code, in LLVMFuzzerTestOneInput()
Djson_string_value_serializer.cc53 return base::JSONReader::ReadAndReturnError(json_string_, options_, in Deserialize()
Djson_reader.h106 static std::unique_ptr<Value> ReadAndReturnError(
Djson_reader.cc60 std::unique_ptr<Value> JSONReader::ReadAndReturnError( in ReadAndReturnError() function in base::JSONReader
/external/libchrome/base/test/
Dvalues_test_util.cc66 std::unique_ptr<Value> result = base::JSONReader::ReadAndReturnError( in ParseJson()
/external/libchrome/libchrome_tools/patches/
Dr680000-forward-compatibility-patch-part-1.patch10 - Add JSONReader::{Read,ReadAndReturnError,ReadToValue}Deprecated, alias
138 + return ReadAndReturnError(json, options, error_code_out, error_msg_out,
/external/libchrome/components/policy/core/common/
Dpolicy_proto_decoders.cc92 base::JSONReader::ReadAndReturnError( in DecodeJsonProto()
/external/libbrillo/brillo/
Dvalue_conversion_test.cc34 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseValue()
/external/libbrillo/brillo/http/
Dhttp_utils.cc399 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseJsonResponse()
/external/libbrillo/policy/
Ddevice_policy_impl.cc158 base::JSONReader::ReadAndReturnError(json_string, in DecodeListValueFromJSON()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc418 std::unique_ptr<base::Value> json = base::JSONReader::ReadAndReturnError( in IsValidSchema()