Searched defs:divmod (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
H A Ddecimal.py1333 coeff, remainder = divmod(op1.int * 10**shift, op2.int)
1335 coeff, remainder = divmod(op1.int, op2.int * 10**-shift)
1373 q, r = divmod(op1.int, op2.int)
1380 'quotient too large in //, % or divmod')
1411 ans = context._raise_error(InvalidOperation, 'divmod(INF, INF)')
1419 ans = context._raise_error(DivisionUndefined, 'divmod(0, 0)')
1525 q, r = divmod(op1.int, op2.int)
2080 xc, remainder = divmod(5**e, xc)
2133 xe, rem = divmod(xe, n)
2140 q, r = divmod(x
4244 def divmod(self, a, b): member in class:Context
[all...]
/external/python/cpython3/Lib/
H A D_pydecimal.py1403 coeff, remainder = divmod(op1.int * 10**shift, op2.int)
1405 coeff, remainder = divmod(op1.int, op2.int * 10**-shift)
1443 q, r = divmod(op1.int, op2.int)
1450 'quotient too large in //, % or divmod')
1478 ans = context._raise_error(InvalidOperation, 'divmod(INF, INF)')
1486 ans = context._raise_error(DivisionUndefined, 'divmod(0, 0)')
1592 q, r = divmod(op1.int, op2.int)
2233 xc, remainder = divmod(5**e, xc)
2286 xe, rem = divmod(xe, n)
2293 q, r = divmod(x
4455 def divmod(self, a, b): member in class:Context
[all...]
/external/python/cpython2/Modules/
H A Ddatetimemodule.c119 /* 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);
1135 hours = divmod(offset, 60, &minutes);
2056 minutes = divmod(seconds, 60, &seconds);
2057 hours = divmod(minutes, 60, &minutes);
2590 week = divmod(today - week1_monday, 7, &day);
2594 week = divmod(toda
[all...]
/external/python/cpython3/Modules/
H A D_datetimemodule.c141 /* 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);
1143 minutes = divmod(seconds, 60, &seconds);
1144 hours = divmod(minutes, 60, &minutes);
2028 PyObject *divmod; local
2045 divmod = PyNumber_Divmod(pyus_left, pyus_right);
2048 if (divmod == NULL)
2051 assert(PyTuple_Size(divmod)
[all...]
H A Dposixmodule.c4502 PyObject *divmod; local
4503 divmod = PyNumber_Divmod(py_long, billion);
4504 if (!divmod)
4506 *s = _PyLong_AsTime_t(PyTuple_GET_ITEM(divmod, 0));
4509 *ns = PyLong_AsLong(PyTuple_GET_ITEM(divmod, 1));
4515 Py_XDECREF(divmod);
/external/guice/extensions/struts2/lib/
H A Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/core/ freemarker/debug/ freemarker/debug/impl/ ...

Completed in 605 milliseconds