Lines Matching refs:PyLong_MASK

282                 abs_ival & PyLong_MASK, unsigned long, digit);  in PyLong_FromLong()
303 t & PyLong_MASK, unsigned long, digit); in PyLong_FromLong()
331 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLong()
865 v->ob_digit[idigit] = (digit)(accum & PyLong_MASK); in _PyLong_FromByteArray()
936 thisdigit = (thisdigit ^ PyLong_MASK) + carry; in _PyLong_AsByteArray()
938 thisdigit &= PyLong_MASK; in _PyLong_AsByteArray()
951 digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit; in _PyLong_AsByteArray()
1108 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromLongLong()
1136 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromUnsignedLongLong()
1176 *p++ = (digit)(t & PyLong_MASK); in PyLong_FromSsize_t()
1205 *p++ = (digit)(ival & PyLong_MASK); in PyLong_FromSize_t()
1461 x[i] = carry & PyLong_MASK; in v_iadd()
1467 x[i] = carry & PyLong_MASK; in v_iadd()
1487 x[i] = borrow & PyLong_MASK; in v_isub()
1493 x[i] = borrow & PyLong_MASK; in v_isub()
1512 z[i] = (digit)acc & PyLong_MASK; in v_lshift()
1548 assert(n > 0 && n <= PyLong_MASK); in inplace_divrem1()
1570 assert(n > 0 && n <= PyLong_MASK); in divrem1()
2090 *pdigit++ = (digit)(accum & PyLong_MASK); in long_from_binary_base()
2390 *pz = (digit)(c & PyLong_MASK); in PyLong_FromString()
2703 vk[i] = (digit)z & PyLong_MASK; in x_divrem()
2714 vk[i] = carry & PyLong_MASK; in x_divrem()
3014 z->ob_digit[i] = carry & PyLong_MASK; in x_add()
3019 z->ob_digit[i] = carry & PyLong_MASK; in x_add()
3065 z->ob_digit[i] = borrow & PyLong_MASK; in x_sub()
3071 z->ob_digit[i] = borrow & PyLong_MASK; in x_sub()
3181 *pz++ = (digit)(carry & PyLong_MASK); in x_mul()
3183 assert(carry <= PyLong_MASK); in x_mul()
3191 *pz++ = (digit)(carry & PyLong_MASK); in x_mul()
3193 assert(carry <= (PyLong_MASK << 1)); in x_mul()
3197 *pz++ = (digit)(carry & PyLong_MASK); in x_mul()
3201 *pz += (digit)(carry & PyLong_MASK); in x_mul()
3220 *pz++ = (digit)(carry & PyLong_MASK); in x_mul()
3222 assert(carry <= PyLong_MASK); in x_mul()
3225 *pz += (digit)(carry & PyLong_MASK); in x_mul()
4323 himask = PyLong_MASK ^ lomask; in long_rshift()
4376 z->ob_digit[i] = (digit)(accum & PyLong_MASK); in long_lshift()
4397 carry += a[i] ^ PyLong_MASK; in v_complement()
4398 z[i] = carry & PyLong_MASK; in v_complement()
4512 z->ob_digit[i] = a->ob_digit[i] ^ PyLong_MASK; in long_bitwise()
4520 z->ob_digit[size_z] = PyLong_MASK; in long_bitwise()
4705 *c_digit++ = (digit)(c_carry & PyLong_MASK); in _PyLong_GCD()
4706 *d_digit++ = (digit)(d_carry & PyLong_MASK); in _PyLong_GCD()
4713 *c_digit++ = (digit)(c_carry & PyLong_MASK); in _PyLong_GCD()
4714 *d_digit++ = (digit)(d_carry & PyLong_MASK); in _PyLong_GCD()