Lines Matching refs:unpack
68 self.assertRaises(struct.error, struct.unpack, 'd', 'flap')
70 self.assertRaises(struct.error, struct.unpack, 'iii', s)
71 self.assertRaises(struct.error, struct.unpack, 'i', s)
87 cp, bp, hp, ip, lp, fp, dp, tp = struct.unpack(format, s)
146 rev = struct.unpack(xfmt, res)[0]
214 unpack=struct.unpack, argument
239 retrieved = unpack(format, got)[0]
243 self.assertRaises((struct.error, TypeError), unpack, format,
377 (got,) = struct.unpack(code, got)
394 unpacked = struct.unpack("<f", packed)[0]
400 unpacked = struct.unpack(">f", bigpacked)[0]
407 unpacked = struct.unpack(">f", packed)[0]
503 value, = struct.unpack('>I', data)
512 value, = struct.unpack('>I', data)
526 unpackedFalse = struct.unpack(falseFormat, packedFalse)
530 unpackedTrue = struct.unpack(trueFormat, packedTrue)
552 self.assertTrue(struct.unpack('>?', c)[0])