Searched refs:n_decimal (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython3/Python/
H A Dformatter_unicode.c413 Py_ssize_t n_decimal; /* 0 if only an integer */ member in struct:__anon20270
476 spec->n_decimal = has_decimal ? PyUnicode_GET_LENGTH(locale->decimal_point) : 0;
522 n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal +
580 if (spec->n_decimal)
584 spec->n_spadding + spec->n_grouped_digits + spec->n_decimal +
673 if (spec->n_decimal) {
676 locale->decimal_point, 0, spec->n_decimal);
677 writer->pos += spec->n_decimal;
/external/python/cpython2/Objects/stringlib/
H A Dformatter.h388 Py_ssize_t n_decimal; /* 0 if only an integer */ member in struct:__anon19591
450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0;
496 n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal +
548 spec->n_spadding + spec->n_grouped_digits + spec->n_decimal +
612 if (spec->n_decimal) {
614 for (t = 0; t < spec->n_decimal; ++t)
616 buf += spec->n_decimal;

Completed in 506 milliseconds