Lines Matching refs:struct
4 import struct
67 v, = struct.unpack(self.byte_order + 'b', s)
76 v, = struct.unpack(self.byte_order + 'B', s)
85 v, = struct.unpack(self.byte_order + 'h', s)
94 v, = struct.unpack(self.byte_order + 'H', s)
103 v, = struct.unpack(self.byte_order + 'i', s)
112 v, = struct.unpack(self.byte_order + 'I', s)
121 v, = struct.unpack(self.byte_order + 'q', s)
130 v, = struct.unpack(self.byte_order + 'Q', s)
143 cstr, = struct.unpack(self.byte_order + ("%i" % n) + 's', s)
168 return struct.unpack(self.byte_order + ("%u" % n) + 'b', s)
176 return struct.unpack(self.byte_order + ("%u" % n) + 'B', s)
184 return struct.unpack(self.byte_order + ("%u" % n) + 'h', s)
192 return struct.unpack(self.byte_order + ("%u" % n) + 'H', s)
200 return struct.unpack(self.byte_order + ("%u" % n) + 'i', s)
208 return struct.unpack(self.byte_order + ("%u" % n) + 'I', s)
216 return struct.unpack(self.byte_order + ("%u" % n) + 'q', s)
224 return struct.unpack(self.byte_order + ("%u" % n) + 'Q', s)