Home
last modified time | relevance | path

Searched refs:ReadAndReturnError (Results 1 – 10 of 10) 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/libbrillo/brillo/
Dvalue_conversion_unittest.cc34 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseValue()
/external/libbrillo/policy/
Ddevice_policy_impl.cc152 base::JSONReader::ReadAndReturnError(json_string, in DecodeListValueFromJSON()
/external/libbrillo/brillo/http/
Dhttp_utils.cc399 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseJsonResponse()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc418 std::unique_ptr<base::Value> json = base::JSONReader::ReadAndReturnError( in IsValidSchema()