Home
last modified time | relevance | path

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

/freebsd/usr.bin/column/
H A Dcolumn.c215 int coloff, cnt; in maketbl() local
229 for (coloff = 0, p = *lp; in maketbl()
230 (cols[coloff] = wcstok(p, separator, &last)); in maketbl()
232 if (++coloff == maxcols) { in maketbl()
242 if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL) in maketbl()
244 if ((t->len = calloc(coloff, sizeof(int))) == NULL) in maketbl()
246 for (t->cols = coloff; --coloff >= 0;) { in maketbl()
247 t->list[coloff] = cols[coloff]; in maketbl()
248 t->len[coloff] = width(cols[coloff]); in maketbl()
249 if (t->len[coloff] > lens[coloff]) in maketbl()
[all …]
/freebsd/contrib/mandoc/
H A Dtbl_term.c171 size_t coloff, tsz; in term_tbl() local
236 coloff = tp->tcol->offset; in term_tbl()
242 coloff++; in term_tbl()
243 tp->tcol->rmargin = coloff; in term_tbl()
252 tp->tcol->offset = coloff; in term_tbl()
254 coloff += tp->tbl.cols[ic].width; in term_tbl()
255 tp->tcol->rmargin = coloff; in term_tbl()
257 coloff += tp->tbl.cols[ic].spacing; in term_tbl()
272 tp->tcol->offset = coloff + 1; in term_tbl()