Home
last modified time | relevance | path

Searched refs:colwidth (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/mandoc/
H A Dout.c123 size_t *colwidth; in tblcalc() local
245 colwidth = mandoc_reallocarray(NULL, maxcol + 1, sizeof(*colwidth)); in tblcalc()
254 colwidth[icol] = SIZE_MAX; in tblcalc()
266 if (min1 > colwidth[icol]) { in tblcalc()
268 min1 = colwidth[icol]; in tblcalc()
270 min2 > colwidth[icol]) in tblcalc()
271 min2 = colwidth[icol]; in tblcalc()
294 if (colwidth[icol] == min1 || in tblcalc()
297 colwidth[icol] = width; in tblcalc()
325 if (colwidth[icol] == wanted) in tblcalc()
[all …]
/freebsd-13.1/bin/ls/
H A Dprint.c308 int colwidth; in printcol() local
339 colwidth = dp->maxlen; in printcol()
341 colwidth += dp->s_inode + 1; in printcol()
343 colwidth += dp->s_block + 1; in printcol()
345 colwidth += 1; in printcol()
347 colwidth = (colwidth + tabwidth) & ~(tabwidth - 1); in printcol()
348 if (termwidth < 2 * colwidth) { in printcol()
352 numcols = termwidth / colwidth; in printcol()
364 endcol = colwidth; in printcol()
383 endcol += colwidth; in printcol()
/freebsd-13.1/contrib/nvi/common/
H A Doptions.c818 int base, b_num, cnt, col, colwidth, curlen, s_num; in opts_dump() local
833 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump()
834 if (colwidth >= 10) { in opts_dump()
835 colwidth = in opts_dump()
836 (colwidth + STANDARD_TAB) & ~(STANDARD_TAB - 1); in opts_dump()
837 numcols = sp->cols / colwidth; in opts_dump()
840 colwidth = 0; in opts_dump()
905 if (curlen <= colwidth - 2) in opts_dump()
927 (int)(colwidth - cnt), ""); in opts_dump()
/freebsd-13.1/usr.bin/systat/
H A Diostat.c353 histogram(long double val, int colwidth, double scale) in histogram() argument
359 k = MIN(v, colwidth); in histogram()
360 if (v > colwidth) { in histogram()
/freebsd-13.1/contrib/nvi/vi/
H A Dv_txt.c2131 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()