Searched refs:field_dict (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 215 def DecodePackedField(buffer, pos, end, message, field_dict): argument 216 value = field_dict.get(key) 218 value = field_dict.setdefault(key, new_default(message)) 234 def DecodeRepeatedField(buffer, pos, end, message, field_dict): argument 235 value = field_dict.get(key) 237 value = field_dict.setdefault(key, new_default(message)) 251 def DecodeField(buffer, pos, end, message, field_dict): argument 252 (field_dict[key], pos) = decode_value(buffer, pos) 254 del field_dict[key] # Discard corrupt value. 390 def DecodePackedField(buffer, pos, end, message, field_dict): argument [all …]
|
D | python_message.py | 1160 field_dict = self._fields 1193 pos = field_decoder(buffer, new_pos, end, self, field_dict)
|
/external/autotest/frontend/afe/ |
D | rdb_model_extensions.py | 28 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:
|
D | model_logic.py | 562 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/ |
D | error_interpolation.py | 393 field_dict = { 401 return field_dict 467 field_dict = _compute_field_dict(op, common_prefix) 468 msg = "node %s%s " % (op.name, field_dict["defined_at"]) 472 done.add(field_dict["defined_at"]) 526 field_dict = _compute_field_dict(ops[0], common_prefix) 528 ops[0].name, field_dict["defined_at"], field_dict["devices"]) 529 end_msg["colocations"].append(field_dict["devs_and_colocs"])
|
/external/tensorflow/tensorflow/python/kernel_tests/proto/ |
D | decode_proto_op_test_base.py | 74 def _compareProtos(self, batch_shape, sizes, fields, field_dict): argument 86 values = field_dict[field.name] 208 field_dict = dict(zip(field_names, value_tensors)) 210 self._compareProtos(batch_shape, sizes, fields, field_dict)
|
/external/toolchain-utils/crosperf/ |
D | results_cache.py | 191 field_dict = raw_dict[k1] 192 for k2 in field_dict: 193 result_dict = field_dict[k2] 501 for k, field_dict in raw_dict.items(): 502 for item in field_dict: 504 value_dict = field_dict[item]
|