Home
last modified time | relevance | path

Searched refs:roff (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/mandoc/
H A Dlibmandoc.h51 struct roff;
70 void roff_free(struct roff *);
71 struct roff *roff_alloc(int);
72 void roff_reset(struct roff *);
77 void roff_userret(struct roff *);
78 void roff_endparse(struct roff *);
80 int roff_getreg(struct roff *, const char *);
81 char *roff_strdup(const struct roff *, const char *);
82 char *roff_getarg(struct roff *, char **, int, int *);
83 int roff_getcontrol(const struct roff *,
[all …]
H A DMakefile.depend1 arch.o: arch.c config.h roff.h
2 att.o: att.c config.h roff.h libmdoc.h
33 eqn_html.o: eqn_html.c config.h mandoc.h roff.h eqn.h out.h html.h
36 lib.o: lib.c config.h roff.h libmdoc.h lib.in
63 preconv.o: preconv.c config.h mandoc.h roff.h mandoc_parse.h libmandoc.h
65 roff.o: roff.c config.h mandoc_aux.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h mandoc_parse.h l…
66 roff_html.o: roff_html.c config.h mandoc.h roff.h out.h html.h
67 roff_term.o: roff_term.c config.h mandoc.h roff.h out.h term.h
70 st.o: st.c config.h mandoc.h roff.h libmdoc.h
74 tbl_html.o: tbl_html.c config.h mandoc.h roff.h tbl.h out.h html.h
[all …]
H A Dgmdiff48 $ROFF -mandoc $file | $COLPIPE 2> /tmp/roff.err > /tmp/roff.out
51 for i in roff mandoc; do
54 diff -au $DIFFOPT /tmp/roff.out /tmp/mandoc.out 2>&1
H A Droff_int.h24 struct roff;
34 struct roff *roff; /* Roff parser state data. */ member
H A Droff.c110 struct roff { struct
698 roffnode_pop(struct roff *r) in roffnode_pop()
737 roff_free1(struct roff *r) in roff_free1()
774 roff_reset(struct roff *r) in roff_reset()
788 roff_free(struct roff *r) in roff_free()
800 struct roff *
803 struct roff *r; in roff_alloc()
868 roff_man_alloc(struct roff *roff, const char *os_s, int quick) in roff_man_alloc() argument
873 man->roff = roff; in roff_man_alloc()
877 roff->man = man; in roff_man_alloc()
[all …]
H A DNEWS37 * roff(7): support the CB and CI fonts in \f and .ft
221 * roff(7) .shift, .while, and .return requests
223 * roff(7) .nop request (no operation)
385 of many additional roff requests.
676 * roff(7): Major character table cleanup.
760 * gmdiff: Minimal support for Heirloom roff.
1169 * many new roff(7) components,
1204 * minimal "ds" roff(7) symbols are supported
1244 roff(7) instructions;
1319 roff macro blocks.
[all …]
H A Dread.c55 struct roff *roff; /* roff parser (!NULL) */ member
109 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser()
284 line_result = roff_parseln(curp->roff, curp->line, in mparse_buf_r()
368 roff_userret(curp->roff); in mparse_buf_r()
546 roff_endparse(curp->roff); in mparse_end()
669 curp->roff = roff_alloc(options); in mparse_alloc()
670 curp->man = roff_man_alloc(curp->roff, curp->os_s, in mparse_alloc()
691 roff_reset(curp->roff); in mparse_reset()
706 roff_free(curp->roff); in mparse_free()
H A DMakefile123 roff.c \
205 roff.7 \
206 roff.h \
234 roff.o \
349 roff.7.html \
365 roff.h.html \
428 $(INSTALL_MAN) roff.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_ROFF).7
441 mdoc.h roff.h tbl.h $(DESTDIR)$(INCLUDEDIR)
501 rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h
H A Dman_macro.c269 roff_setreg(man->roff, "an-margin", nn->head->aux, '-'); in blk_close()
313 if (roff_getreg(man->roff, "an-margin") == 0) in blk_exp()
314 roff_setreg(man->roff, "an-margin", in blk_exp()
317 roff_setreg(man->roff, "an-margin", in blk_exp()
468 *v = roff_getarg(man->roff, v, line, pos); in man_args()
H A Dmdoc_state.c238 roff_setreg(mdoc->roff, "nS", 1, '='); in state_sh()
241 roff_setreg(mdoc->roff, "nS", 0, '='); in state_sh()
H A DTODO43 in a roff block, for example a conditional. The resulting assertion
65 - roff.c, roff_expand() should not remove blanks before comments
76 --- missing roff features ----------------------------------------------
114 - roff string condition comparisons fail when vars contain quotes:
118 happens before roff(7) syntax parsing)
137 So they may need handling after roff(7) processing.
336 - compare output to Heirloom roff, Solaris roff, and
342 ported version: https://github.com/n-t-roff/DWB3.3
347 roff stuff. Figure out to what extent we can cope.
668 in roff(7) macro and string expansion.
[all …]
H A Dmdoc.c74 if (roff_getreg(mdoc->roff, "nS")) in mdoc_parseln()
79 return roff_getcontrol(mdoc->roff, buf, &offs) ? in mdoc_parseln()
/freebsd/contrib/nvi/vi/
H A Dvs_split.c99 new->roff = sp->roff; in vs_split()
112 new->roff = sp->roff + sp->rows; in vs_split()
254 new->roff = sp->roff; in vs_vsplit()
302 if (tsp->roff >= sp->roff) in vs_insert()
318 } else if (tsp->roff < sp->roff || in vs_insert()
408 tsp->roff = sp->roff; in vs_discard()
472 if (tsp->roff > sp->roff + sp->rows) in vs_join()
474 if (tsp->roff < sp->roff) { in vs_join()
507 if (tsp->roff > sp->roff + sp->rows) in vs_join()
509 if (tsp->roff < sp->roff) { in vs_join()
[all …]
/freebsd/sys/netipsec/
H A Dipsec_mbuf.c243 int roff; in m_striphdr() local
246 m1 = m_getptr(m, skip, &roff); in m_striphdr()
251 if (roff == 0) { in m_striphdr()
257 } else if (roff + hlen >= m1->m_len) { in m_striphdr()
267 if (roff + hlen > m1->m_len) { in m_striphdr()
268 adjlen = roff + hlen - m1->m_len; in m_striphdr()
282 adjlen = m1->m_len - roff; in m_striphdr()
296 mtod(m1, u_char *) + roff, in m_striphdr()
297 m1->m_len - (roff + hlen)); in m_striphdr()
311 int roff; in m_checkalignment() local
[all …]
/freebsd/share/doc/usd/13.viref/
H A DMakefile3 EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
/freebsd/sys/dev/vt/hw/vbefb/
H A Dvbefb.c103 int format, roff, goff, boff; in vt_vbefb_init() local
132 roff = ffs(vbefb->fb_mask_red) - 1; in vt_vbefb_init()
136 vbefb->fb_mask_red >> roff, roff, in vt_vbefb_init()
/freebsd/sys/dev/vt/hw/efifb/
H A Defifb.c104 int roff, goff, boff; in vt_efifb_init() local
154 roff = ffs(efifb->fb_mask_red) - 1; in vt_efifb_init()
158 efifb->fb_mask_red >> roff, roff, in vt_efifb_init()
/freebsd/contrib/nvi/cl/
H A Dcl_funcs.c372 tsp->roff, tsp->coff); in cl_discard()
505 lno, sp->roff, cno, sp->coff); in cl_move()
551 if (psp->roff == tsp->roff) { in cl_refresh()
588 mvvline(sp->roff, sp->cols + sp->coff, '|', sp->rows); in cl_rdiv()
590 mvvline(sp->roff, sp->cols + sp->coff, ACS_VLINE, sp->rows); in cl_rdiv()
684 origp->roff, origp->coff); in cl_split()
686 newp->roff, newp->coff); in cl_split()
/freebsd/usr.bin/locale/
H A Dlocale.c622 size_t roff; in format_grouping() local
633 roff = 0; in format_grouping()
639 len = snprintf(&rval[roff], sizeof(rval) - roff, "%u;", *cp); in format_grouping()
640 if (len < 0 || (unsigned)len >= sizeof(rval) - roff) in format_grouping()
642 roff += len; in format_grouping()
648 if (roff != 0) in format_grouping()
649 rval[roff - 1] = '\0'; in format_grouping()
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c204 for (size_t roff = 0; roff < sizeof(label->vl_uberblock); in vdev_label_write() local
205 roff += blksz) { in vdev_label_write()
206 vdev_label_set_checksum(&label->vl_uberblock[0] + roff, in vdev_label_write()
207 loff + __offsetof(vdev_label_t, vl_uberblock) + roff, in vdev_label_write()
/freebsd/usr.bin/mandoc/
H A DMakefile8 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7
36 roff.c \
/freebsd/stand/i386/libi386/
H A Dvidconsole.c634 int i, roff, goff, boff, rc; in vidc_load_palette() local
642 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in vidc_load_palette()
646 gfx_state.tg_fb.fb_mask_red >> roff, roff, in vidc_load_palette()
884 int format, roff, goff, boff; in cons_update_mode() local
944 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in cons_update_mode()
948 gfx_state.tg_fb.fb_mask_red >> roff, roff, in cons_update_mode()
/freebsd/contrib/sendmail/doc/op/
H A DREADME1 Known Problems with some *roff versions
/freebsd/contrib/nvi/common/
H A Dscreen.h57 size_t roff; /* 0-N: screen row offset in display. */ member
/freebsd/contrib/file/magic/Magdir/
H A Dtroff4 # troff: file(1) magic for *roff

12