/prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/ |
test_case.py | 732 [], [divmod, 'x', 1, 5j, 2j, frozenset()]) 736 self.assertItemsEqual([1, 'x', divmod, []], [divmod, [], 'x', 1]) 738 [], [divmod, [], 'x', 1, 5j, 2j, set()]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_case.py | 732 [], [divmod, 'x', 1, 5j, 2j, frozenset()]) 736 self.assertItemsEqual([1, 'x', divmod, []], [divmod, [], 'x', 1]) 738 [], [divmod, [], 'x', 1, 5j, 2j, set()]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_case.py | 732 [], [divmod, 'x', 1, 5j, 2j, frozenset()]) 736 self.assertItemsEqual([1, 'x', divmod, []], [divmod, [], 'x', 1]) 738 [], [divmod, [], 'x', 1, 5j, 2j, set()]) [all...] |
/external/python/cpython2/Demo/rpc/ |
rpc.py | 191 offset, ss = divmod(ss + offset, 60) 192 offset, mm = divmod(mm + offset, 60) 193 offset, hh = divmod(hh + offset, 24)
|
/external/sonivox/jet_tools/JetCreator/ |
JetUtils.py | 687 m,s=divmod(s,60)
688 h,m=divmod(m,60)
689 d,h=divmod(h,24)
|
/external/python/cpython2/Lib/ |
decimal.py | 4244 def divmod(self, a, b): member in class:Context [all...] |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE) 557 blocks, remainder = divmod(pos - self.pos, self.bufsize) [all...] |
_pyio.py | [all...] |
/external/python/cpython2/Lib/test/ |
test_decimal.py | 635 return 'divmod ' + str(other) 651 self.assertEqual(divmod(E(), Decimal(10)), 'divmod 10') 652 self.assertEqual(divmod(Decimal(10), E()), '10 rdivmod') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
decimal.py | 4244 def divmod(self, a, b): member in class:Context [all...] |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE) 551 blocks, remainder = divmod(pos - self.pos, self.bufsize) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
decimal.py | 4244 def divmod(self, a, b): member in class:Context [all...] |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE) 551 blocks, remainder = divmod(pos - self.pos, self.bufsize) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
decimal.py | 4244 def divmod(self, a, b): member in class:Context [all...] |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE) 551 blocks, remainder = divmod(pos - self.pos, self.bufsize) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
decimal.py | 4244 def divmod(self, a, b): member in class:Context [all...] |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE) 551 blocks, remainder = divmod(pos - self.pos, self.bufsize) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE)
549 blocks, remainder = divmod(pos - self.pos, self.bufsize)
[all...] |
_pyio.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 119 /* Compute Python divmod(x, y), returning the quotient and storing the
125 * the overflow case impossible (divmod(LONG_MIN, -1) is the only
129 divmod(int x, int y, int *r)
function 445 const int num_hi = divmod(*lo, factor, lo);
849 result = divmod(ss, 60, &ss);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
string_tests.py | 144 i, m = divmod(i, base)
154 r2, rem = divmod(n - len(i.replace(j, '')), len(j))
201 i, m = divmod(i, base)
245 i, m = divmod(i, base)
[all...] |
test_generators.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 119 /* Compute Python divmod(x, y), returning the quotient and storing the
125 * the overflow case impossible (divmod(LONG_MIN, -1) is the only
129 divmod(int x, int y, int *r)
function 445 const int num_hi = divmod(*lo, factor, lo);
849 result = divmod(ss, 60, &ss);
[all...] |