Searched refs:hexint (Results 1 - 4 of 4) sorted by relevance

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_descr.py2491 class hexint(int): class in function:.test_basic_inheritance
2495 return hexint(int.__add__(self, other))
2498 self.assertEqual(repr(hexint(7) + 9), "0x10")
2499 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")
2500 a = hexint(12345)
2508 self.assertTrue((hexint(0) << 12).__class__ is int)
2509 self.assertTrue((hexint(0) >> 12).__class__ is int)
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_descr.py2491 class hexint(int): class in function:.test_basic_inheritance
2495 return hexint(int.__add__(self, other))
2498 self.assertEqual(repr(hexint(7) + 9), "0x10")
2499 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")
2500 a = hexint(12345)
2508 self.assertTrue((hexint(0) << 12).__class__ is int)
2509 self.assertTrue((hexint(0) >> 12).__class__ is int)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_descr.py2491 class hexint(int): class in function:.test_basic_inheritance
2495 return hexint(int.__add__(self, other))
2498 self.assertEqual(repr(hexint(7) + 9), "0x10")
2499 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")
2500 a = hexint(12345)
2508 self.assertTrue((hexint(0) << 12).__class__ is int)
2509 self.assertTrue((hexint(0) >> 12).__class__ is int)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_descr.py2491 class hexint(int): class in function:.test_basic_inheritance
2495 return hexint(int.__add__(self, other))
2498 self.assertEqual(repr(hexint(7) + 9), "0x10")
2499 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")
2500 a = hexint(12345)
2508 self.assertTrue((hexint(0) << 12).__class__ is int)
2509 self.assertTrue((hexint(0) >> 12).__class__ is int)

Completed in 85 milliseconds