Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/stringlib/
Dformatter.h389 Py_ssize_t n_remainder; /* Digits in decimal and/or exponent part, member
414 Py_ssize_t *n_remainder, int *has_decimal) in parse_number() argument
430 *n_remainder = end - remainder; in parse_number()
440 Py_ssize_t n_number, Py_ssize_t n_remainder, in calc_number_widths() argument
447 spec->n_digits = n_number - n_remainder - (has_decimal?1:0); in calc_number_widths()
451 spec->n_remainder = n_remainder; in calc_number_widths()
497 spec->n_remainder; in calc_number_widths()
549 spec->n_remainder + spec->n_rpadding; in calc_number_widths()
620 if (spec->n_remainder) { in fill_number()
621 memcpy(buf, p, spec->n_remainder * sizeof(STRINGLIB_CHAR)); in fill_number()
[all …]
/external/python/cpython3/Python/
Dformatter_unicode.c419 Py_ssize_t n_remainder; /* Digits in decimal and/or exponent part, member
444 Py_ssize_t *n_remainder, int *has_decimal) in parse_number() argument
461 *n_remainder = end - remainder; in parse_number()
472 Py_ssize_t n_end, Py_ssize_t n_remainder, in calc_number_widths() argument
479 spec->n_digits = n_end - n_start - n_remainder - (has_decimal?1:0); in calc_number_widths()
483 spec->n_remainder = n_remainder; in calc_number_widths()
529 spec->n_remainder; in calc_number_widths()
592 spec->n_remainder + spec->n_rpadding; in calc_number_widths()
676 if (spec->n_remainder) { in fill_number()
679 digits, d_pos, spec->n_remainder); in fill_number()
[all …]