Home
last modified time | relevance | path

Searched refs:coloff (Results 1 – 2 of 2) sorted by relevance

/freebsd-14-stable/usr.bin/column/
HDcolumn.c228 int coloff, cnt; in maketbl() local
242 for (coloff = 0, p = *lp; in maketbl()
243 (cols[coloff] = wcstok(p, separator, &last)); in maketbl()
245 if (++coloff == maxcols) { in maketbl()
255 if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL) in maketbl()
257 if ((t->len = calloc(coloff, sizeof(int))) == NULL) in maketbl()
259 for (t->cols = coloff; --coloff >= 0;) { in maketbl()
260 t->list[coloff] = cols[coloff]; in maketbl()
261 t->len[coloff] = width(cols[coloff]); in maketbl()
262 if (t->len[coloff] > lens[coloff]) in maketbl()
[all …]
/freebsd-14-stable/contrib/mandoc/
HDtbl_term.c168 size_t coloff, tsz; in term_tbl() local
233 coloff = tp->tcol->offset; in term_tbl()
239 coloff++; in term_tbl()
240 tp->tcol->rmargin = coloff; in term_tbl()
249 tp->tcol->offset = coloff; in term_tbl()
251 coloff += tp->tbl.cols[ic].width; in term_tbl()
252 tp->tcol->rmargin = coloff; in term_tbl()
254 coloff += tp->tbl.cols[ic].spacing; in term_tbl()
269 tp->tcol->offset = coloff + 1; in term_tbl()