Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dutil.c49 size_t varsz, totsz = strlen(arg) + 1; in addenv() local
86 crle->c_strsize += totsz; in addenv()
96 env->e_totsz = totsz; in addenv()
118 crle->c_name, (int)totsz, in addenv()
143 env->e_totsz = totsz; in addenv()
154 crle->c_strsize += totsz; in addenv()
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c477 size_t intsz, totsz; in tblcalc_number() local
483 totsz = (*tbl->slen)(dp->string, tbl->arg); in tblcalc_number()
485 return totsz; in tblcalc_number()
509 if (col != NULL && col->width < totsz) in tblcalc_number()
510 col->width = totsz; in tblcalc_number()
511 return totsz; in tblcalc_number()
535 totsz += col->decimal - intsz; in tblcalc_number()
539 if (totsz > col->nwidth) in tblcalc_number()
540 col->nwidth = totsz; in tblcalc_number()
543 return totsz; in tblcalc_number()
H A Dtbl_term.c859 size_t intsz, padl, totsz; in tbl_number() local
884 totsz = term_strlen(tp, dp->string); in tbl_number()
900 if (col->decimal > intsz && col->width > totsz) { in tbl_number()
902 if (padl + totsz > col->width) in tbl_number()
903 padl = col->width - totsz; in tbl_number()
908 } else if (col->width > totsz) in tbl_number()
909 padl = (col->width - totsz) / 2; in tbl_number()
916 if (col->width > padl + totsz) in tbl_number()
917 tbl_fill_char(tp, ASCII_NBRSP, col->width - padl - totsz); in tbl_number()