Home | History | Annotate | Download | only in generator

Lines Matching full:field_name

148     field_name: a string, the name of the field.
171 def __init__(self, field_type, field_name,
179 field_name: Initial value for the field name attribute.
194 self.field_name = ''
197 self.field_name = field_name
217 'name': self.field_name,
236 'name': self.field_name,
343 field |field_name| in structure 'source'.
350 'name': field.field_name})
355 Assigns result of unmarshaling field |field_name| in structure 'source'
366 'name': field.field_name})
847 'name': field.field_name,
851 'name': field.field_name})
932 def AddUpperBound(self, field_name, value):
936 field_name: Name of field with bound.
940 field_name = 't.' + field_name
941 self.upper_bounds[field_name] = value
943 def AddLowerBound(self, field_name, value):
947 field_name: Name of field with bound.
951 field_name = 't.' + field_name
952 self.lower_bounds[field_name] = value
1002 field.field_name = 't.' + field.field_name
1021 if field.field_name == 't.size' and self.size_check:
1023 if field.field_name == 't.size' and not self.size_check:
1026 if field.field_name in self.upper_bounds:
1027 if (field.field_name == 'count' or
1028 field.field_name == 't.size' or
1029 field.field_name == 'size'):
1032 {'name': field.field_name,
1034 'bound_value': self.upper_bounds[field.field_name],
1036 if field.field_name in self.lower_bounds:
1037 if (field.field_name == 'count' or
1038 field.field_name == 't.size' or
1039 field.field_name == 'size'):
1042 {'name': field.field_name,
1044 'bound_value': self.lower_bounds[field.field_name],
1046 if field.field_name == 'tag' and self.valid_tag_values:
1184 if field.field_name == 'xor':
1185 field.field_name = 'xor_'
1189 self, out_file, field_type, field_name, array_length):
1195 field_name: The name of the field.
1201 'name': field_name,
1205 'name': field_name})
1208 self, out_file, field_type, field_name, array_length, typemap):
1214 field_name: The name of the field.
1222 'name': field_name,
1227 'name': field_name})
1230 'name': field_name})
1247 field_types = {f.field_name: f.field_type for f in self.fields}
1251 array_lengths[f.field_name] = f.array_size
1253 array_lengths[f.field_name] = None
1272 field_name = field.field_name
1277 if not field_name:
1282 field_type = field_types[field_name]
1283 array_length = array_lengths[field_name]
1284 self._OutputMarshalField(out_file, field_type, field_name, array_length)
1296 field_name = field.field_name
1301 if not field_name:
1306 field_type = field_types[field_name]
1307 array_length = array_lengths[field_name]
1309 out_file, field_type, field_name, array_length, typemap)
1336 'name': field.field_name,
1350 'name': field.field_name,