Lines Matching refs:sz
527 int sz, uc; in term_word() local
567 esc = mandoc_escape(&word, &seq, &sz); in term_word()
570 uc = mchars_num2uc(seq + 1, sz - 1); in term_word()
573 uc = mchars_num2char(seq, sz); in term_word()
579 cp = mchars_spec2str(seq, sz, &ssz); in term_word()
583 uc = mchars_spec2cp(seq, sz); in term_word()
669 esc = mandoc_escape(&seq, &cp, &sz); in term_word()
672 uc = mchars_num2uc(cp + 1, sz - 1); in term_word()
675 uc = mchars_num2char(cp, sz); in term_word()
678 uc = mchars_spec2cp(cp, sz); in term_word()
709 cp = seq + sz; in term_word()
754 adjbuf(struct termp_col *c, size_t sz) in adjbuf() argument
758 while (c->maxcols <= sz) in adjbuf()
829 encode(struct termp *p, const char *word, size_t sz) in encode() argument
834 for (i = 0; i < sz; i++) in encode()
839 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols) in encode()
840 adjbuf(p->tcol, p->col + 2 + (sz * 5)); in encode()
842 for (i = 0; i < sz; i++) { in encode()
898 term_len(const struct termp *p, size_t sz) in term_len() argument
901 return (*p->width)(p, ' ') * sz; in term_len()
918 size_t sz, rsz, i; in term_strlen() local
931 sz = 0; in term_strlen()
936 sz += cond_width(p, *cp++, &skip); in term_strlen()
960 sz += cond_width(p, uc, &skip); in term_strlen()
996 sz += rsz; in term_strlen()
1015 sz += cond_width(p, uc, &skip); in term_strlen()
1031 sz += (*p->width)(p, *rhs++); in term_strlen()
1034 sz += cond_width(p, ' ', &skip); in term_strlen()
1038 sz += cond_width(p, '-', &skip); in term_strlen()
1046 return sz; in term_strlen()