Lines Matching refs:n_prefix
381 Py_ssize_t n_prefix; member
438 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument
449 spec->n_prefix = n_prefix; in calc_number_widths()
496 n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal + in calc_number_widths()
547 return spec->n_lpadding + spec->n_sign + spec->n_prefix + in calc_number_widths()
575 if (spec->n_prefix) { in fill_number()
578 spec->n_prefix * sizeof(STRINGLIB_CHAR)); in fill_number()
581 for (t = 0; t < spec->n_prefix; ++t) in fill_number()
584 buf += spec->n_prefix; in fill_number()
751 Py_ssize_t n_prefix = 0; /* Count of prefix chars, (e.g., '0x') */ in format_int_or_long_internal() local
858 n_prefix = leading_chars_to_skip; in format_int_or_long_internal()
895 n_total = calc_number_widths(&spec, n_prefix, sign_char, pnumeric_chars, in format_int_or_long_internal()