Searched refs:colwidth (Results 1 – 4 of 4) sorted by relevance
/freebsd/bin/ls/ |
H A D | print.c | 303 int colwidth; in printcol() local 334 colwidth = dp->maxlen; in printcol() 336 colwidth += dp->s_inode + 1; in printcol() 338 colwidth += dp->s_block + 1; in printcol() 340 colwidth += 1; in printcol() 342 colwidth = (colwidth + tabwidth) & ~(tabwidth - 1); in printcol() 343 if (termwidth < 2 * colwidth) { in printcol() 347 numcols = termwidth / colwidth; in printcol() 359 endcol = colwidth; in printcol() 378 endcol += colwidth; in printcol()
|
/freebsd/contrib/nvi/common/ |
H A D | options.c | 820 int base, b_num, cnt, col, colwidth, curlen, s_num; in opts_dump() local 835 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump() 836 if (colwidth >= 10) { in opts_dump() 837 colwidth = in opts_dump() 838 (colwidth + STANDARD_TAB) & ~(STANDARD_TAB - 1); in opts_dump() 839 numcols = sp->cols / colwidth; in opts_dump() 842 colwidth = 0; in opts_dump() 907 if (curlen <= colwidth - 2) in opts_dump() 929 (int)(colwidth - cnt), ""); in opts_dump()
|
/freebsd/usr.bin/systat/ |
H A D | iostat.c | 348 histogram(long double val, int colwidth, double scale) in histogram() argument 354 k = MIN(v, colwidth); in histogram() 355 if (v > colwidth) { in histogram()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_txt.c | 2131 size_t base, cnt, col, colwidth, numrows, numcols, prefix, row; in txt_fc_col() local 2160 for (ac = argc, av = argv, colwidth = 0; ac > 0; --ac, ++av) { in txt_fc_col() 2163 if (col > colwidth) in txt_fc_col() 2164 colwidth = col; in txt_fc_col() 2166 colwidth += COL_OFF(colwidth, 6); in txt_fc_col() 2183 if (colwidth >= sp->cols) { in txt_fc_col() 2197 numcols = (sp->cols - 1) / colwidth; in txt_fc_col() 2218 "%*s", (int)(colwidth - cnt), ""); in txt_fc_col()
|