Searched refs:numsignificantbytes (Results 1 – 2 of 2) sorted by relevance
530 size_t numsignificantbytes; /* number of bytes that matter */ in _PyLong_FromByteArray() local565 numsignificantbytes = n - i; in _PyLong_FromByteArray()571 if (is_signed && numsignificantbytes < n) in _PyLong_FromByteArray()572 ++numsignificantbytes; in _PyLong_FromByteArray()579 if (numsignificantbytes > (PY_SSIZE_T_MAX - PyLong_SHIFT) / 8) { in _PyLong_FromByteArray()584 ndigits = (numsignificantbytes * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT; in _PyLong_FromByteArray()599 for (i = 0; i < numsignificantbytes; ++i, p += incr) { in _PyLong_FromByteArray()
780 size_t numsignificantbytes; /* number of bytes that matter */ in _PyLong_FromByteArray() local815 numsignificantbytes = n - i; in _PyLong_FromByteArray()821 if (is_signed && numsignificantbytes < n) in _PyLong_FromByteArray()822 ++numsignificantbytes; in _PyLong_FromByteArray()829 if (numsignificantbytes > (PY_SSIZE_T_MAX - PyLong_SHIFT) / 8) { in _PyLong_FromByteArray()834 ndigits = (numsignificantbytes * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT; in _PyLong_FromByteArray()849 for (i = 0; i < numsignificantbytes; ++i, p += incr) { in _PyLong_FromByteArray()