Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dlongobject.c594 twodigits carry = 1; /* for 2's-comp calculation */ in _PyLong_FromByteArray()
595 twodigits accum = 0; /* sliding register */ in _PyLong_FromByteArray()
600 twodigits thisbyte = *p; in _PyLong_FromByteArray()
610 accum |= (twodigits)thisbyte << accumbits; in _PyLong_FromByteArray()
641 twodigits accum; /* sliding register */ in _PyLong_AsByteArray()
693 accum |= (twodigits)thisdigit << accumbits; in _PyLong_AsByteArray()
733 accum |= (~(twodigits)0) << accumbits; in _PyLong_AsByteArray()
1265 twodigits acc = (twodigits)a[i] << d | carry; in v_lshift()
1284 twodigits acc = (twodigits)carry << PyLong_SHIFT | a[i]; in v_rshift()
1300 twodigits rem = 0; in inplace_divrem1()
[all …]
/external/python/cpython3/Include/
Dlongintrepr.h47 typedef uint64_t twodigits; typedef
55 typedef unsigned long twodigits;
/external/python/cpython2/Include/
Dlongintrepr.h47 typedef PY_UINT64_T twodigits; typedef
55 typedef unsigned long twodigits;
/external/python/cpython3/Objects/
Dlongobject.c814 twodigits carry = 1; /* for 2's-comp calculation */ in _PyLong_FromByteArray()
815 twodigits accum = 0; /* sliding register */ in _PyLong_FromByteArray()
820 twodigits thisbyte = *p; in _PyLong_FromByteArray()
830 accum |= (twodigits)thisbyte << accumbits; in _PyLong_FromByteArray()
861 twodigits accum; /* sliding register */ in _PyLong_AsByteArray()
913 accum |= (twodigits)thisdigit << accumbits; in _PyLong_AsByteArray()
953 accum |= (~(twodigits)0) << accumbits; in _PyLong_AsByteArray()
1502 twodigits acc = (twodigits)a[i] << d | carry; in v_lshift()
1521 twodigits acc = (twodigits)carry << PyLong_SHIFT | a[i]; in v_rshift()
1537 twodigits rem = 0; in inplace_divrem1()
[all …]