Home
last modified time | relevance | path

Searched refs:fill_char (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dformatter.h132 STRINGLIB_CHAR fill_char; member
148 printf("internal format spec: fill_char %d\n", format->fill_char);
185 format->fill_char = ' '; in parse_internal_render_format_spec()
198 format->fill_char = ptr[0]; in parse_internal_render_format_spec()
224 format->fill_char = '0'; in parse_internal_render_format_spec()
343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char, in fill_padding() argument
348 STRINGLIB_FILL(p, fill_char, n_lpadding); in fill_padding()
352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); in fill_padding()
501 if (format->fill_char == '0' && format->align == '=') in calc_number_widths()
558 STRINGLIB_CHAR *prefix, STRINGLIB_CHAR fill_char, in fill_number() argument
[all …]
/external/python/cpython3/Python/
Dformatter_unicode.c128 Py_UCS4 fill_char; member
143 printf("internal format spec: fill_char %d\n", format->fill_char);
181 format->fill_char = ' '; in parse_internal_render_format_spec()
194 format->fill_char = READ_spec(pos); in parse_internal_render_format_spec()
220 format->fill_char = '0'; in parse_internal_render_format_spec()
366 Py_UCS4 fill_char, Py_ssize_t n_lpadding, in fill_padding() argument
374 _PyUnicode_FastFill(writer->buffer, pos, n_lpadding, fill_char); in fill_padding()
380 _PyUnicode_FastFill(writer->buffer, pos, n_rpadding, fill_char); in fill_padding()
530 if (format->fill_char == '0' && format->align == '=') in calc_number_widths()
582 *maxchar = Py_MAX(*maxchar, format->fill_char); in calc_number_widths()
[all …]
/external/python/cpython3/Include/
Dunicodeobject.h664 Py_UCS4 fill_char
673 Py_UCS4 fill_char
/external/python/cpython3/Objects/
Dunicodeobject.c10090 Py_UCS4 fill_char) in _PyUnicode_FastFill() argument
10096 assert(fill_char <= PyUnicode_MAX_CHAR_VALUE(unicode)); in _PyUnicode_FastFill()
10099 FILL(kind, data, fill_char, start, length); in _PyUnicode_FastFill()
10104 Py_UCS4 fill_char) in PyUnicode_Fill() argument
10121 if (fill_char > PyUnicode_MAX_CHAR_VALUE(unicode)) { in PyUnicode_Fill()
10133 _PyUnicode_FastFill(unicode, start, length, fill_char); in PyUnicode_Fill()
12536 const Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0); in unicode_repeat() local
12539 memset(to, (unsigned char)fill_char, len); in unicode_repeat()
12544 ucs2[n] = fill_char; in unicode_repeat()
12549 ucs4[n] = fill_char; in unicode_repeat()
/external/python/cpython3/Doc/c-api/
Dunicode.rst593 Py_ssize_t length, Py_UCS4 fill_char)
595 Fill a string with a character: write *fill_char* into
598 Fail if *fill_char* is bigger than the string maximum character, or if the
/external/python/cpython3/Doc/data/
Drefcounts.dat2757 PyUnicode_Fill:Py_UCS4:fill_char::