/external/protobuf/python/google/protobuf/internal/ |
decoder.py | 40 Decode(buffer, pos, end, message, field_dict) 47 field_dict: message._fields (avoids a hashtable lookup). 48 The decoder reads the field and stores it into field_dict, returning the new 71 key: The key to use when looking up the field within field_dict. 210 def DecodePackedField(buffer, pos, end, message, field_dict): 211 value = field_dict.get(key) 213 value = field_dict.setdefault(key, new_default(message)) 229 def DecodeRepeatedField(buffer, pos, end, message, field_dict): 230 value = field_dict.get(key) 232 value = field_dict.setdefault(key, new_default(message) [all...] |
python_message.py | 859 field_dict = self._fields 874 pos = field_decoder(buffer, new_pos, end, self, field_dict) [all...] |
/external/nanopb-c/generator/google/protobuf/internal/ |
decoder.py | 36 Decode(buffer, pos, end, message, field_dict) 43 field_dict: message._fields (avoids a hashtable lookup). 44 The decoder reads the field and stores it into field_dict, returning the new 67 key: The key to use when looking up the field within field_dict. 193 def DecodePackedField(buffer, pos, end, message, field_dict): 194 value = field_dict.get(key) 196 value = field_dict.setdefault(key, new_default(message)) 212 def DecodeRepeatedField(buffer, pos, end, message, field_dict): 213 value = field_dict.get(key) 215 value = field_dict.setdefault(key, new_default(message) [all...] |
python_message.py | 812 field_dict = self._fields 827 pos = field_decoder(buffer, new_pos, end, self, field_dict) [all...] |
/external/autotest/frontend/afe/ |
rdb_model_extensions.py | 28 field_dict = None variable in class: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:
|
model_logic.py | 568 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, [all...] |
/external/autotest/frontend/shared/ |
resource_lib.py | 28 def remove_unspecified_fields(cls, field_dict): 29 return dict((key, value) for key, value in field_dict.iteritems()
|