Lines Matching defs:fill
2723 Py_ssize_t length, fill, arglen;
2747 fill = width - length;
2748 if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
2750 writer->pos += fill;
2798 Py_ssize_t fill;
2938 fill = width - precision;
2940 if (PyUnicode_Fill(writer->buffer, writer->pos, fill, fillchar) == -1)
2942 writer->pos += fill;
2945 fill = precision - len;
2946 if (PyUnicode_Fill(writer->buffer, writer->pos, fill, '0') == -1)
2948 writer->pos += fill;
9481 * Output will be zero-padded on the left to fill.
10269 "fill character is bigger than "
10287 Py_UCS4 fill)
10308 maxchar = Py_MAX(maxchar, fill);
10316 unicode_fill(kind, data, fill, 0, left);
10318 unicode_fill(kind, data, fill, left + _PyUnicode_LENGTH(self), right);
10950 "The fill character must be a unicode character, "
10958 "The fill character must be exactly one character long");
10974 Padding is done using the specified fill character (default is a space).
11732 /* Second pass: create output string and fill it */
12466 Padding is done using the specified fill character (default is a space).
13130 Padding is done using the specified fill character (default is a space).
13583 Pad a numeric string with zeros on the left, to fill a field of the given width.
13592 Py_ssize_t fill;
13604 fill = width - PyUnicode_GET_LENGTH(self);
13606 u = pad(self, fill, 0, '0');
13613 chr = PyUnicode_READ(kind, data, fill);
13618 PyUnicode_WRITE(kind, data, fill, '0');
14416 * prec minimum number of digits; 0-fill on left if needed
14997 Py_UCS4 fill;
14999 fill = ' ';
15001 fill = '0';
15051 maxchar = Py_MAX(maxchar, fill);
15055 maxchar = Py_MAX(maxchar, fill);
15071 if (fill != ' ') {
15085 if (fill != ' ') {
15097 /* Pad left with the fill character if needed */
15100 unicode_fill(writer->kind, writer->data, fill, writer->pos, sublen);
15107 if (fill == ' ') {
15129 /* Pad right with the fill character if needed */