Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.c61 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) in term_free()
167 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln()
193 while (p->tcol->col < p->tcol->lastcol && in term_flushln()
194 p->tcol->buf[p->tcol->col] == ' ') in term_flushln()
219 p->tcol->rmargin : p->tcol->offset; in term_flushln()
224 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln()
263 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_fill()
660 if (p->tcol->rmargin <= p->tcol->offset) in term_word()
662 lsz = p->tcol->rmargin - p->tcol->offset; in term_word()
725 (p->tcol->buf[p->tcol->lastcol - 1] == ' ' || in term_word()
[all …]
H A Dman_term.c259 p->tcol->offset = p->tcol->rmargin; in pre_literal()
390 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; in pre_in()
394 p->tcol->offset = v; in pre_in()
985 p->tcol->offset = p->tcol->rmargin; in print_man_node()
1037 p->tcol->offset = 0; in print_man_foot()
1047 p->tcol->offset = p->tcol->rmargin; in print_man_foot()
1061 p->tcol->offset = p->tcol->rmargin; in print_man_foot()
1101 p->tcol->offset = 0; in print_man_head()
1112 p->tcol->offset = p->tcol->rmargin; in print_man_head()
1113 p->tcol->rmargin = p->tcol->offset + vollen + titlen < in print_man_head()
[all …]
H A Droff_term.c72 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()
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()
262 p->ti = len - p->tcol->offset; in roff_term_pre_ti()
[all …]
H A Dmdoc_term.c470 p->tcol->offset = p->tcol->rmargin; in print_mdoc_foot()
478 p->tcol->offset = p->tcol->rmargin; in print_mdoc_foot()
537 p->tcol->offset = p->tcol->rmargin; in print_mdoc_head()
538 p->tcol->rmargin = p->tcol->offset + vollen + titlen < in print_mdoc_head()
548 p->tcol->offset = p->tcol->rmargin; in print_mdoc_head()
850 p->tcol->rmargin = p->tcol->offset + width; in termp_it_pre()
856 p->tcol->rmargin = p->tcol->offset + width; in termp_it_pre()
996 p->tcol->rmargin = p->tcol->offset + term_len(p, 1); in termp_nm_pre()
1349 p->tcol->rmargin = p->tcol->offset + term_len(p, 4); in termp_fn_pre()
1362 p->tcol->offset = p->tcol->rmargin; in termp_fn_pre()
[all …]
H A Dtbl_term.c191 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); in term_tbl()
248 tp->tcol++; in term_tbl()
268 tp->tcol++; in term_tbl()
278 tp->tcol = tp->tcols; in term_tbl()
291 tp->tcol++; in term_tbl()
306 tp->tcol = tp->tcols; in term_tbl()
428 tp->tcol++; in term_tbl()
429 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
431 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
443 tp->tcol + 1 == in term_tbl()
[all …]
H A Dterm_ascii.c71 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()
H A Dterm_ps.c535 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()
H A Dterm.h64 struct termp_col *tcol; /* Current table column. */ member