/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
decimal.py | 4216 def divmod(self, a, b): member in class:Context [all...] |
formatter.py | 145 counter, x = divmod(counter-1, 26)
159 counter, x = divmod(counter, 10)
|
tarfile.py | 270 blocks, remainder = divmod(length, BUFSIZE)
549 blocks, remainder = divmod(pos - self.pos, self.bufsize)
[all...] |
/external/python/cpython3/Modules/ |
_datetimemodule.c | 141 /* Compute Python divmod(x, y), returning the quotient and storing the 147 * the overflow case impossible (divmod(LONG_MIN, -1) is the only 151 divmod(int x, int y, int *r) function 471 const int num_hi = divmod(*lo, factor, lo); 2279 PyObject *divmod; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
formatter.py | 145 counter, x = divmod(counter-1, 26)
159 counter, x = divmod(counter, 10)
|
/external/python/cpython2/Lib/ |
formatter.py | 145 counter, x = divmod(counter-1, 26) 159 counter, x = divmod(counter, 10)
|
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...] |
/external/python/cpython2/Lib/test/ |
test_class.py | 20 "divmod", 195 divmod(testme,1) 199 divmod(1, testme)
|
test_long.py | 132 q, r = divmod(x, y) 136 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y)) 137 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y)) 138 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y)) 140 self.assertTrue(0 <= r < y, Frm("bad mod from divmod on %r and %r", x, y)) 142 self.assertTrue(y < r <= 0, Frm("bad mod from divmod on %r and %r", x, y)) 299 x, r = divmod(x, base) 699 expected = divmod(longx, longy) 700 got = divmod(longx, longy) 701 checkit(x, 'divmod', y [all...] |
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...] |
/external/python/cpython2/Misc/Vim/ |
python.vim | 69 syn keyword pythonBuiltin delattr dict dir divmod enumerate eval execfile
|
/external/python/cpython3/Lib/ |
formatter.py | 148 counter, x = divmod(counter-1, 26) 162 counter, x = divmod(counter, 10)
|
tarfile.py | 245 blocks, remainder = divmod(length, bufsize) 515 blocks, remainder = divmod(pos - self.pos, self.bufsize) 953 blocks, remainder = divmod(len(payload), BLOCKSIZE) [all...] |
/external/tensorflow/tensorflow/python/tpu/ |
tpu_feed.py | 57 quotients, remainders = np.divmod(shape_list, dims) 70 num_full_slots, left_over = np.divmod(original_size, ceil_ratio) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_long.py | 124 q, r = divmod(x, y)
128 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y))
129 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y))
130 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y))
132 self.assertTrue(0 <= r < y, Frm("bad mod from divmod on %r and %r", x, y))
134 self.assertTrue(y < r <= 0, Frm("bad mod from divmod on %r and %r", x, y))
276 x, r = divmod(x, base)
665 expected = divmod(longx, longy)
666 got = divmod(longx, longy)
667 checkit(x, 'divmod', y) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
test_case.py | 731 [], [divmod, 'x', 1, 5j, 2j, frozenset()])
735 self.assertItemsEqual([1, 'x', divmod, []], [divmod, [], 'x', 1])
737 [], [divmod, [], 'x', 1, 5j, 2j, set()])
[all...] |
/external/fonttools/Lib/fontTools/misc/ |
py23.py | 362 quotient, remainder = divmod(number, exponent) 432 quotient, remainder = divmod(number, exponent)
|
/external/python/cpython2/Demo/turtle/ |
tdemo_nim.py | 105 packet, remainder = divmod(col, 5)
|
/external/python/cpython2/Lib/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/cpython3/Lib/turtledemo/ |
nim.py | 105 packet, remainder = divmod(col, 5)
|
/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/python/futures/ |
test_futures.py | 334 future1 = self.executor.submit(divmod, 21, 0) 360 future1 = self.executor.submit(divmod, 2, 0) 489 i = self.executor.map(divmod, [1, 1, 1, 1], [2, 3, 0, 5])
|
/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/cpython3/Lib/test/ |
test_concurrent_futures.py | 481 future1 = self.executor.submit(divmod, 21, 0) 507 future1 = self.executor.submit(divmod, 2, 0) 672 i = self.executor.map(divmod, [1, 1, 1, 1], [2, 3, 0, 5]) [all...] |