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()
851 size_t numsignificantbytes; /* number of bytes that matter */ in _PyLong_FromByteArray() local886 numsignificantbytes = n - i; in _PyLong_FromByteArray()892 if (is_signed && numsignificantbytes < n) in _PyLong_FromByteArray()893 ++numsignificantbytes; in _PyLong_FromByteArray()900 if (numsignificantbytes > (PY_SSIZE_T_MAX - PyLong_SHIFT) / 8) { in _PyLong_FromByteArray()905 ndigits = (numsignificantbytes * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT; in _PyLong_FromByteArray()920 for (i = 0; i < numsignificantbytes; ++i, p += incr) { in _PyLong_FromByteArray()