Searched refs:n_padding (Results 1 – 2 of 2) sorted by relevance
445 Py_ssize_t n_padding; in calc_number_widths() local522 n_padding = format->width - in calc_number_widths()524 if (n_padding > 0) { in calc_number_widths()528 spec->n_rpadding = n_padding; in calc_number_widths()531 spec->n_lpadding = n_padding / 2; in calc_number_widths()532 spec->n_rpadding = n_padding - spec->n_lpadding; in calc_number_widths()535 spec->n_spadding = n_padding; in calc_number_widths()538 spec->n_lpadding = n_padding; in calc_number_widths()542 spec->n_lpadding = n_padding; in calc_number_widths()
474 Py_ssize_t n_padding; in calc_number_widths() local557 n_padding = format->width - in calc_number_widths()559 if (n_padding > 0) { in calc_number_widths()563 spec->n_rpadding = n_padding; in calc_number_widths()566 spec->n_lpadding = n_padding / 2; in calc_number_widths()567 spec->n_rpadding = n_padding - spec->n_lpadding; in calc_number_widths()570 spec->n_spadding = n_padding; in calc_number_widths()573 spec->n_lpadding = n_padding; in calc_number_widths()