Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/column/
H A Dcolumn.c214 int coloff, cnt; in maketbl() local
224 for (coloff = 0, p = *lp; in maketbl()
225 (cols[coloff] = strtok(p, separator)) != NULL; p = NULL) in maketbl()
226 if (++coloff == maxcols) { in maketbl()
239 t->list = ecalloc(coloff, sizeof(*(t->list))); in maketbl()
240 t->len = ecalloc(coloff, sizeof(*(t->len))); in maketbl()
241 for (t->cols = coloff; --coloff >= 0;) { in maketbl()
242 t->list[coloff] = cols[coloff]; in maketbl()
243 t->len[coloff] = strlen(cols[coloff]); in maketbl()
244 if (t->len[coloff] > lens[coloff]) in maketbl()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dtbl_term.c167 size_t coloff, tsz; in term_tbl() local
195 coloff = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) || in term_tbl()
198 coloff += tp->tbl.cols[ic].width; in term_tbl()
199 term_tab_iset(coloff); in term_tbl()
200 coloff += tp->tbl.cols[ic].spacing; in term_tbl()
243 coloff = tp->tcol->offset; in term_tbl()
249 coloff++; in term_tbl()
250 tp->tcol->rmargin = coloff; in term_tbl()
259 tp->tcol->offset = coloff; in term_tbl()
261 coloff += tp->tbl.cols[ic].width; in term_tbl()
[all …]