Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py189 def do_encode(self, dict_value, encode_fn): argument
191 encoded_dict.dict_value.CopyFrom(struct_pb2.DictValue())
192 for key, value in dict_value.items():
193 encoded_dict.dict_value.fields[key].CopyFrom(encode_fn(value))
200 return {key: decode_fn(val) for key, val in value.dict_value.fields.items()}
Dnested_structure_coder_test.py68 expected.dict_value.fields["a"].int64_value = 3
69 list_value = expected.dict_value.fields["b"].list_value
140 expected.list_value.values.add().dict_value.CopyFrom(struct_pb2.DictValue())
/external/libbrillo/policy/
Ddevice_policy_impl.cc116 bool DecodeWeeklyTimeFromValue(const base::DictionaryValue& dict_value, in DecodeWeeklyTimeFromValue() argument
120 if (!dict_value.GetString("day_of_week", &day_of_week_str)) { in DecodeWeeklyTimeFromValue()
131 if (!dict_value.GetInteger("hours", &hours) || hours < 0 || hours > 23) { in DecodeWeeklyTimeFromValue()
137 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/protobuf/python/google/protobuf/internal/
Dmessage_test.py1170 def assertMapIterEquals(self, map_iter, dict_value): argument
1172 dict_value = dict(dict_value)
1175 self.assertEqual(v, dict_value[k])
1176 del dict_value[k]
1178 self.assertEqual({}, dict_value)
/external/tensorflow/tensorflow/core/protobuf/
Dstruct.proto65 DictValue dict_value = 53; field
/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()