Home
last modified time | relevance | path

Searched refs:n_total (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dformatter.h310 Py_ssize_t *n_total) in calc_padding() argument
314 *n_total = nchars; in calc_padding()
316 *n_total = width; in calc_padding()
320 *n_total = nchars; in calc_padding()
326 *n_lpadding = *n_total - nchars; in calc_padding()
328 *n_lpadding = (*n_total - nchars) / 2; in calc_padding()
337 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding()
752 Py_ssize_t n_total; in format_int_or_long_internal() local
895 n_total = calc_number_widths(&spec, n_prefix, sign_char, pnumeric_chars, in format_int_or_long_internal()
899 result = STRINGLIB_NEW(NULL, n_total); in format_int_or_long_internal()
[all …]
/external/python/cpython3/Python/
Dformatter_unicode.c335 Py_ssize_t *n_total) in calc_padding() argument
339 *n_total = nchars; in calc_padding()
341 *n_total = width; in calc_padding()
345 *n_total = nchars; in calc_padding()
351 *n_lpadding = *n_total - nchars; in calc_padding()
353 *n_lpadding = (*n_total - nchars) / 2; in calc_padding()
361 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding()
859 Py_ssize_t n_total; in format_long_internal() local
988 n_total = calc_number_widths(&spec, n_prefix, sign_char, inumeric_chars, in format_long_internal()
991 if (n_total == -1) { in format_long_internal()
[all …]