Lines Matching refs:type
55 def __init__(self, type, norm, pure, size, name = ''):
56 self.type = type
60 self.sign = type in (SIGNED, FIXED, FLOAT)
64 s = str(self.type)
73 return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size
77 if self.type == FLOAT:
79 if self.type == FIXED:
83 if self.type == UNSIGNED:
85 if self.type == SIGNED:
91 if self.type == FLOAT:
93 if self.type == FIXED:
95 if self.type == UNSIGNED:
99 if self.type == SIGNED:
156 if ref_channel.type == VOID:
159 if channel.type != VOID:
160 if channel.type != ref_channel.type:
175 if channel.type not in (VOID, UNSIGNED, SIGNED):
183 if channel.type not in (VOID, FLOAT):
193 if channel.type not in (VOID, UNSIGNED, SIGNED):
280 type = _type_parse_map[field[0]]
294 type = VOID
298 channel = Channel(type, norm, pure, size, names[i])