Home
last modified time | relevance | path

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

/external/libchrome/base/json/
Djson_parser_unittest.cc209 std::unique_ptr<Value> root = JSONReader::ReadAndReturnError( in TEST_F()
217 root = JSONReader::ReadAndReturnError(big_json, JSON_PARSE_RFC, &error_code, in TEST_F()
230 root = JSONReader::ReadAndReturnError(big_json_crlf, JSON_PARSE_RFC, in TEST_F()
238 root = JSONReader::ReadAndReturnError("{},{}", JSON_PARSE_RFC, &error_code, in TEST_F()
250 root = JSONReader::ReadAndReturnError(nested_json, JSON_PARSE_RFC, in TEST_F()
257 root = JSONReader::ReadAndReturnError("[1,]", JSON_PARSE_RFC, &error_code, in TEST_F()
264 root = JSONReader::ReadAndReturnError("{foo:\"bar\"}", JSON_PARSE_RFC, in TEST_F()
271 root = JSONReader::ReadAndReturnError("{\"foo\":\"bar\",}", JSON_PARSE_RFC, in TEST_F()
277 root = JSONReader::ReadAndReturnError("[nu]", JSON_PARSE_RFC, &error_code, in TEST_F()
284 root = JSONReader::ReadAndReturnError("[\"xxx\\xq\"]", JSON_PARSE_RFC, in TEST_F()
[all …]
Djson_string_value_serializer.cc54 return base::JSONReader::ReadAndReturnError( in Deserialize()
Djson_reader.h107 static std::unique_ptr<Value> ReadAndReturnError(
Djson_reader.cc59 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/brillo/http/
Dhttp_utils.cc399 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseJsonResponse()