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.py210 def DecodePackedField(buffer, pos, end, message, field_dict): argument
211 value = field_dict.get(key)
213 value = field_dict.setdefault(key, new_default(message))
229 def DecodeRepeatedField(buffer, pos, end, message, field_dict): argument
230 value = field_dict.get(key)
232 value = field_dict.setdefault(key, new_default(message))
246 def DecodeField(buffer, pos, end, message, field_dict): argument
247 (field_dict[key], pos) = decode_value(buffer, pos)
249 del field_dict[key] # Discard corrupt value.
375 def DecodePackedField(buffer, pos, end, message, field_dict): argument
[all …]
Dpython_message.py859 field_dict = self._fields
874 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/external/nanopb-c/generator/google/protobuf/internal/
Ddecoder.py193 def DecodePackedField(buffer, pos, end, message, field_dict): argument
194 value = field_dict.get(key)
196 value = field_dict.setdefault(key, new_default(message))
212 def DecodeRepeatedField(buffer, pos, end, message, field_dict): argument
213 value = field_dict.get(key)
215 value = field_dict.setdefault(key, new_default(message))
229 def DecodeField(buffer, pos, end, message, field_dict): argument
230 (field_dict[key], pos) = decode_value(buffer, pos)
232 del field_dict[key] # Discard corrupt value.
388 def DecodeRepeatedField(buffer, pos, end, message, field_dict): argument
[all …]
Dpython_message.py812 field_dict = self._fields
827 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.py568 field_dict = cls.get_field_dict()
570 if field_name not in field_dict or data[field_name] is None:
572 field_obj = field_dict[field_name]
607 field_dict = self.get_field_dict()
609 for field_name, field_obj in field_dict.iteritems():
815 for field_dict in field_dicts:
816 cls.clean_foreign_keys(field_dict)
817 cls._convert_booleans(field_dict)
818 cls.convert_human_readable_values(field_dict,
/external/autotest/frontend/shared/
Dresource_lib.py28 def remove_unspecified_fields(cls, field_dict): argument
29 return dict((key, value) for key, value in field_dict.iteritems()