HomeSort by relevance Sort by last modified time
    Searched refs:divmod (Results 26 - 50 of 80) sorted by null

12 3 4

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_long_future.py 43 q, r = divmod(a, b)
test_class.py 20 "divmod",
195 divmod(testme,1)
199 divmod(1, testme)
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...]
string_tests.py 145 i, m = divmod(i, base)
155 r2, rem = divmod(n - len(i.replace(j, '')), len(j))
202 i, m = divmod(i, base)
246 i, m = divmod(i, base)
    [all...]
test_generators.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
utils.py 158 hours, minutes = divmod(abs(offset), 3600)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_long_future.py 43 q, r = divmod(a, b)
test_class.py 20 "divmod",
195 divmod(testme,1)
199 divmod(1, testme)
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...]
string_tests.py 145 i, m = divmod(i, base)
155 r2, rem = divmod(n - len(i.replace(j, '')), len(j))
202 i, m = divmod(i, base)
246 i, m = divmod(i, base)
    [all...]
test_generators.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
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)
551 blocks, remainder = divmod(pos - self.pos, self.bufsize)
    [all...]
_pyio.py     [all...]
sunau.py 146 d, m = divmod(x, 256)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
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)
551 blocks, remainder = divmod(pos - self.pos, self.bufsize)
    [all...]
_pyio.py     [all...]
sunau.py 146 d, m = divmod(x, 256)
  /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/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/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/chromium_org/third_party/skia/forth/
StdWords.cpp 417 ADD_LITERAL_WORD("/MOD", divmod);

Completed in 3395 milliseconds

12 3 4