Lines Matching defs:sys
13 import sys
203 if sys.platform.startswith('win'):
207 if not sys.platform.startswith('win'):
210 if sys.platform.startswith('win'):
457 indices = (0, None, 1, 3, 19, 300, sys.maxsize, -1, -2, -31, -300)
469 indices = (0, None, 1, 3, 19, 300, sys.maxsize, -1, -2, -31, -300)
654 self.assertEqual(sys.getsizeof(m2),
655 sys.getsizeof(m1) + len(tagname) + 1)
754 if sys.platform.startswith('linux'):
807 m.madvise(mmap.MADV_NORMAL, PAGESIZE, sys.maxsize)
984 if sys.platform[:3] == 'win' or sys.platform == 'darwin':
1007 if sys.maxsize < 0x180000000:
1008 # On 32 bit platforms the file is larger than sys.maxsize so
1027 @unittest.skipUnless(sys.maxsize > _4G, "test cannot run on 32-bit systems")
1031 @unittest.skipUnless(sys.maxsize > _4G, "test cannot run on 32-bit systems")