HomeSort by relevance Sort by last modified time
    Searched full:divmod (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /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...]
  /prebuilts/misc/common/swig/include/2.0.11/python/
pythonkw.swg 63 PYTHONBN(divmod);
  /external/compiler-rt/lib/builtins/arm/
divmodsi4.S 55 // 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)
  /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/tools/memory_inspector/memory_inspector/frontends/
command_line.py 87 run_time_min, run_time_sec = divmod(stats.run_time, 60)
132 run_time_min, run_time_sec = divmod(stats.run_time, 60)
  /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/vixl/tools/
printer.py 63 minutes, seconds = divmod(time.time() - start_time, 60)
  /external/chromium_org/third_party/skia/include/core/
SkMath.h 214 // divmod call, but rather a div call followed by a divmod. Silly! This
  /external/skia/include/core/
SkMath.h 214 // divmod call, but rather a div call followed by a divmod. Silly! This
  /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)
  /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)

Completed in 1352 milliseconds

1 2 3 4 5