/external/libchrome/base/trace_event/ |
D | trace_event_argument_unittest.cc | 104 auto dict_value = WrapUnique(new DictionaryValue); in TEST() local 105 dict_value->SetBoolean("bool", true); in TEST() 106 dict_value->SetInteger("int", 42); in TEST() 107 dict_value->SetDouble("double", 42.0f); in TEST() 108 dict_value->SetString("string", std::string("a") + "b"); in TEST() 109 dict_value->SetString("string", std::string("a") + "b"); in TEST() 115 list_value->Append(std::move(dict_value)); in TEST() 122 dict_value.reset(); in TEST() 134 auto dict_value = std::make_unique<TracedValue>(); in TEST() local 135 dict_value->SetInteger("a", 1); in TEST() [all …]
|
D | trace_event_argument.cc | 280 const DictionaryValue* dict_value; in SetBaseValueWithCopiedName() local 281 value.GetAsDictionary(&dict_value); in SetBaseValueWithCopiedName() 283 for (DictionaryValue::Iterator it(*dict_value); !it.IsAtEnd(); in SetBaseValueWithCopiedName() 334 const DictionaryValue* dict_value; in AppendBaseValue() local 335 value.GetAsDictionary(&dict_value); in AppendBaseValue() 337 for (DictionaryValue::Iterator it(*dict_value); !it.IsAtEnd(); in AppendBaseValue()
|
/external/libchrome/base/test/ |
D | values_test_util.cc | 28 const DictionaryValue* dict_value = nullptr; in ExpectDictDictionaryValue() local 29 EXPECT_TRUE(value.GetDictionary(key, &dict_value)) << key; in ExpectDictDictionaryValue() 30 EXPECT_EQ(expected_value, *dict_value) << key; in ExpectDictDictionaryValue()
|
/external/autotest/client/cros/enterprise/ |
D | test_policy.py | 27 dict_value = {'scope': 'testScope', 'source': 'testSource', variable in test_policyManager 75 test_policydict = copy.deepcopy(self.dict_value) 104 test_policy.set_policy_from_dict(self.dict_value) 108 test_policy2.set_policy_from_dict(self.dict_value)
|
/external/libchrome/components/policy/core/common/ |
D | policy_test_utils.cc | 95 const base::DictionaryValue* dict_value; in ValueToProperty() local 96 if (value.GetAsDictionary(&dict_value)) { in ValueToProperty() 99 kCFAllocatorDefault, dict_value->size(), in ValueToProperty() 101 for (base::DictionaryValue::Iterator iterator(*dict_value); in ValueToProperty()
|
D | schema_unittest.cc | 844 std::unique_ptr<base::DictionaryValue> dict_value( in TEST() local 846 dict_value->SetBoolean("three", true); in TEST() 847 root.Append(std::move(dict_value)); in TEST() 857 dict_value.reset(new base::DictionaryValue()); in TEST() 858 dict_value->SetBoolean("two", true); in TEST() 859 root.Append(std::move(dict_value)); in TEST() 902 auto dict_value = std::make_unique<base::DictionaryValue>(); in TEST() local 904 dict_value->SetList("List", std::make_unique<base::ListValue>()); in TEST() 905 root.Append(std::move(dict_value)); in TEST()
|
/external/cronet/net/cert/ |
D | ct_log_response_parser.cc | 116 const base::Value::Dict* dict_value = json_consistency_proof.GetIfDict(); in FillConsistencyProof() local 117 if (!dict_value || !dict_value->Find("consistency")) { in FillConsistencyProof()
|
/external/cronet/ipc/ |
D | ipc_message_utils_unittest.cc | 237 base::Value::Dict dict_value; in TEST() local 238 dict_value.Set("path1", 42); in TEST() 239 dict_value.Set("path2", 84); in TEST() 243 dict_value.Set("path3", std::move(subvalue)); in TEST() 246 ParamTraits<base::Value::Dict>::Write(&message, dict_value); in TEST() 252 EXPECT_EQ(dict_value, read_value); in TEST()
|
/external/cronet/base/trace_event/ |
D | traced_value_unittest.cc | 234 auto dict_value = std::make_unique<TracedValue>(); in TEST() local 235 dict_value->SetInteger("a", 1); in TEST() 243 dict_value->SetValue("e", nested_dict_value.get()); in TEST() 247 dict_value->AppendAsTraceFormat(&json); in TEST()
|
/external/cronet/components/metrics/ |
D | unsent_log_store.cc | 71 base::Value::Dict dict_value; in WriteLogEntry() local 72 dict_value.Set(kLogHashKey, EncodeToBase64(log->hash)); in WriteLogEntry() 73 dict_value.Set(kLogSignatureKey, EncodeToBase64(log->signature)); in WriteLogEntry() 74 dict_value.Set(kLogDataKey, EncodeToBase64(log->compressed_log_data)); in WriteLogEntry() 75 dict_value.Set(kLogTimestampKey, log->timestamp); in WriteLogEntry() 79 dict_value.Set(kLogUserIdKey, in WriteLogEntry() 82 list_value_->Append(std::move(dict_value)); in WriteLogEntry()
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | nested_structure_coder.py | 202 def do_encode(self, dict_value, encode_fn): argument 204 encoded_dict.dict_value.CopyFrom(struct_pb2.DictValue()) 205 for key, value in dict_value.items(): 206 encoded_dict.dict_value.fields[key].CopyFrom(encode_fn(value)) 213 return {key: decode_fn(val) for key, val in value.dict_value.fields.items()}
|
D | nested_structure_coder_test.py | 71 expected.dict_value.fields["a"].int64_value = 3 72 list_value = expected.dict_value.fields["b"].list_value 143 expected.list_value.values.add().dict_value.CopyFrom(struct_pb2.DictValue())
|
/external/cronet/net/third_party/quiche/src/quiche/common/ |
D | structured_headers.cc | 651 for (const auto& [dict_key, dict_value] : value) { in WriteDictionary() 655 if (!dict_value.member_is_inner_list && !dict_value.member.empty() && in WriteDictionary() 656 dict_value.member.front().item.is_boolean() && in WriteDictionary() 657 dict_value.member.front().item.GetBoolean()) { in WriteDictionary() 658 if (!WriteParameters(dict_value.params)) return false; in WriteDictionary() 661 if (!WriteParameterizedMember(dict_value)) return false; in WriteDictionary()
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 122 bool DecodeWeeklyTimeFromValue(const base::DictionaryValue& dict_value, in DecodeWeeklyTimeFromValue() argument 126 if (!dict_value.GetString("day_of_week", &day_of_week_str)) { in DecodeWeeklyTimeFromValue() 137 if (!dict_value.GetInteger("hours", &hours) || hours < 0 || hours > 23) { in DecodeWeeklyTimeFromValue() 143 if (!dict_value.GetInteger("minutes", &minutes) || minutes < 0 || in DecodeWeeklyTimeFromValue()
|
/external/ppp/pppd/plugins/radius/ |
D | radiusclient.h | 311 typedef struct dict_value struct 316 struct dict_value *next; argument
|
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/ |
D | partially_revived_objects.cc | 201 const DictValue& kwargs_dict = kwargs.dict_value(); in SignatureDefArgsFromInputs() 235 const DictValue& output_dict = output_signature.dict_value(); in SignatureDefReturnsFromOutputs()
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | struct.proto | 72 DictValue dict_value = 53; field
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 1546 def assertMapIterEquals(self, map_iter, dict_value): argument 1548 dict_value = dict(dict_value) 1551 self.assertEqual(v, dict_value[k]) 1552 del dict_value[k] 1554 self.assertEqual({}, dict_value)
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 1547 def assertMapIterEquals(self, map_iter, dict_value): argument 1549 dict_value = dict(dict_value) 1552 self.assertEqual(v, dict_value[k]) 1553 del dict_value[k] 1555 self.assertEqual({}, dict_value)
|
/external/tensorflow/tensorflow/c/experimental/saved_model/core/ |
D | saved_model_utils.cc | 285 const DictValue& dict = signature.dict_value(); in FlattenSignature()
|
/external/libchrome/base/ |
D | values_unittest.cc | 1634 DictionaryValue dict_value; in TEST() local 1642 main_dict.SetKey("dict", dict_value.Clone()); in TEST() 1650 main_list.Append(std::make_unique<Value>(dict_value.Clone())); in TEST()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | import_model.cc | 3102 const DictValue& dict = value.dict_value(); in RecursivelyFindLeaves()
|