Searched refs:tcol (Results 1 – 8 of 8) sorted by relevance
55 p->tcol = p->tcols; in term_setcol()61 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) in term_free()62 free(p->tcol->buf); in term_free()108 vbl = (p->flags & TERMP_NOPAD) || p->tcol->offset < p->viscol ? in term_flushln()109 0 : p->tcol->offset - p->viscol; in term_flushln()114 p->tcol->col = 0; in term_flushln()119 vfield = p->tcol->rmargin > p->viscol + vbl ? in term_flushln()120 p->tcol->rmargin - p->viscol - vbl : 0; in term_flushln()167 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln()168 switch (p->tcol->buf[ic]) { in term_flushln()[all …]
161 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_man()258 if (n->parent->tok == MAN_HP && p->tcol->rmargin < p->maxrmargin) { in pre_literal()259 p->tcol->offset = p->tcol->rmargin; in pre_literal()260 p->tcol->rmargin = p->maxrmargin; in pre_literal()370 p->tcol->offset = mt->offset; in pre_in()390 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; in pre_in()392 p->tcol->offset += v; in pre_in()394 p->tcol->offset = v; in pre_in()395 if (p->tcol->offset > SHRT_MAX) in pre_in()396 p->tcol->offset = term_len(p, p->defindent); in pre_in()[all …]
72 p->tcol->offset = p->tcol->rmargin; in roff_term_pre_br()73 p->tcol->rmargin = p->maxrmargin; in roff_term_pre_br()166 p->tcol->offset -= pouse; in roff_term_pre_po()184 po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; in roff_term_pre_po()185 p->tcol->offset += pouse; in roff_term_pre_po()246 if (p->tcol->offset + len <= maxoff) in roff_term_pre_ti()248 else if (p->tcol->offset < maxoff) in roff_term_pre_ti()249 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()254 if ((size_t)len < p->tcol->offset) in roff_term_pre_ti()257 p->ti = -p->tcol->offset; in roff_term_pre_ti()[all …]
256 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_mdoc()330 offset = p->tcol->offset; in print_mdoc_node()331 rmargin = p->tcol->rmargin; in print_mdoc_node()439 p->tcol->offset = offset; in print_mdoc_node()440 p->tcol->rmargin = rmargin; in print_mdoc_node()460 p->tcol->offset = 0; in print_mdoc_foot()462 p->tcol->rmargin = p->maxrmargin > sz ? in print_mdoc_foot()470 p->tcol->offset = p->tcol->rmargin; in print_mdoc_foot()472 p->tcol->rmargin = p->maxrmargin > sz ? p->maxrmargin - sz : 0; in print_mdoc_foot()478 p->tcol->offset = p->tcol->rmargin; in print_mdoc_foot()[all …]
175 save_offset = tp->tcol->offset; in term_tbl()191 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); in term_tbl()195 offset = tp->tcol->offset; in term_tbl()204 if (offset + tsz > tp->tcol->rmargin) in term_tbl()206 offset = offset + tp->tcol->rmargin > tsz ? in term_tbl()207 (offset + tp->tcol->rmargin - tsz) / 2 : 0; in term_tbl()208 tp->tcol->offset = offset; in term_tbl()223 tp->tcol->offset = offset; in term_tbl()233 coloff = tp->tcol->offset; in term_tbl()240 tp->tcol->rmargin = coloff; in term_tbl()[all …]
71 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in ascii_init()167 p->tcol->rmargin = p->defrmargin; in ascii_setwidth()178 p->lastrmargin = p->tcol->rmargin; in ascii_setwidth()179 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in ascii_setwidth()235 if ((int)p->tcol->offset > p->ti) in ascii_endline()236 p->tcol->offset -= p->ti; in ascii_endline()238 p->tcol->offset = 0; in ascii_endline()410 if ((int)p->tcol->offset > p->ti) in locale_endline()411 p->tcol->offset -= p->ti; in locale_endline()413 p->tcol->offset = 0; in locale_endline()
535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in pspdf_alloc()1255 if ((int)p->tcol->offset > p->ti) in ps_endline()1256 p->tcol->offset -= p->ti; in ps_endline()1258 p->tcol->offset = 0; in ps_endline()
64 struct termp_col *tcol; /* Current table column. */ member