Home
last modified time | relevance | path

Searched refs:dict_value (Results 1 – 18 of 18) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_event_argument_unittest.cc104 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 …]
Dtrace_event_argument.cc280 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/
Dvalues_test_util.cc28 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/
Dtest_policy.py27 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/
Dpolicy_test_utils.cc95 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()
Dschema_unittest.cc844 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/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py202 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()}
Dnested_structure_coder_test.py74 expected.dict_value.fields["a"].int64_value = 3
75 list_value = expected.dict_value.fields["b"].list_value
146 expected.list_value.values.add().dict_value.CopyFrom(struct_pb2.DictValue())
/external/libbrillo/policy/
Ddevice_policy_impl.cc122 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/
Dradiusclient.h311 typedef struct dict_value struct
316 struct dict_value *next; argument
/external/llvm-project/llvm/lib/Analysis/models/inliner/
Dsaved_model.pbtxt28511 dict_value {
28572 dict_value {
28579 dict_value {
28697 dict_value {
28704 dict_value {
28788 dict_value {
28795 dict_value {
28879 dict_value {
28886 dict_value {
28970 dict_value {
[all …]
/external/llvm-project/llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/
Dsaved_model.pbtxt9319 dict_value {
9326 dict_value {
9391 dict_value {
9485 dict_value {
9492 dict_value {
9564 dict_value {
9636 dict_value {
9708 dict_value {
9780 dict_value {
9829 dict_value {
[all …]
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dpartially_revived_objects.cc201 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/
Dstruct.proto72 DictValue dict_value = 53; field
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1582 def assertMapIterEquals(self, map_iter, dict_value): argument
1584 dict_value = dict(dict_value)
1587 self.assertEqual(v, dict_value[k])
1588 del dict_value[k]
1590 self.assertEqual({}, dict_value)
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.cc285 const DictValue& dict = signature.dict_value(); in FlattenSignature()
/external/libchrome/base/
Dvalues_unittest.cc1634 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/
Dimport_model.cc2864 const DictValue& dict = value.dict_value(); in RecursivelyFindLeaves()