/external/python/cpython3/Lib/test/libregrtest/ |
utils.py | 8 seconds, ms = divmod(ms, 1000) 9 minutes, seconds = divmod(seconds, 60) 10 hours, minutes = divmod(minutes, 60)
|
/external/python/rsa/rsa/ |
randnum.py | 34 nbytes, rbits = divmod(nbits, 8)
|
common.py | 102 quanta, mod = divmod(num, div)
|
/external/libkmsxx/py/tests/ |
ctm_test.py | 12 i, d = divmod(ctm[x], 1)
|
/external/python/cpython3/Lib/email/ |
base64mime.py | 53 groups_of_3, leftover = divmod(len(bytearray), 3)
|
/external/python/cpython3/Lib/test/ |
test_abstract_numbers.py | 37 self.assertRaises(TypeError, divmod, c1, c2)
|
test_bufio.py | 49 q, r = divmod(length, len(pattern))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 683 a, x = divmod(a, 30268)
684 a, y = divmod(a, 30306)
685 a, z = divmod(a, 30322)
772 t, x = divmod(t, 256)
773 t, y = divmod(t, 256)
774 t, z = divmod(t, 256)
795 a, x = divmod(a, 256)
796 a, y = divmod(a, 256)
797 a, z = divmod(a, 256)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 681 a, x = divmod(a, 30268)
682 a, y = divmod(a, 30306)
683 a, z = divmod(a, 30322)
770 t, x = divmod(t, 256)
771 t, y = divmod(t, 256)
772 t, z = divmod(t, 256)
793 a, x = divmod(a, 256)
794 a, y = divmod(a, 256)
795 a, z = divmod(a, 256)
[all...] |
base64.py | 143 quanta, leftover = divmod(len(s), 5)
198 quanta, leftover = divmod(len(s), 8)
|
/external/python/cpython2/Lib/ |
random.py | 685 a, x = divmod(a, 30268) 686 a, y = divmod(a, 30306) 687 a, z = divmod(a, 30322) 774 t, x = divmod(t, 256) 775 t, y = divmod(t, 256) 776 t, z = divmod(t, 256) 797 a, x = divmod(a, 256) 798 a, y = divmod(a, 256) 799 a, z = divmod(a, 256)
|
base64.py | 150 quanta, leftover = divmod(len(s), 5) 205 quanta, leftover = divmod(len(s), 8)
|
/external/python/cpython3/Lib/ |
datetime.py | 107 n400, n = divmod(n, _DI400Y) 115 n100, n = divmod(n, _DI100Y) 118 n4, n = divmod(n, _DI4Y) 122 n1, n = divmod(n, 365) 185 hh, mm = divmod(off, timedelta(hours=1)) 186 mm, ss = divmod(mm, timedelta(minutes=1)) 228 h, rest = divmod(offset, timedelta(hours=1)) 229 m, rest = divmod(rest, timedelta(minutes=1)) 442 q, r = divmod(a, b) 525 days, seconds = divmod(seconds, 24*3600 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_bufio.py | 49 q, r = divmod(length, len(pattern))
|
test_strtod.py | 57 q, r = divmod(a, b)
157 e, m = divmod(bits, 2**52)
|
test_builtin.py | 328 self.assertEqual(divmod(12, 7), (1, 5))
329 self.assertEqual(divmod(-12, 7), (-2, 2))
330 self.assertEqual(divmod(12, -7), (-2, -2))
331 self.assertEqual(divmod(-12, -7), (1, -5))
333 self.assertEqual(divmod(12L, 7L), (1L, 5L))
334 self.assertEqual(divmod(-12L, 7L), (-2L, 2L))
335 self.assertEqual(divmod(12L, -7L), (-2L, -2L))
336 self.assertEqual(divmod(-12L, -7L), (1L, -5L))
338 self.assertEqual(divmod(12, 7L), (1, 5L))
339 self.assertEqual(divmod(-12, 7L), (-2, 2L)) [all...] |
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
|
/external/python/cpython2/Lib/test/ |
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_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
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
base64mime.py | 55 groups_of_3, leftover = divmod(len(s), 3)
|
/external/python/cpython2/Lib/email/ |
base64mime.py | 55 groups_of_3, leftover = divmod(len(s), 3)
|
/external/vixl/tools/ |
printer.py | 109 minutes, seconds = divmod(time.time() - start_time, 60)
|
/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/python/dateutil/dateutil/ |
rrule.py | 844 daypos, timepos = divmod(pos, len(timeset)) 846 daypos, timepos = divmod(pos-1, len(timeset)) [all...] |