Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dlongobject.c217 abs_ival & PyLong_MASK, unsigned long, digit); in PyLong_FromLong()
238 t & PyLong_MASK, unsigned long, digit); in PyLong_FromLong()
263 *p++ = (digit)((ival) & PyLong_MASK); \
822 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()
893 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()
895 thisdigit &= PyLong_MASK; in _PyLong_AsByteArray()
908 digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit; in _PyLong_AsByteArray()
1068 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLongLong()
1111 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromSsize_t()
1463 x[i] = carry & PyLong_MASK; in v_iadd()
[all …]
/third_party/python/Include/
Dlongintrepr.h64 #define PyLong_MASK ((digit)(PyLong_BASE - 1)) macro