Searched refs:PyLong_MASK (Results 1 – 2 of 2) sorted by relevance
214 abs_ival & PyLong_MASK, unsigned long, digit); in PyLong_FromLong()235 t & PyLong_MASK, unsigned long, digit); in PyLong_FromLong()260 *p++ = (digit)((ival) & PyLong_MASK); \819 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()890 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()892 thisdigit &= PyLong_MASK; in _PyLong_AsByteArray()905 digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit; in _PyLong_AsByteArray()1065 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLongLong()1108 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromSsize_t()1460 x[i] = carry & PyLong_MASK; in v_iadd()[all …]
64 #define PyLong_MASK ((digit)(PyLong_BASE - 1)) macro