Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dlongobject.c596 unsigned int accumbits = 0; /* number of bits in accum */ in _PyLong_FromByteArray() local
610 accum |= (twodigits)thisbyte << accumbits; in _PyLong_FromByteArray()
611 accumbits += 8; in _PyLong_FromByteArray()
612 if (accumbits >= PyLong_SHIFT) { in _PyLong_FromByteArray()
618 accumbits -= PyLong_SHIFT; in _PyLong_FromByteArray()
619 assert(accumbits < PyLong_SHIFT); in _PyLong_FromByteArray()
622 assert(accumbits < PyLong_SHIFT); in _PyLong_FromByteArray()
623 if (accumbits) { in _PyLong_FromByteArray()
642 unsigned int accumbits; /* # bits in accum */ in _PyLong_AsByteArray() local
681 accumbits = 0; in _PyLong_AsByteArray()
[all …]
/external/python/cpython3/Objects/
Dlongobject.c846 unsigned int accumbits = 0; /* number of bits in accum */ in _PyLong_FromByteArray() local
860 accum |= thisbyte << accumbits; in _PyLong_FromByteArray()
861 accumbits += 8; in _PyLong_FromByteArray()
862 if (accumbits >= PyLong_SHIFT) { in _PyLong_FromByteArray()
868 accumbits -= PyLong_SHIFT; in _PyLong_FromByteArray()
869 assert(accumbits < PyLong_SHIFT); in _PyLong_FromByteArray()
872 assert(accumbits < PyLong_SHIFT); in _PyLong_FromByteArray()
873 if (accumbits) { in _PyLong_FromByteArray()
892 unsigned int accumbits; /* # bits in accum */ in _PyLong_AsByteArray() local
931 accumbits = 0; in _PyLong_AsByteArray()
[all …]