Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Ddecoder.py202 def DecodePackedField(buffer, pos, end, message, field_dict): argument
203 value = field_dict.get(key)
205 value = field_dict.setdefault(key, new_default(message))
221 def DecodeRepeatedField(buffer, pos, end, message, field_dict): argument
222 value = field_dict.get(key)
224 value = field_dict.setdefault(key, new_default(message))
238 def DecodeField(buffer, pos, end, message, field_dict): argument
239 (field_dict[key], pos) = decode_value(buffer, pos)
241 del field_dict[key] # Discard corrupt value.
357 def DecodePackedField(buffer, pos, end, message, field_dict): argument
[all …]
Dpython_message.py1099 field_dict = self._fields
1116 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/external/autotest/frontend/afe/
Drdb_model_extensions.py28 field_dict = None variable in ModelValidators
34 if cls.field_dict is None:
35 cls.field_dict = {}
37 cls.field_dict[field.name] = field
38 return cls.field_dict
87 field_dict = cls.get_field_dict()
88 for name, obj in field_dict.iteritems():
103 field_dict = cls.get_field_dict()
105 if field_name not in field_dict:
Dmodel_logic.py562 field_dict = cls.get_field_dict()
564 if field_name not in field_dict or data[field_name] is None:
566 field_obj = field_dict[field_name]
601 field_dict = self.get_field_dict()
603 for field_name, field_obj in field_dict.iteritems():
809 for field_dict in field_dicts:
810 cls.clean_foreign_keys(field_dict)
811 cls._convert_booleans(field_dict)
812 cls.convert_human_readable_values(field_dict,
/external/tensorflow/tensorflow/python/framework/
Derror_interpolation.py291 field_dict = {
299 return field_dict
365 field_dict = compute_field_dict(op, common_prefix)
366 msg = "node %s%s " % (op.name, field_dict["defined_at"])
370 done.add(field_dict["defined_at"])
424 field_dict = compute_field_dict(ops[0], common_prefix)
426 ops[0].name, field_dict["defined_at"], field_dict["devices"])
427 end_msg["colocations"].append(field_dict["devs_and_colocs"])
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Ddecode_proto_op_test_base.py72 def _compareProtos(self, batch_shape, sizes, fields, field_dict): argument
84 values = field_dict[field.name]
203 field_dict = dict(zip(field_names, value_tensors))
205 self._compareProtos(batch_shape, sizes, fields, field_dict)
/external/toolchain-utils/crosperf/
Dresults_cache.py106 field_dict = raw_dict[k1]
107 for k2 in field_dict:
108 result_dict = field_dict[k2]
304 for k, field_dict in raw_dict.iteritems():
305 for item in field_dict:
307 value_dict = field_dict[item]