Lines Matching defs:width
371 int num_to_str(char *buf, int size, unsigned long long num, unsigned int width)
385 if (len > size || width > size)
388 if (width > len) {
389 width = width - len;
390 for (idx = 0; idx < width; idx++)
393 width = 0;
397 buf[idx + width] = tmp[len - idx - 1];
399 return len + width;
437 signed int field_width:24; /* width of output field */
601 * Handle field width padding for a string.
605 * @spec: for field width and flags
1145 int i, len = 1; /* if we pass '%ph[CDN]', field width remains
2145 * width which must be explicitly specified either as part of the
2353 * @field_width: overwritten width
2364 /* we finished early by reading the field width */
2416 /* get field width */
2536 set_field_width(struct printf_spec *spec, int width)
2538 spec->field_width = width;
2539 if (WARN_ONCE(spec->field_width != width, "field width %d too large", width)) {
2540 spec->field_width = clamp(width, -FIELD_WIDTH_MAX, FIELD_WIDTH_MAX);
2888 int width;
2931 width = (int)save_arg(int);
2932 /* Pointers may require the width */
2934 set_field_width(&spec, width);
3316 /* get field width */
3389 * (3) A field width is required
3405 /* field width is required */