Searched refs:colwidth (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/mandoc/ |
H A D | out.c | 126 size_t *colwidth; in tblcalc() local 259 colwidth = mandoc_reallocarray(NULL, maxcol + 1, sizeof(*colwidth)); in tblcalc() 268 colwidth[icol] = SIZE_MAX; in tblcalc() 271 colwidth[icol] = tbl->cols[icol].width; in tblcalc() 280 width = colwidth[icol]; in tblcalc() 298 if (colwidth[icol] == min1) in tblcalc() 315 if (colwidth[icol] != min1) in tblcalc() 332 free(colwidth); in tblcalc()
|
/freebsd/contrib/nvi/common/ |
H A D | options.c | 822 int base, b_num, cnt, col, colwidth, curlen, s_num; in opts_dump() local 837 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump() 838 if (colwidth >= 10) { in opts_dump() 839 colwidth = in opts_dump() 840 (colwidth + STANDARD_TAB) & ~(STANDARD_TAB - 1); in opts_dump() 841 numcols = sp->cols / colwidth; in opts_dump() 844 colwidth = 0; in opts_dump() 909 if (curlen <= colwidth - 2) in opts_dump() 931 (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()
|