Home
last modified time | relevance | path

Searched refs:JSON_ALLOW_TRAILING_COMMAS (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/json/
Djson_reader_unittest.cc258 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
277 JSON_ALLOW_TRAILING_COMMAS); in TEST()
287 EXPECT_FALSE(JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
299 ListValue::From(JSONReader::Read("[true,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
313 EXPECT_FALSE(JSONReader::Read("[,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
314 EXPECT_FALSE(JSONReader::Read("[true,,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
315 EXPECT_FALSE(JSONReader::Read("[,true,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
316 EXPECT_FALSE(JSONReader::Read("[true,,false]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
341 JSON_ALLOW_TRAILING_COMMAS); in TEST()
352 JSON_ALLOW_TRAILING_COMMAS); in TEST()
[all …]
Djson_reader.h51 JSON_ALLOW_TRAILING_COMMAS = 1 << 0, enumerator
Djson_value_serializer_unittest.cc139 JSON_ALLOW_TRAILING_COMMAS); in TEST()
193 JSON_ALLOW_TRAILING_COMMAS); in TEST()
206 JSON_ALLOW_TRAILING_COMMAS); in TEST()
Djson_parser.cc377 if (token == T_OBJECT_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { in ConsumeDictionary()
420 if (token == T_ARRAY_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { in ConsumeList()
/external/libchrome/base/test/
Dvalues_test_util.cc67 json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr, &error_msg); in ParseJson()
/external/libchrome/components/policy/core/common/
Dpolicy_proto_decoders.cc93 json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr, error); in DecodeJsonProto()
Dconfig_dir_policy_loader.cc149 base::JSON_ALLOW_TRAILING_COMMAS); in LoadFromPath()
/external/libbrillo/policy/
Ddevice_policy_impl.cc159 base::JSON_ALLOW_TRAILING_COMMAS, in DecodeListValueFromJSON()