Lines Matching defs:col
319 tp->col = 0;
470 if (tp->tcol->col < tp->tcol->lastcol)
475 if (tp->tcol->col < tp->tcol->lastcol)
540 sp->layout->last->col + 1 == sp->opts->cols)
544 sp->next->layout->last->col + 1 == sp->opts->cols)
548 sp->prev->layout->last->col + 1 == sp->opts->cols &&
555 sp->last->layout->col + 1 == sp->opts->cols) ||
557 sp->layout->last->col + 1 == sp->opts->cols) ? 2 :
561 sp->last->layout->col + 1 == sp->opts->cols) ||
563 sp->layout->last->col + 1 == sp->opts->cols) ? 1 : 0;
567 sp->layout->last->col + 1 < sp->opts->cols)) {
614 const struct roffcol *col; /* Contains width and spacing. */
654 col = tp->tbl.cols;
657 col++;
659 col = tp->tbl.cols + cp->col;
669 col->width + term_len(tp, col->spacing / 2));
700 if (col + 1 == tp->tbl.cols + sp->opts->cols)
720 if (col->spacing)
730 if (col->spacing > 2)
736 if (col->spacing > 4)
739 term_len(tp, (col->spacing - 3) / 2));
758 const struct roffcol *col, size_t *coloff)
762 tbl_fill_border(tp, BHORIZ, coloff, col->width);
765 tbl_fill_border(tp, BHORIZ * 2, coloff, col->width);
779 tbl_fill_border(tp, BHORIZ, coloff, col->width);
783 tbl_fill_border(tp, BHORIZ * 2, coloff, col->width);
794 tbl_literal(tp, dp, col, coloff);
797 tbl_number(tp, opts, dp, col, coloff);
880 const struct roffcol *col, size_t *coloff)
886 width = col->width;
887 ic = dp->layout->col;
901 const struct roffcol *col, size_t *coloff)
950 if (col->decimal > intsz && col->width > totsz) {
951 pad = col->decimal - intsz;
952 if (pad + totsz > col->width)
953 pad = col->width - totsz;
958 } else if (col->width > totsz)
959 pad = (col->width - totsz) / 2;
963 *coloff += col->width;