Home
last modified time | relevance | path

Searched refs:JSON_PARSE_RFC (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/json/
Djson_parser_unittest.cc24 int options = JSON_PARSE_RFC) { in NewTestParser()
229 "[42]", JSON_PARSE_RFC, &error_code, &error_message); 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()
[all …]
Djson_reader.h48 JSON_PARSE_RFC = 0, enumerator
90 JSONReader(int options = JSON_PARSE_RFC, int max_depth = kStackMaxDepth);
99 int options = JSON_PARSE_RFC,
Djson_reader_unittest.cc587 JSON_PARSE_RFC); in TEST()
659 root = JSONReader::Read(json, JSON_PARSE_RFC, 3); in TEST()
661 root = JSONReader::Read(json, JSON_PARSE_RFC, 4); in TEST()
/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()