Lines Matching refs:cols
182 if (tp->tbl.cols == NULL) { in term_tbl()
199 for (ic = 0; ic + 1 < sp->opts->cols; ic++) in term_tbl()
200 tsz += tp->tbl.cols[ic].width + in term_tbl()
201 tp->tbl.cols[ic].spacing; in term_tbl()
202 if (sp->opts->cols) in term_tbl()
203 tsz += tp->tbl.cols[sp->opts->cols - 1].width; in term_tbl()
232 term_setcol(tp, sp->opts->cols + 2); in term_tbl()
246 for (ic = 0; ic < sp->opts->cols; ic++) { in term_tbl()
251 coloff += tp->tbl.cols[ic].width; in term_tbl()
253 if (ic + 1 < sp->opts->cols) in term_tbl()
254 coloff += tp->tbl.cols[ic].spacing; in term_tbl()
282 for (ic = 0; ic < sp->opts->cols; ic++) { in term_tbl()
293 tbl_data(tp, sp->opts, cp, dp, tp->tbl.cols + ic); in term_tbl()
344 for (ic = 0; ic < sp->opts->cols; ic++) { in term_tbl()
456 tp->tbl.cols[ic].spacing / 2) in term_tbl()
475 if (tp->tbl.cols[ic].spacing) in term_tbl()
483 if (tp->tbl.cols[ic].spacing > 2 && in term_tbl()
498 sp->layout->last->col + 1 == sp->opts->cols) in term_tbl()
502 sp->next->layout->last->col + 1 == sp->opts->cols) in term_tbl()
506 sp->prev->layout->last->col + 1 == sp->opts->cols && in term_tbl()
513 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl()
515 sp->layout->last->col + 1 == sp->opts->cols) ? 2 : in term_tbl()
519 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl()
521 sp->layout->last->col + 1 == sp->opts->cols) ? 1 : 0; in term_tbl()
525 sp->layout->last->col + 1 < sp->opts->cols)) { in term_tbl()
557 assert(tp->tbl.cols); in term_tbl()
558 free(tp->tbl.cols); in term_tbl()
559 tp->tbl.cols = NULL; in term_tbl()
613 col = tp->tbl.cols; in tbl_hrule()
618 col = tp->tbl.cols + cp->col; in tbl_hrule()
659 if (col + 1 == tp->tbl.cols + sp->opts->cols) in tbl_hrule()
824 width += tp->tbl.cols[++ic].width + 3; in tbl_literal()