Searched refs:n_grouped_digits (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 386 Py_ssize_t n_grouped_digits; /* Space taken up by the digits, including member 510 spec->n_grouped_digits = 0; in calc_number_widths() 512 spec->n_grouped_digits = STRINGLIB_GROUPING(NULL, 0, NULL, in calc_number_widths() 523 (n_non_digit_non_padding + spec->n_grouped_digits); in calc_number_widths() 548 spec->n_spadding + spec->n_grouped_digits + spec->n_decimal + in calc_number_widths() 597 STRINGLIB_GROUPING(buf, spec->n_grouped_digits, digits, in fill_number() 601 assert(r == spec->n_grouped_digits); in fill_number() 607 for (t = 0; t < spec->n_grouped_digits; ++t) in fill_number() 610 buf += spec->n_grouped_digits; in fill_number()
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 416 Py_ssize_t n_grouped_digits; /* Space taken up by the digits, including member 542 spec->n_grouped_digits = 0; in calc_number_widths() 545 spec->n_grouped_digits = _PyUnicode_InsertThousandsGrouping( in calc_number_widths() 550 if (spec->n_grouped_digits == -1) { in calc_number_widths() 561 (n_non_digit_non_padding + spec->n_grouped_digits); in calc_number_widths() 591 spec->n_spadding + spec->n_grouped_digits + spec->n_decimal + in calc_number_widths() 645 writer, spec->n_grouped_digits, in fill_number() 651 assert(r == spec->n_grouped_digits); in fill_number() 656 for (t = 0; t < spec->n_grouped_digits; t++) { in fill_number() 666 writer->pos += spec->n_grouped_digits; in fill_number()
|