• Home
  • Raw
  • Download

Lines Matching refs:a_size

2218     Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size;  in _PyLong_Frexp()  local
2227 a_size = ABS(Py_SIZE(a)); in _PyLong_Frexp()
2228 if (a_size == 0) { in _PyLong_Frexp()
2233 a_bits = bits_in_digit(a->ob_digit[a_size-1]); in _PyLong_Frexp()
2236 if (a_size >= (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 && in _PyLong_Frexp()
2237 (a_size > (PY_SSIZE_T_MAX - 1) / PyLong_SHIFT + 1 || in _PyLong_Frexp()
2240 a_bits = (a_size - 1) * PyLong_SHIFT + a_bits; in _PyLong_Frexp()
2273 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp()
2275 x_size += a_size; in _PyLong_Frexp()
2282 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
2283 x_size = a_size - shift_digits; in _PyLong_Frexp()
3095 Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits; in long_true_divide() local
3190 a_size = ABS(Py_SIZE(a)); in long_true_divide()
3198 if (a_size == 0) in long_true_divide()
3205 a_is_small = a_size <= MANT_DIG_DIGITS || in long_true_divide()
3206 (a_size == MANT_DIG_DIGITS+1 && in long_true_divide()
3213 da = a->ob_digit[--a_size]; in long_true_divide()
3214 while (a_size > 0) in long_true_divide()
3215 da = da * PyLong_BASE + a->ob_digit[--a_size]; in long_true_divide()
3224 diff = a_size - b_size; in long_true_divide()
3232 diff = diff * PyLong_SHIFT + bits_in_digit(a->ob_digit[a_size - 1]) - in long_true_divide()
3250 if (a_size >= PY_SSIZE_T_MAX - 1 - shift_digits) { in long_true_divide()
3258 x = _PyLong_New(a_size + shift_digits + 1); in long_true_divide()
3264 a_size, -shift % PyLong_SHIFT); in long_true_divide()
3265 x->ob_digit[a_size + shift_digits] = rem; in long_true_divide()
3271 assert(a_size >= shift_digits); in long_true_divide()
3272 x = _PyLong_New(a_size - shift_digits); in long_true_divide()
3276 a_size - shift_digits, shift % PyLong_SHIFT); in long_true_divide()