Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dlongobject.c737 size_t numsignificantbytes; /* number of bytes that matter */ in _PyLong_FromByteArray() local
772 numsignificantbytes = n - i; in _PyLong_FromByteArray()
778 if (is_signed && numsignificantbytes < n) in _PyLong_FromByteArray()
779 ++numsignificantbytes; in _PyLong_FromByteArray()
786 if (numsignificantbytes > (PY_SSIZE_T_MAX - PyLong_SHIFT) / 8) { in _PyLong_FromByteArray()
791 ndigits = (numsignificantbytes * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT; in _PyLong_FromByteArray()
806 for (i = 0; i < numsignificantbytes; ++i, p += incr) { in _PyLong_FromByteArray()