Searched refs:n_rpadding (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 309 Py_ssize_t *n_lpadding, Py_ssize_t *n_rpadding, in calc_padding() argument 337 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 344 Py_ssize_t n_lpadding, Py_ssize_t n_rpadding) in fill_padding() argument 351 if (n_rpadding) in fill_padding() 352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); in fill_padding() 383 Py_ssize_t n_rpadding; member 453 spec->n_rpadding = 0; in calc_number_widths() 528 spec->n_rpadding = n_padding; in calc_number_widths() 532 spec->n_rpadding = n_padding - spec->n_lpadding; in calc_number_widths() 549 spec->n_remainder + spec->n_rpadding; in calc_number_widths() [all …]
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 334 Py_ssize_t *n_lpadding, Py_ssize_t *n_rpadding, in calc_padding() argument 361 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 370 Py_ssize_t n_rpadding) in fill_padding() argument 381 if (n_rpadding) { in fill_padding() 383 _PyUnicode_FastFill(writer->buffer, pos, n_rpadding, fill_char); in fill_padding() 413 Py_ssize_t n_rpadding; member 485 spec->n_rpadding = 0; in calc_number_widths() 566 spec->n_rpadding = n_padding; in calc_number_widths() 570 spec->n_rpadding = n_padding - spec->n_lpadding; in calc_number_widths() 584 if (spec->n_lpadding || spec->n_spadding || spec->n_rpadding) in calc_number_widths() [all …]
|