HomeSort by relevance Sort by last modified time
    Searched refs:maxint (Results 26 - 50 of 166) sorted by null

12 3 4 5 6 7

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
string_tests.py 126 self.checkequal(0, '', 'count', '', sys.maxint, 0)
130 self.checkequal(0, '', 'count', 'xx', sys.maxint, 0)
183 self.checkequal(-1, '', 'find', '', sys.maxint, 0)
187 self.checkequal(-1, '', 'find', 'xx', sys.maxint, 0)
328 if sys.maxint < (1 << 32) and struct.calcsize('P') == 4:
330 '\ta\n\tb', 'expandtabs', sys.maxint)
343 sys.maxint-1)
368 sys.maxint-2)
387 sys.maxint-10)
430 sys.maxint-20
    [all...]
test_enumerate.py 238 enum = lambda self, i: enumerate(i, start=sys.maxint+1)
239 seq, res = 'abc', [(sys.maxint+1,'a'), (sys.maxint+2,'b'),
240 (sys.maxint+3,'c')]
test_compile.py 271 if sys.maxint == 2147483647:
276 elif sys.maxint == 9223372036854775807:
283 # Verify treatment of constant folding on -(sys.maxint+1)
285 self.assertIsInstance(eval("%s" % (-sys.maxint - 1)), int)
286 self.assertIsInstance(eval("%s" % (-sys.maxint - 2)), long)
288 if sys.maxint == 9223372036854775807:
test_int.py 19 (repr(sys.maxint), sys.maxint),
97 s = repr(-1-sys.maxint)
99 self.assertEqual(x+1, -sys.maxint)
102 self.assertEqual(int(s[1:]), sys.maxint+1)
114 x = -1-sys.maxint
seq_tests.py 310 if sys.maxint <= 2147483647:
390 self.assertEqual(a.index(0, -4*sys.maxint, 4*sys.maxint), 2)
391 self.assertRaises(ValueError, a.index, 0, 4*sys.maxint,-4*sys.maxint)
test_long.py 53 (repr(sys.maxint), sys.maxint),
545 hugepos = sys.maxint
549 self.assertEqual(hugepos, hugepos_aslong, "long(sys.maxint) != sys.maxint")
551 "long(-sys.maxint-1) != -sys.maxint-1")
557 "converting sys.maxint to long and back to int fails")
559 self.fail("int(long(sys.maxint)) overflowed!")
561 self.fail("int(long(sys.maxint)) should have returned int"
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
platforminfo.py 98 """Returns sys.maxint if the width cannot be determined."""
111 return sys.maxint
120 return sys.maxint
  /external/chromium_org/chrome/test/functional/
pyauto_functional.py 90 if sys.platform.startswith('darwin') and sys.maxint > 2**32:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_enumerate.py 238 enum = lambda self, i: enumerate(i, start=sys.maxint+1)
239 seq, res = 'abc', [(sys.maxint+1,'a'), (sys.maxint+2,'b'),
240 (sys.maxint+3,'c')]
test_compile.py 271 if sys.maxint == 2147483647:
276 elif sys.maxint == 9223372036854775807:
283 # Verify treatment of constant folding on -(sys.maxint+1)
285 self.assertIsInstance(eval("%s" % (-sys.maxint - 1)), int)
286 self.assertIsInstance(eval("%s" % (-sys.maxint - 2)), long)
288 if sys.maxint == 9223372036854775807:
test_int.py 19 (repr(sys.maxint), sys.maxint),
97 s = repr(-1-sys.maxint)
99 self.assertEqual(x+1, -sys.maxint)
102 self.assertEqual(int(s[1:]), sys.maxint+1)
114 x = -1-sys.maxint
seq_tests.py 310 if sys.maxint <= 2147483647:
390 self.assertEqual(a.index(0, -4*sys.maxint, 4*sys.maxint), 2)
391 self.assertRaises(ValueError, a.index, 0, 4*sys.maxint,-4*sys.maxint)
test_long.py 53 (repr(sys.maxint), sys.maxint),
545 hugepos = sys.maxint
549 self.assertEqual(hugepos, hugepos_aslong, "long(sys.maxint) != sys.maxint")
551 "long(-sys.maxint-1) != -sys.maxint-1")
557 "converting sys.maxint to long and back to int fails")
559 self.fail("int(long(sys.maxint)) overflowed!")
561 self.fail("int(long(sys.maxint)) should have returned int"
    [all...]
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")
  /external/chromium_org/media/tools/layout_tests/
test_expectations_history.py 80 while gobackdays < sys.maxint:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
heap.py 216 assert 0 <= size < sys.maxint
242 assert 0 <= size < sys.maxint
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
popen2.py 26 if inst.poll(_deadstate=sys.maxint) >= 0:
76 self.poll(_deadstate=sys.maxint)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
heap.py 216 assert 0 <= size < sys.maxint
242 assert 0 <= size < sys.maxint
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
popen2.py 26 if inst.poll(_deadstate=sys.maxint) >= 0:
76 self.poll(_deadstate=sys.maxint)
  /external/stlport/test/unit/
sstream_test.cpp 28 CPPUNIT_TEST(maxint);
48 void maxint();
201 void SstreamTest::maxint() function in class:SstreamTest
  /ndk/tests/device/test-gnustl-full/unit/
sstream_test.cpp 28 CPPUNIT_TEST(maxint);
48 void maxint();
201 void SstreamTest::maxint() function in class:SstreamTest
  /ndk/tests/device/test-stlport/unit/
sstream_test.cpp 28 CPPUNIT_TEST(maxint);
48 void maxint();
201 void SstreamTest::maxint() function in class:SstreamTest
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/
metered_stream.py 64 self._number_of_columns = sys.maxint

Completed in 3321 milliseconds

12 3 4 5 6 7