Lines Matching defs:width
17 /* f and g format types, the l modifier, field width and precision,
86 * conversion that has no explicit width or precision specifiers. With
123 int width; /* width and numerical precision */
167 if (*cp == '*') { /* dynamic field width */
168 width = va_arg(ap, int);
169 VSTRING_ADDNUM(fmt, width);
171 } else { /* hard-coded field width */
172 for (width = 0; ch = *cp, ISDIGIT(ch); cp++) {
173 width = width * 10 + ch - '0';
177 if (width < 0) {
178 msg_warn("%s: bad width %d in %.50s", myname, width, format);
179 width = 0;
181 if (*cp == '.') /* width/precision separator */
213 if (prec > 0 || (width > 0 && width > strlen(s))) {
214 if (VBUF_SPACE(bp, (width > prec ? width : prec) + INT_SPACE))
228 if (VBUF_SPACE(bp, (width > prec ? width : prec) + INT_SPACE))
239 if (VBUF_SPACE(bp, (width > prec ? width : prec) + DBL_SPACE))
248 if (VBUF_SPACE(bp, (width > prec ? width : prec) + PTR_SPACE))