Lines Matching refs:tbl
117 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp_first, in tblcalc() argument
135 assert(tbl->cols == NULL); in tblcalc()
136 tbl->cols = mandoc_calloc((size_t)sp_first->opts->cols, in tblcalc()
155 tbl->cols[++maxcol].spacing = SIZE_MAX; in tblcalc()
156 col = tbl->cols + icol; in tblcalc()
168 (*tbl->sulen)(&su, tbl->arg); in tblcalc()
181 width = tblcalc_data(tbl, in tblcalc()
221 col = tbl->cols + icol; in tblcalc()
243 width = tbl->cols[icol].width; in tblcalc()
245 width += tbl->cols[icol].spacing; in tblcalc()
268 width = tbl->cols[icol].width; in tblcalc()
286 if (tbl->cols[icol].width == min1) in tblcalc()
303 if (tbl->cols[icol].width != min1) in tblcalc()
306 tbl->cols[icol].width += g->wanted; in tblcalc()
310 tbl->cols[icol].width = wanted; in tblcalc()
331 col = tbl->cols + icol; in tblcalc()
352 col = tbl->cols + icol; in tblcalc()
394 col = tbl->cols + icol; in tblcalc()
407 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, in tblcalc_data() argument
417 sz = (*tbl->len)(1, tbl->arg); in tblcalc_data()
425 return tblcalc_literal(tbl, col, dp, mw); in tblcalc_data()
427 return tblcalc_number(tbl, col, opts, dp); in tblcalc_data()
436 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, in tblcalc_literal() argument
457 wsz = (*tbl->slen)(beg, tbl->arg); in tblcalc_literal()
473 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, in tblcalc_number() argument
483 totsz = (*tbl->slen)(dp->string, tbl->arg); in tblcalc_number()
522 intsz += (*tbl->slen)(buf, tbl->arg); in tblcalc_number()