Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dlongobject.c533 Py_ssize_t idigit = 0; /* next free index in v->ob_digit */ in _PyLong_FromByteArray() local
614 assert(idigit < ndigits); in _PyLong_FromByteArray()
615 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()
616 ++idigit; in _PyLong_FromByteArray()
624 assert(idigit < ndigits); in _PyLong_FromByteArray()
625 v->ob_digit[idigit] = (digit)accum; in _PyLong_FromByteArray()
626 ++idigit; in _PyLong_FromByteArray()
630 Py_SIZE(v) = is_signed ? -idigit : idigit; in _PyLong_FromByteArray()
/external/python/cpython3/Objects/
Dlongobject.c783 Py_ssize_t idigit = 0; /* next free index in v->ob_digit */ in _PyLong_FromByteArray() local
864 assert(idigit < ndigits); in _PyLong_FromByteArray()
865 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()
866 ++idigit; in _PyLong_FromByteArray()
874 assert(idigit < ndigits); in _PyLong_FromByteArray()
875 v->ob_digit[idigit] = (digit)accum; in _PyLong_FromByteArray()
876 ++idigit; in _PyLong_FromByteArray()
880 Py_SIZE(v) = is_signed ? -idigit : idigit; in _PyLong_FromByteArray()