Searched refs:coloff (Results 1 – 2 of 2) sorted by relevance
215 int coloff, cnt; in maketbl() local229 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 …]
171 size_t coloff, tsz; in term_tbl() local236 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()