Searched refs:PyLong_MASK (Results 1 – 2 of 2) sorted by relevance
64 #define PyLong_MASK ((digit)(PyLong_BASE - 1)) macro69 #define MASK PyLong_MASK
135 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLong()162 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLong()615 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()686 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()688 thisdigit &= PyLong_MASK; in _PyLong_AsByteArray()701 digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit; in _PyLong_AsByteArray()879 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLongLong()906 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLongLong()1215 x[i] = carry & PyLong_MASK; in v_iadd()1221 x[i] = carry & PyLong_MASK; in v_iadd()[all …]