/external/autotest/client/cros/video/ |
D | screenshot_file_namer.py | 54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600) 56 minutes, seconds = divmod(remainder, 60)
|
/external/python/cpython2/Lib/ |
D | 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)
|
D | base64.py | 148 quanta, leftover = divmod(len(s), 5) 203 quanta, leftover = divmod(len(s), 8)
|
D | formatter.py | 145 counter, x = divmod(counter-1, 26) 159 counter, x = divmod(counter, 10)
|
/external/python/cpython2/Lib/test/ |
D | 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 …]
|
D | test_binop.py | 186 return divmod(other, self) 190 return divmod(self, other)[1] 194 return divmod(other, self)[1]
|
D | test_strtod.py | 57 q, r = divmod(a, b) 157 e, m = divmod(bits, 2**52)
|
D | test_bufio.py | 49 q, r = divmod(length, len(pattern))
|
D | test_decimal.py | 651 self.assertEqual(divmod(E(), Decimal(10)), 'divmod 10') 652 self.assertEqual(divmod(Decimal(10), E()), '10 rdivmod') 1125 (p, q) = divmod(d1, d2) 1132 (p, q) = divmod(d1, 4) 1139 (p, q) = divmod(7, d1) 1890 d = c.divmod(Decimal(1), Decimal(2)) 1891 self.assertEqual(c.divmod(1, 2), d) 1892 self.assertEqual(c.divmod(Decimal(1), 2), d) 1893 self.assertEqual(c.divmod(1, Decimal(2)), d) 1894 self.assertRaises(TypeError, c.divmod, '1', 2) [all …]
|
D | test_class.py | 195 divmod(testme,1) 199 divmod(1, testme)
|
D | test_long.py | 132 q, r = divmod(x, y) 299 x, r = divmod(x, base) 699 expected = divmod(longx, longy) 700 got = divmod(longx, longy)
|
D | test_long_future.py | 43 q, r = divmod(a, b)
|
/external/clang/utils/ |
D | 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/cpython2/Lib/email/ |
D | base64mime.py | 54 groups_of_3, leftover = divmod(len(s), 3)
|
D | utils.py | 152 hours, minutes = divmod(abs(offset), 3600)
|
/external/python/cpython2/Lib/plat-irix5/ |
D | readcd.py | 72 min, block = divmod(block, 75*60) 73 sec, frame = divmod(block, 75)
|
/external/python/cpython2/Lib/plat-irix6/ |
D | readcd.py | 72 min, block = divmod(block, 75*60) 73 sec, frame = divmod(block, 75)
|
/external/vixl/tools/ |
D | printer.py | 109 minutes, seconds = divmod(time.time() - start_time, 60)
|
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/ |
D | hardware_TPMTakeOwnership.py | 128 sec, ms = divmod(v/1000, 1000)
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetUtils.py | 687 m,s=divmod(s,60) 688 h,m=divmod(m,60) 689 d,h=divmod(h,24)
|
/external/python/cpython2/Lib/unittest/test/ |
D | 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()])
|
/external/python/cpython2/Lib/plat-mac/ |
D | MiniAEFrame.py | 174 x, c = divmod(x, 256)
|
/external/python/cpython2/Demo/pdist/ |
D | cmptree.py | 37 mins, secs = divmod(dt, 60)
|
/external/python/cpython2/Demo/rpc/ |
D | 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/cpython2/Doc/c-api/ |
D | number.rst | 66 .. index:: builtin: divmod 68 See the built-in function :func:`divmod`. Returns *NULL* on failure. This is 69 the equivalent of the Python expression ``divmod(o1, o2)``.
|