Home
last modified time | relevance | path

Searched refs:totsz (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/mandoc/
H A Dout.c490 size_t intsz, totsz; in tblcalc_number() local
496 totsz = (*tbl->slen)(dp->string, tbl->arg); in tblcalc_number()
498 return totsz; in tblcalc_number()
522 if (col != NULL && col->width < totsz) in tblcalc_number()
523 col->width = totsz; in tblcalc_number()
524 return totsz; in tblcalc_number()
548 totsz += col->decimal - intsz; in tblcalc_number()
552 if (totsz > col->nwidth) in tblcalc_number()
553 col->nwidth = totsz; in tblcalc_number()
556 return totsz; in tblcalc_number()
H A Dtbl_term.c862 size_t intsz, padl, totsz; in tbl_number() local
887 totsz = term_strlen(tp, dp->string); in tbl_number()
903 if (col->decimal > intsz && col->width > totsz) { in tbl_number()
905 if (padl + totsz > col->width) in tbl_number()
906 padl = col->width - totsz; in tbl_number()
911 } else if (col->width > totsz) in tbl_number()
912 padl = (col->width - totsz) / 2; in tbl_number()
919 if (col->width > padl + totsz) in tbl_number()
920 tbl_fill_char(tp, ASCII_NBRSP, col->width - padl - totsz); in tbl_number()