Lines Matching refs:opts
94 if (sp->opts->opts & TBL_OPT_CENTRE) { in term_tbl()
95 tsz = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) in term_tbl()
96 ? 2 : !!sp->opts->lvert + !!sp->opts->rvert; in term_tbl()
97 for (ic = 0; ic < sp->opts->cols; ic++) in term_tbl()
108 if (sp->opts->opts & TBL_OPT_DBOX) in term_tbl()
110 if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX)) in term_tbl()
120 sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX)) in term_tbl()
122 else if (sp->opts->lvert) in term_tbl()
134 for (ic = 0; ic < sp->opts->cols; ic++) { in term_tbl()
148 tbl_data(tp, sp->opts, dp, tp->tbl.cols + ic); in term_tbl()
163 if (ic + 1 == sp->opts->cols || spans) in term_tbl()
179 (sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX))) in term_tbl()
181 else if (sp->opts->rvert) in term_tbl()
191 if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX)) { in term_tbl()
195 if (sp->opts->opts & TBL_OPT_DBOX) { in term_tbl()
254 tbl_data(struct termp *tp, const struct tbl_opts *opts, in tbl_data() argument
299 tbl_number(tp, opts, dp, col); in tbl_data()
368 tbl_number(struct termp *tp, const struct tbl_opts *opts, in tbl_number() argument
386 buf[0] = opts->decimal; in tbl_number()
391 if ((cp = strrchr(dp->string, opts->decimal)) != NULL) { in tbl_number()