Lines Matching defs:width
135 Py_ssize_t width;
172 format->width = -1;
221 consumed = get_integer(format_spec, &pos, end, &format->width);
227 width. In that case, reset the width to -1, because
229 that the width wasn't specified. */
231 format->width = -1;
337 calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align,
341 if (width >= 0) {
342 if (nchars > width)
345 *n_total = width;
432 the n_grouped_digits width. */
505 the total width is either given, or computed from the
509 and it's calculated from the width and other fields
535 /* min_width can go negative, that's okay. format->width == -1 means
538 spec->n_min_width = format->width - n_non_digit_non_padding;
560 /* Given the desired width and the total of digit and non-digit
561 space we consume, see if we need any padding. format->width can
564 n_padding = format->width -
815 if ((format->width == -1 || format->width <= len)
827 calc_padding(len, format->width, format->align, &lpad, &rpad, &total);
969 && format->width == -1
1126 && format->width == -1
1347 tmp_format.width = -1;
1376 format->width, format->align, &lpad, &rpad, &total);