Lines Matching refs:type
35 type = TAG_TYPES[args[0]][1]
37 type = args[0]
49 self.tag = (type << 20) | (id << 10) | size
70 def type(self): member in Tag
95 return self.type & 0xff
101 def is_(self, type): argument
102 return (self.type & TAG_TYPES[type][0]) == TAG_TYPES[type][1]
111 ntag = Tag(self.type, nid, self.size)
124 if (mask, self.type & mask) in reverse_types:
125 type = reverse_types[mask, self.type & mask]
128 type, prefix//4, self.type & ((1 << prefix)-1))
130 return type
132 return '%02x' % self.type
144 return (self.id, self.type) < (other.id, other.type)
206 tag = Tag(int(tag) ^ ((tag.type & 1) << 31))
355 parser.add_argument('block_size', type=lambda x: int(x, 0),
357 parser.add_argument('block1', type=lambda x: int(x, 0),
359 parser.add_argument('block2', nargs='?', type=lambda x: int(x, 0),