Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/json/
Djson_parser_unittest.cc209 scoped_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_reader.h107 static scoped_ptr<Value> ReadAndReturnError(const StringPiece& json,
Djson_reader.cc59 scoped_ptr<Value> JSONReader::ReadAndReturnError(const StringPiece& json, in ReadAndReturnError() function in base::JSONReader
/external/libchrome/base/json/
Djson_parser_unittest.cc208 scoped_ptr<Value> root = JSONReader::ReadAndReturnError( in TEST_F()
216 root = JSONReader::ReadAndReturnError(big_json, JSON_PARSE_RFC, &error_code, in TEST_F()
229 root = JSONReader::ReadAndReturnError(big_json_crlf, JSON_PARSE_RFC, in TEST_F()
237 root = JSONReader::ReadAndReturnError("{},{}", JSON_PARSE_RFC, &error_code, in TEST_F()
249 root = JSONReader::ReadAndReturnError(nested_json, JSON_PARSE_RFC, in TEST_F()
256 root = JSONReader::ReadAndReturnError("[1,]", JSON_PARSE_RFC, &error_code, in TEST_F()
263 root = JSONReader::ReadAndReturnError("{foo:\"bar\"}", JSON_PARSE_RFC, in TEST_F()
270 root = JSONReader::ReadAndReturnError("{\"foo\":\"bar\",}", JSON_PARSE_RFC, in TEST_F()
276 root = JSONReader::ReadAndReturnError("[nu]", JSON_PARSE_RFC, &error_code, in TEST_F()
283 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 scoped_ptr<Value> ReadAndReturnError(const StringPiece& json,
Djson_reader.cc59 scoped_ptr<Value> JSONReader::ReadAndReturnError(const StringPiece& json, in ReadAndReturnError() function in base::JSONReader
/external/libweave/src/test/
Dunittest_utils.cc21 base::JSONReader::ReadAndReturnError(json2, base::JSON_PARSE_RFC, &error, in CreateValue()
/external/libweave/src/
Dutils.cc42 auto value = base::JSONReader::ReadAndReturnError( in LoadJsonDict()
Ddevice_registration_info.cc206 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseJsonResponse()
/external/libbrillo/brillo/
Dvalue_conversion_unittest.cc34 base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC,nullptr, in ParseValue()
/external/libbrillo/brillo/http/
Dhttp_utils.cc398 auto value = base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, in ParseJsonResponse()
/external/libweave/src/privet/
Dprivet_handler_unittest.cc44 base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC, &error, in LoadTestJson()