/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_index.py | 4 from sys import maxint namespace 259 return maxint # cannot return long here 273 return maxint # cannot return long here 281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize))
|
test_pwd.py | 92 # uid. Using sys.maxint may provoke the same problems, but hopefully 94 fakeuid = sys.maxint
|
test_ucn.py | 144 @unittest.skipUnless(_testcapi.UINT_MAX < sys.maxint, 145 "needs UINT_MAX < sys.maxint")
|
test_bytes.py | 53 self.assertRaises(IndexError, lambda: b[sys.maxint]) 54 self.assertRaises(IndexError, lambda: b[sys.maxint+1]) 58 self.assertRaises(IndexError, lambda: b[-sys.maxint]) 59 self.assertRaises(IndexError, lambda: b[-sys.maxint-1]) 60 self.assertRaises(IndexError, lambda: b[-sys.maxint-2]) 98 self.assertRaises(ValueError, self.type2test, [-sys.maxint]) 99 self.assertRaises(ValueError, self.type2test, [-sys.maxint-1]) 100 self.assertRaises(ValueError, self.type2test, [-sys.maxint-2]) 104 self.assertRaises(ValueError, self.type2test, [sys.maxint]) 105 self.assertRaises(ValueError, self.type2test, [sys.maxint+1] [all...] |
test_itertools.py | 350 for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5): 357 for value in -3, 3, sys.maxint-5, sys.maxint+5: 395 for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5) [all...] |
test_builtin.py | 82 self.assertTrue(abs(-sys.maxint-1) > 0) 135 x = -sys.maxint-1 137 self.assertEqual(-x, sys.maxint+1) 345 self.assertEqual(divmod(-sys.maxint-1, -1), 346 (sys.maxint+1, 0)) [all...] |
test_marshal.py | 13 n = sys.maxint 63 n = sys.maxint * 3.7e250 84 n = sys.maxint * 3.7e-250
|
test_types.py | 135 m = -sys.maxint - 1 152 m = sys.maxint 167 x = sys.maxint
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_osx_support.py | 477 if sys.maxint >= 2**32: 483 if sys.maxint >= 2**32:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
generator.py | 357 _width = len(repr(sys.maxint-1)) 363 token = random.randrange(sys.maxint)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_osx_support.py | 477 if sys.maxint >= 2**32: 483 if sys.maxint >= 2**32:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
generator.py | 357 _width = len(repr(sys.maxint-1)) 363 token = random.randrange(sys.maxint)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bytes.py | 53 self.assertRaises(IndexError, lambda: b[sys.maxint]) 54 self.assertRaises(IndexError, lambda: b[sys.maxint+1]) 58 self.assertRaises(IndexError, lambda: b[-sys.maxint]) 59 self.assertRaises(IndexError, lambda: b[-sys.maxint-1]) 60 self.assertRaises(IndexError, lambda: b[-sys.maxint-2]) 98 self.assertRaises(ValueError, self.type2test, [-sys.maxint]) 99 self.assertRaises(ValueError, self.type2test, [-sys.maxint-1]) 100 self.assertRaises(ValueError, self.type2test, [-sys.maxint-2]) 104 self.assertRaises(ValueError, self.type2test, [sys.maxint]) 105 self.assertRaises(ValueError, self.type2test, [sys.maxint+1] [all...] |
test_itertools.py | 350 for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5): 357 for value in -3, 3, sys.maxint-5, sys.maxint+5: 395 for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5) [all...] |
test_builtin.py | 82 self.assertTrue(abs(-sys.maxint-1) > 0) 135 x = -sys.maxint-1 137 self.assertEqual(-x, sys.maxint+1) 345 self.assertEqual(divmod(-sys.maxint-1, -1), 346 (sys.maxint+1, 0)) [all...] |
test_marshal.py | 13 n = sys.maxint 63 n = sys.maxint * 3.7e250 84 n = sys.maxint * 3.7e-250
|
test_types.py | 135 m = -sys.maxint - 1 152 m = sys.maxint 167 x = sys.maxint
|
list_tests.py | 392 self.assertEqual(a.index(0, -4*sys.maxint, 4*sys.maxint), 2) 393 self.assertRaises(ValueError, a.index, 0, 4*sys.maxint,-4*sys.maxint)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_extensions.py | 63 (-1, -1), (sys.maxint + 1, sys.maxint + 1))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_extensions.py | 63 (-1, -1), (sys.maxint + 1, sys.maxint + 1))
|
/external/chromium_org/webkit/tools/layout_tests/ |
canary-webkit-revisions.py | 178 min_passing_revision = sys.maxint
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
G722EncTest.c | 119 int maxint(int a, int b); 140 int maxint(int a, int b) function 478 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]); 479 fdmax = maxint(fdmax,Event_Pipe[0]); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 181 return nums or [ sys.maxint ]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 15 from sys import maxint as INFINITY
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py2_test_grammar.py | 35 from sys import maxint namespace 36 if maxint == 2147483647: 46 elif maxint == 9223372036854775807: 57 self.fail('Weird maxint value %r' % maxint)
|