Home
last modified time | relevance | path

Searched refs:shiftby (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dlongobject.c3642 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/
Dlongobject.c4472 divmod_shift(PyObject *shiftby, Py_ssize_t *wordshift, digit *remshift) in divmod_shift() argument
4474 assert(PyLong_Check(shiftby)); in divmod_shift()
4475 assert(Py_SIZE(shiftby) >= 0); in divmod_shift()
4476 Py_ssize_t lshiftby = PyLong_AsSsize_t((PyObject *)shiftby); in divmod_shift()
4486 PyLongObject *wordshift_obj = divrem1((PyLongObject *)shiftby, PyLong_SHIFT, remshift); in divmod_shift()
4565 _PyLong_Rshift(PyObject *a, size_t shiftby) in _PyLong_Rshift() argument
4574 wordshift = shiftby / PyLong_SHIFT; in _PyLong_Rshift()
4575 remshift = shiftby % PyLong_SHIFT; in _PyLong_Rshift()
4636 _PyLong_Lshift(PyObject *a, size_t shiftby) in _PyLong_Lshift() argument
4645 wordshift = shiftby / PyLong_SHIFT; in _PyLong_Lshift()
[all …]