/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(clampTo<int>(maxInt), maxInt); 70 EXPECT_EQ(clampTo<int>(overflowInt), maxInt); 76 long long maxInt = std::numeric_limits<int>::max(); 78 long long overflowInt = maxInt + 1; 81 EXPECT_GT(overflowInt, maxInt); 84 EXPECT_EQ(clampTo<int>(maxInt), maxInt) [all...] |
/dalvik/vm/mterp/armv5te/ |
OP_DOUBLE_TO_INT.S | 17 mov r2, #0x80000000 @ maxint, as a double (low word) 20 mvn r3, #0xbe000000 @ maxint, as a double (high word) 24 bl __aeabi_dcmpge @ is arg >= maxint? 26 mvnne r0, #0x80000000 @ return maxint (0x7fffffff)
|
OP_FLOAT_TO_INT.S | 17 mov r1, #0x4f000000 @ (float)maxint 19 bl __aeabi_fcmpge @ is arg >= maxint? 21 mvnne r0, #0x80000000 @ return maxint (7fffffff)
|
/dalvik/vm/mterp/armv6t2/ |
OP_DOUBLE_TO_INT.S | 17 mov r2, #0x80000000 @ maxint, as a double (low word) 20 mvn r3, #0xbe000000 @ maxint, as a double (high word) 24 bl __aeabi_dcmpge @ is arg >= maxint? 26 mvnne r0, #0x80000000 @ return maxint (0x7fffffff)
|
OP_FLOAT_TO_INT.S | 17 mov r1, #0x4f000000 @ (float)maxint 19 bl __aeabi_fcmpge @ is arg >= maxint? 21 mvnne r0, #0x80000000 @ return maxint (7fffffff)
|
/dalvik/vm/compiler/template/mips/ |
TEMPLATE_FLOAT_TO_INT_VFP.S | 9 li a1, 0x4f000000 # (float)maxint 11 JAL(__gesf2) # is arg >= maxint? 13 li v0, ~0x80000000 # return maxint (7fffffff)
|
TEMPLATE_DOUBLE_TO_INT_VFP.S | 19 JAL(__gedf2) # is arg >= maxint? 22 li v0, ~0x80000000 # return maxint (7fffffff)
|
/dalvik/vm/mterp/mips/ |
OP_FLOAT_TO_INT.S | 10 li a1, 0x4f000000 # (float)maxint 12 JAL(__gesf2) # is arg >= maxint? 14 li v0, ~0x80000000 # return maxint (7fffffff)
|
OP_DOUBLE_TO_INT.S | 20 JAL(__gedf2) # is arg >= maxint? 23 li v0, ~0x80000000 # return maxint (7fffffff)
|
/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...] |
/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\"");
|
/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"},
|
/dalvik/vm/mterp/x86/ |
cvtfp_int.S | 3 * if the result > maxint, it should be clamped to maxint. If it is less
|
/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/icu4c/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))
|