/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtrasTest.cpp | 59 long maxInt = std::numeric_limits<int>::max(); 61 long overflowInt = maxInt + 1; 64 EXPECT_GT(overflowInt, maxInt); 67 EXPECT_EQ(maxInt, clampTo<int>(maxInt)); 70 EXPECT_EQ(maxInt, clampTo<int>(overflowInt)); 76 long long maxInt = std::numeric_limits<int>::max(); 78 long long overflowInt = maxInt + 1; 81 EXPECT_GT(overflowInt, maxInt); 84 EXPECT_EQ(maxInt, clampTo<int>(maxInt)) [all...] |
/external/lldb/test/python_api/default-constructor/ |
sb_breakpoint.py | 11 obj.FindLocationByAddress(sys.maxint) 12 obj.FindLocationIDByAddress(sys.maxint)
|
sb_communication.py | 23 #obj.Write(None, sys.maxint, None) 24 #obj.Read(None, sys.maxint, 0xffffffff, None)
|
sb_module.py | 13 obj.ResolveFileAddress(sys.maxint) 17 obj.GetSymbolAtIndex(sys.maxint)
|
sb_address.py | 12 obj.OffsetAddress(sys.maxint)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_xrange.py | 111 self.assertEqual(len(xrange(0, sys.maxint, sys.maxint-1)), 2) 113 self.assertRaises(OverflowError, xrange, -sys.maxint, sys.maxint) 114 self.assertRaises(OverflowError, xrange, 0, 2*sys.maxint) 116 r = xrange(-sys.maxint, sys.maxint, 2) 117 self.assertEqual(len(r), sys.maxint) 118 self.assertRaises(OverflowError, xrange, -sys.maxint-1, sys.maxint, 2 [all...] |
test_list.py | 23 # This assumes that the max data size (sys.maxint) == max 33 self.assertRaises(MemoryError, list, xrange(sys.maxint // 2)) 56 n = int((sys.maxint*2+2) // len(lst))
|
test_sysconfig.py | 147 maxint = sys.maxint 149 sys.maxint = 2147483647 151 sys.maxint = 9223372036854775807 154 sys.maxint = maxint 167 maxint = sys.maxint 169 sys.maxint = 2147483647 171 sys.maxint = 922337203685477580 [all...] |
test_macostools.py | 54 if sys.maxint < 2**32: 60 if sys.maxint < 2**32:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_xrange.py | 111 self.assertEqual(len(xrange(0, sys.maxint, sys.maxint-1)), 2) 113 self.assertRaises(OverflowError, xrange, -sys.maxint, sys.maxint) 114 self.assertRaises(OverflowError, xrange, 0, 2*sys.maxint) 116 r = xrange(-sys.maxint, sys.maxint, 2) 117 self.assertEqual(len(r), sys.maxint) 118 self.assertRaises(OverflowError, xrange, -sys.maxint-1, sys.maxint, 2 [all...] |
test_list.py | 23 # This assumes that the max data size (sys.maxint) == max 33 self.assertRaises(MemoryError, list, xrange(sys.maxint // 2)) 56 n = int((sys.maxint*2+2) // len(lst))
|
test_sysconfig.py | 147 maxint = sys.maxint 149 sys.maxint = 2147483647 151 sys.maxint = 9223372036854775807 154 sys.maxint = maxint 167 maxint = sys.maxint 169 sys.maxint = 2147483647 171 sys.maxint = 922337203685477580 [all...] |
test_macostools.py | 54 if sys.maxint < 2**32: 60 if sys.maxint < 2**32:
|
/external/clang/test/PCH/ |
stmts.h | 93 #define maxint(a,b) ({int _a = (a), _b = (b); _a > _b ? _a : _b; }) macro 95 return maxint(++x, --y);
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
Array.js | 158 var maxint = Math.pow(2,32)-1; variable 166 arr[maxint] = "test"; 168 shouldBe("arr[maxint]","\"test\""); 169 delete arr[maxint]; 171 shouldBe("arr[maxint]","undefined"); 172 arr[maxint-1] = "test2"; 173 shouldBe("arr.length","maxint"); 174 shouldBe("arr[maxint-1]","\"test2\"");
|
Array-expected.txt | 96 PASS arr[maxint] is "test" 98 PASS arr[maxint] is undefined 99 PASS arr.length is maxint 100 PASS arr[maxint-1] is "test2"
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 4 * sys.maxint -> sys.maxsize 13 MAPPING = {"sys": {"maxint" : "maxsize"},
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 4 * sys.maxint -> sys.maxsize 13 MAPPING = {"sys": {"maxint" : "maxsize"},
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
punyref.c | 102 /* maxint is the maximum value of a punycode_uint variable: */ 103 static const punycode_uint maxint = (punycode_uint) (-1); variable 104 /* Because maxint is unsigned, -1 becomes the maximum value. */ 168 for (m = maxint, j = 0; j < input_length; ++j) { 177 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; 262 if (digit > (maxint - i) / w) return punycode_overflow; 267 if (w > maxint / (base - t)) return punycode_overflow; 276 if (i / (out + 1) > maxint - n) return punycode_overflow;
|
/external/icu/icu4c/source/test/intltest/ |
punyref.c | 102 /* maxint is the maximum value of a punycode_uint variable: */ 103 static const punycode_uint maxint = (punycode_uint) (-1); variable 104 /* Because maxint is unsigned, -1 becomes the maximum value. */ 168 for (m = maxint, j = 0; j < input_length; ++j) { 177 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; 262 if (digit > (maxint - i) / w) return punycode_overflow; 267 if (w > maxint / (base - t)) return punycode_overflow; 276 if (i / (out + 1) > maxint - n) return punycode_overflow;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_memfunctions.py | 12 ## lambda: wstring_at(u"foo", sys.maxint - 1)) 14 ## lambda: string_at("foo", sys.maxint - 1))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_memfunctions.py | 12 ## lambda: wstring_at(u"foo", sys.maxint - 1)) 14 ## lambda: string_at("foo", sys.maxint - 1))
|
/external/deqp/modules/gles31/functional/ |
es31fShaderSharedVarTests.cpp | 194 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; 195 const int minInt = -de::min(numValues/2, maxInt); 199 values[ndx] = float(minInt + (ndx % (maxInt-minInt+1))); 213 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; 214 const int minInt = -de::min(numValues/2, maxInt); 218 values[ndx] = minInt + (ndx % (maxInt-minInt+1)); 232 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; 236 values[ndx] = ndx % (maxInt+1); 268 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; 269 const int minInt = -de::min(numValues/2, maxInt); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
UserString.py | 65 def count(self, sub, start=0, end=sys.maxint): 83 def endswith(self, suffix, start=0, end=sys.maxint): 87 def find(self, sub, start=0, end=sys.maxint): 89 def index(self, sub, start=0, end=sys.maxint): 109 def rfind(self, sub, start=0, end=sys.maxint): 111 def rindex(self, sub, start=0, end=sys.maxint): 123 def startswith(self, prefix, start=0, end=sys.maxint):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
UserString.py | 65 def count(self, sub, start=0, end=sys.maxint): 83 def endswith(self, suffix, start=0, end=sys.maxint): 87 def find(self, sub, start=0, end=sys.maxint): 89 def index(self, sub, start=0, end=sys.maxint): 109 def rfind(self, sub, start=0, end=sys.maxint): 111 def rindex(self, sub, start=0, end=sys.maxint): 123 def startswith(self, prefix, start=0, end=sys.maxint):
|