Searched refs:remshift (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | longobject.c | 4256 divmod_shift(PyLongObject *shiftby, Py_ssize_t *wordshift, digit *remshift) in divmod_shift() argument 4263 *remshift = lshiftby % PyLong_SHIFT; in divmod_shift() 4270 PyLongObject *wordshift_obj = divrem1(shiftby, PyLong_SHIFT, remshift); in divmod_shift() 4283 *remshift = 0; in divmod_shift() 4345 digit remshift; in long_lshift() local 4358 if (divmod_shift(b, &wordshift, &remshift) < 0) in long_lshift() 4362 if (remshift) in long_lshift() 4375 accum |= (twodigits)a->ob_digit[j] << remshift; in long_lshift() 4379 if (remshift) in long_lshift()
|
/external/python/cpython2/Objects/ |
D | longobject.c | 3706 Py_ssize_t shiftby, oldsize, newsize, wordshift, remshift, i, j; in long_lshift() local 3726 remshift = shiftby - wordshift * PyLong_SHIFT; in long_lshift() 3730 if (remshift) in long_lshift() 3741 accum |= (twodigits)a->ob_digit[j] << remshift; in long_lshift() 3745 if (remshift) in long_lshift()
|