Searched refs:JSON_ALLOW_TRAILING_COMMAS (Results 1 – 16 of 16) sorted by relevance
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 258 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 …]
|
D | json_reader.h | 51 JSON_ALLOW_TRAILING_COMMAS = 1 << 0, enumerator
|
D | json_value_serializer_unittest.cc | 139 JSON_ALLOW_TRAILING_COMMAS); in TEST() 193 JSON_ALLOW_TRAILING_COMMAS); in TEST() 206 JSON_ALLOW_TRAILING_COMMAS); in TEST()
|
D | json_parser.cc | 377 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/cronet/base/json/ |
D | json_reader_unittest.cc | 302 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST() 336 JSON_ALLOW_TRAILING_COMMAS); in TEST() 347 EXPECT_FALSE(JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 359 JSONReader::Read("[true,]", JSON_ALLOW_TRAILING_COMMAS); in TEST() 372 EXPECT_FALSE(JSONReader::Read("[,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 373 EXPECT_FALSE(JSONReader::Read("[true,,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 374 EXPECT_FALSE(JSONReader::Read("[,true,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 375 EXPECT_FALSE(JSONReader::Read("[true,,false]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 407 JSON_PARSE_CHROMIUM_EXTENSIONS | JSON_ALLOW_TRAILING_COMMAS); in TEST() 422 JSON_PARSE_CHROMIUM_EXTENSIONS | JSON_ALLOW_TRAILING_COMMAS); in TEST() [all …]
|
D | json_reader.h | 55 JSON_ALLOW_TRAILING_COMMAS = 1 << 0, enumerator
|
D | json_value_serializer_unittest.cc | 143 JSON_ALLOW_TRAILING_COMMAS); in TEST() 197 JSON_ALLOW_TRAILING_COMMAS); in TEST() 210 JSON_ALLOW_TRAILING_COMMAS); in TEST()
|
D | json_parser.cc | 457 if (token == T_OBJECT_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { in ConsumeDictionary() 503 if (token == T_ARRAY_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { in ConsumeList()
|
D | json_reader.cc | 87 (options & base::JSON_ALLOW_TRAILING_COMMAS) != 0, in DecodeJSONInRust()
|
D | json_writer_unittest.cc | 187 nested_json, JSON_ALLOW_TRAILING_COMMAS); in TEST()
|
/external/libchrome/base/test/ |
D | values_test_util.cc | 67 json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr, &error_msg); in ParseJson()
|
/external/libchrome/components/policy/core/common/ |
D | policy_proto_decoders.cc | 93 json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr, error); in DecodeJsonProto()
|
D | config_dir_policy_loader.cc | 149 base::JSON_ALLOW_TRAILING_COMMAS); in LoadFromPath()
|
/external/cronet/base/test/ |
D | values_test_util.cc | 173 json, JSON_PARSE_CHROMIUM_EXTENSIONS | JSON_ALLOW_TRAILING_COMMAS); in ParseJsonHelper()
|
/external/cronet/net/cert/ |
D | crl_set.cc | 74 base::JSONReader::Read(header_bytes, base::JSON_ALLOW_TRAILING_COMMAS); in ReadHeader()
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 159 base::JSON_ALLOW_TRAILING_COMMAS, in DecodeListValueFromJSON()
|