Searched refs:shiftby (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | longobject.c | 3642 Py_ssize_t shiftby, newsize, wordshift, loshift, hishift, i, j; in long_rshift() local 3661 shiftby = PyLong_AsSsize_t((PyObject *)b); in long_rshift() 3662 if (shiftby == -1L && PyErr_Occurred()) in long_rshift() 3664 if (shiftby < 0) { in long_rshift() 3669 wordshift = shiftby / PyLong_SHIFT; in long_rshift() 3677 loshift = shiftby % PyLong_SHIFT; in long_rshift() 3706 Py_ssize_t shiftby, oldsize, newsize, wordshift, remshift, i, j; in long_lshift() local 3711 shiftby = PyLong_AsSsize_t((PyObject *)b); in long_lshift() 3712 if (shiftby == -1L && PyErr_Occurred()) in long_lshift() 3714 if (shiftby < 0) { in long_lshift() [all …]
|
/external/python/cpython3/Objects/ |
D | longobject.c | 4256 divmod_shift(PyLongObject *shiftby, Py_ssize_t *wordshift, digit *remshift) in divmod_shift() argument 4258 assert(PyLong_Check((PyObject *)shiftby)); in divmod_shift() 4259 assert(Py_SIZE(shiftby) >= 0); in divmod_shift() 4260 Py_ssize_t lshiftby = PyLong_AsSsize_t((PyObject *)shiftby); in divmod_shift() 4270 PyLongObject *wordshift_obj = divrem1(shiftby, PyLong_SHIFT, remshift); in divmod_shift()
|