Home
last modified time | relevance | path

Searched refs:tcol (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/mandoc/
H A Dterm.c55 p->tcol = p->tcols; in term_setcol()
62 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) in term_free()
63 free(p->tcol->buf); in term_free()
112 vbl = (p->flags & TERMP_NOPAD) || p->tcol->offset < p->viscol ? in term_flushln()
113 0 : p->tcol->offset - p->viscol; in term_flushln()
118 p->tcol->col = 0; in term_flushln()
123 vfield = p->tcol->rmargin > p->viscol + vbl ? in term_flushln()
124 p->tcol in term_flushln()
[all...]
H A Dman_term.c158 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_man()
249 if (n->parent->tok == MAN_HP && p->tcol->rmargin < p->maxrmargin) { in pre_literal()
250 p->tcol->offset = p->tcol->rmargin; in pre_literal()
251 p->tcol->rmargin = p->maxrmargin; in pre_literal()
384 p->tcol->offset = mt->offset; in pre_in()
405 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; in pre_in()
407 p->tcol in pre_in()
[all...]
H A Dmdoc_term.c255 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_mdoc()
328 offset = p->tcol->offset; in print_mdoc_node()
329 rmargin = p->tcol->rmargin; in print_mdoc_node()
437 p->tcol->offset = offset; in print_mdoc_node()
438 p->tcol->rmargin = rmargin; in print_mdoc_node()
460 p->tcol->offset = 0; in print_mdoc_foot()
461 p->tcol->rmargin = p->maxrmargin > datelen ? in print_mdoc_foot()
471 p->tcol->offset = p->tcol->rmargin; in print_mdoc_foot()
472 p->tcol in print_mdoc_foot()
[all...]
H A Droff_term.c73 p->tcol->offset = p->tcol->rmargin; in roff_term_pre_br()
74 p->tcol->rmargin = p->maxrmargin; in roff_term_pre_br()
173 p->tcol->offset -= pouse; in roff_term_pre_po()
190 pomin = -p->tcol->offset; in roff_term_pre_po()
193 p->tcol->offset += pouse; in roff_term_pre_po()
256 if (p->tcol->offset + len <= maxoff) in roff_term_pre_ti()
258 else if (p->tcol->offset < maxoff) in roff_term_pre_ti()
259 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()
264 if ((size_t)len < p->tcol in roff_term_pre_ti()
[all...]
H A Dtbl_term.c181 save_offset = tp->tcol->offset; in term_tbl()
197 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); in term_tbl()
201 offset = tp->tcol->offset; in term_tbl()
228 if (offset + tsz > tp->tcol->rmargin) in term_tbl()
230 offset = offset + tp->tcol->rmargin > tsz ? in term_tbl()
231 ((offset + tp->tcol->rmargin - tsz) / enw / 2) * in term_tbl()
233 tp->tcol->offset = offset; in term_tbl()
248 tp->tcol->offset = offset; in term_tbl()
258 coloff = tp->tcol in term_tbl()
[all...]
H A Dterm_ascii.c71 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in ascii_init()
157 p->tcol->rmargin = p->defrmargin; in locale_alloc()
168 p->lastrmargin = p->tcol->rmargin; in ascii_setwidth()
169 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in ascii_setwidth()
229 if ((int)p->tcol->offset > p->ti)
230 p->tcol->offset -= p->ti; in ascii_endline()
232 p->tcol->offset = 0; in ascii_endline()
419 if ((int)p->tcol->offset > p->ti) in locale_letter()
420 p->tcol in locale_letter()
[all...]
H A Dterm_ps.c535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in pspdf_alloc()
1258 if ((int)p->tcol->offset > p->ti) in ps_endline()
1259 p->tcol->offset -= p->ti; in ps_endline()
1261 p->tcol->offset = 0;
H A Dterm.h61 struct termp_col *tcol; /* Current table column. */
65 struct termp_col *tcol; /* Current table column. */ global() member
/freebsd/contrib/nvi/vi/
H A Dv_txt.c262 size_t tcol; /* Temporary column. */ in v_txt() local
1308 if (vs_column(sp, &tcol)) in v_txt()
1310 if (tcol >= margin) { in v_txt()