Lines Matching refs:wordshift
4256 divmod_shift(PyLongObject *shiftby, Py_ssize_t *wordshift, digit *remshift) in divmod_shift() argument
4262 *wordshift = lshiftby / PyLong_SHIFT; in divmod_shift()
4274 *wordshift = PyLong_AsSsize_t((PyObject *)wordshift_obj); in divmod_shift()
4276 if (*wordshift >= 0 && *wordshift < PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(digit)) { in divmod_shift()
4282 *wordshift = PY_SSIZE_T_MAX / sizeof(digit); in divmod_shift()
4291 Py_ssize_t newsize, wordshift, hishift, i, j; in long_rshift() local
4316 if (divmod_shift(b, &wordshift, &loshift) < 0) in long_rshift()
4318 newsize = Py_SIZE(a) - wordshift; in long_rshift()
4327 for (i = 0, j = wordshift; i < newsize; i++, j++) { in long_rshift()
4344 Py_ssize_t oldsize, newsize, wordshift, i, j; in long_lshift() local
4358 if (divmod_shift(b, &wordshift, &remshift) < 0) in long_lshift()
4361 newsize = oldsize + wordshift; in long_lshift()
4371 for (i = 0; i < wordshift; i++) in long_lshift()
4374 for (i = wordshift, j = 0; j < oldsize; i++, j++) { in long_lshift()