Searched refs:maxwidth (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c444 int tmp, maxwidth = 0; local
450 if ((tmp = strlen(common[i].label)) > maxwidth)
451 maxwidth = tmp;
454 if ((tmp = strlen(spec[i].label)) > maxwidth)
455 maxwidth = tmp;
456 maxwidth += 2;
465 (void) printf("%-*s", maxwidth - tmp + 1, ":");
471 (void) printf("%-*s", maxwidth - tmp + 1, ":");
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c287 int i, rows, r, c, maxwidth = 0, columns; local
293 maxwidth = max(maxwidth, tswidth(items[i]));
296 maxwidth += looking_for_command ? 1 : 2;
297 columns = max(78 / maxwidth, 1);
318 for (; w < maxwidth; w++)
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c539 int minwidth, maxwidth, i; local
551 maxwidth = dt_ndigits(DTRACE_QUANTIZE_BUCKETVAL(max));
553 maxwidth = 8;
554 minwidth = maxwidth - 1;
567 return (dt_printf(dtp, fp, ". %*s | count\n", -maxwidth, "max"));

Completed in 53 milliseconds