/external/chromium_org/v8/test/mjsunit/ |
div-mod.js | 32 function divmod(div_func, mod_func, x, y) { function 50 divmod(div_func, mod_func, 0, divisor); 51 divmod(div_func, mod_func, 1 / 0, divisor); 54 divmod(div_func, mod_func, Math.pow(2, exp), divisor); 55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor); 56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor); 60 divmod(div_func, mod_func, 1 << exp, divisor); 61 divmod(div_func, mod_func, (1 << exp) + 1, divisor); 62 divmod(div_func, mod_func, (1 << exp) - 1, divisor); 64 divmod(div_func, mod_func, Math.floor(0x1fffffff / 3), divisor) [all...] |
/external/v8/test/mjsunit/ |
div-mod.js | 32 function divmod(div_func, mod_func, x, y) { function 50 divmod(div_func, mod_func, 0, divisor); 51 divmod(div_func, mod_func, 1 / 0, divisor); 54 divmod(div_func, mod_func, Math.pow(2, exp), divisor); 55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor); 56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor); 60 divmod(div_func, mod_func, 1 << exp, divisor); 61 divmod(div_func, mod_func, (1 << exp) + 1, divisor); 62 divmod(div_func, mod_func, (1 << exp) - 1, divisor); 64 divmod(div_func, mod_func, Math.floor(0x1fffffff / 3), divisor) [all...] |
/external/compiler-rt/lib/arm/ |
divmodsi4.S | 50 // Unsigned divmod:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binop.py | 186 return divmod(other, self) 190 return divmod(self, other)[1] 194 return divmod(other, self)[1] 314 # XXX Ran out of steam; TO DO: divmod, div, future division
|
test_bufio.py | 49 q, r = divmod(length, len(pattern))
|
test_builtin.py | 330 self.assertEqual(divmod(12, 7), (1, 5)) 331 self.assertEqual(divmod(-12, 7), (-2, 2)) 332 self.assertEqual(divmod(12, -7), (-2, -2)) 333 self.assertEqual(divmod(-12, -7), (1, -5)) 335 self.assertEqual(divmod(12L, 7L), (1L, 5L)) 336 self.assertEqual(divmod(-12L, 7L), (-2L, 2L)) 337 self.assertEqual(divmod(12L, -7L), (-2L, -2L)) 338 self.assertEqual(divmod(-12L, -7L), (1L, -5L)) 340 self.assertEqual(divmod(12, 7L), (1, 5L)) 341 self.assertEqual(divmod(-12, 7L), (-2, 2L) [all...] |
test_long.py | 126 q, r = divmod(x, y) 130 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y)) 131 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y)) 132 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y)) 134 self.assertTrue(0 <= r < y, Frm("bad mod from divmod on %r and %r", x, y)) 136 self.assertTrue(y < r <= 0, Frm("bad mod from divmod on %r and %r", x, y)) 278 x, r = divmod(x, base) 667 expected = divmod(longx, longy) 668 got = divmod(longx, longy) 669 checkit(x, 'divmod', y [all...] |
test_class.py | 20 "divmod", 195 divmod(testme,1) 199 divmod(1, testme)
|
test_decimal.py | 636 return 'divmod ' + str(other) 652 self.assertEqual(divmod(E(), Decimal(10)), 'divmod 10') 653 self.assertEqual(divmod(Decimal(10), E()), '10 rdivmod') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binop.py | 186 return divmod(other, self) 190 return divmod(self, other)[1] 194 return divmod(other, self)[1] 314 # XXX Ran out of steam; TO DO: divmod, div, future division
|
test_bufio.py | 49 q, r = divmod(length, len(pattern))
|
test_builtin.py | 330 self.assertEqual(divmod(12, 7), (1, 5)) 331 self.assertEqual(divmod(-12, 7), (-2, 2)) 332 self.assertEqual(divmod(12, -7), (-2, -2)) 333 self.assertEqual(divmod(-12, -7), (1, -5)) 335 self.assertEqual(divmod(12L, 7L), (1L, 5L)) 336 self.assertEqual(divmod(-12L, 7L), (-2L, 2L)) 337 self.assertEqual(divmod(12L, -7L), (-2L, -2L)) 338 self.assertEqual(divmod(-12L, -7L), (1L, -5L)) 340 self.assertEqual(divmod(12, 7L), (1, 5L)) 341 self.assertEqual(divmod(-12, 7L), (-2, 2L) [all...] |
test_long.py | 126 q, r = divmod(x, y) 130 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y)) 131 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y)) 132 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y)) 134 self.assertTrue(0 <= r < y, Frm("bad mod from divmod on %r and %r", x, y)) 136 self.assertTrue(y < r <= 0, Frm("bad mod from divmod on %r and %r", x, y)) 278 x, r = divmod(x, base) 667 expected = divmod(longx, longy) 668 got = divmod(longx, longy) 669 checkit(x, 'divmod', y [all...] |
test_class.py | 20 "divmod", 195 divmod(testme,1) 199 divmod(1, testme)
|
/external/chromium_org/third_party/skia/include/core/ |
SkMath.h | 183 // divmod call, but rather a div call followed by a divmod. Silly! This
|
/external/skia/include/core/ |
SkMath.h | 183 // divmod call, but rather a div call followed by a divmod. Silly! This
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
numbers.py | 172 In short, those are: a conversion to float, trunc(), divmod, 201 """divmod(self, other): The pair (self // other, self % other). 209 """divmod(other, self): The pair (self // other, self % other).
|
random.py | 677 a, x = divmod(a, 30268) 678 a, y = divmod(a, 30306) 679 a, z = divmod(a, 30322) 766 t, x = divmod(t, 256) 767 t, y = divmod(t, 256) 768 t, z = divmod(t, 256) 789 a, x = divmod(a, 256) 790 a, y = divmod(a, 256) 791 a, z = divmod(a, 256)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
numbers.py | 172 In short, those are: a conversion to float, trunc(), divmod, 201 """divmod(self, other): The pair (self // other, self % other). 209 """divmod(other, self): The pair (self // other, self % other).
|
random.py | 677 a, x = divmod(a, 30268) 678 a, y = divmod(a, 30306) 679 a, z = divmod(a, 30322) 766 t, x = divmod(t, 256) 767 t, y = divmod(t, 256) 768 t, z = divmod(t, 256) 789 a, x = divmod(a, 256) 790 a, y = divmod(a, 256) 791 a, z = divmod(a, 256)
|
/external/clang/utils/ |
FuzzTest | 46 index,picked_position = divmod(index, self.num_positions) 53 index,position = divmod(index, self.num_positions) 60 index,insert_index = divmod(index, self.num_insert_strings)
|
/external/libvpx/libvpx/examples/includes/geshi/geshi/ |
haskell.php | 72 'div', 'mod', 'quotRem', 'divMod', 'toInteger',
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 55 groups_of_3, leftover = divmod(len(s), 3)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
MiniAEFrame.py | 174 x, c = divmod(x, 256)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 55 groups_of_3, leftover = divmod(len(s), 3)
|