/freebsd/contrib/mandoc/ |
H A D | libmandoc.h | 51 struct roff; 70 void roff_free(struct roff *); 71 struct roff *roff_alloc(int); 72 void roff_reset(struct roff *); 74 struct roff_man *roff_man_alloc(struct roff *, const char *, int); 76 int roff_parseln(struct roff *, int, struct buf *, int *, size_t); 77 void roff_userret(struct roff *); 78 void roff_endparse(struct roff *); 79 void roff_setreg(struct roff *, const char *, int, char); 80 int roff_getreg(struct roff *, const char *); [all …]
|
H A D | Makefile.depend | 1 arch.o: arch.c config.h roff.h 2 att.o: att.c config.h roff.h libmdoc.h 4 cgi.o: cgi.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h roff.h mdoc.h man.h mandoc_parse.h main.h … 31 demandoc.o: demandoc.c config.h mandoc.h mandoc_dbg.h roff.h man.h mdoc.h mandoc_parse.h 32 eqn.o: eqn.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h roff.h eqn.h libmandoc.h eqn_parse.h 33 eqn_html.o: eqn_html.c config.h mandoc.h roff.h eqn.h out.h html.h 35 html.o: html.c config.h mandoc_aux.h mandoc_dbg.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h out… 36 lib.o: lib.c config.h roff.h libmdoc.h lib.in 37 main.o: main.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h mandoc_xr.h roff.h mdoc.h man.h mandoc_p… 38 man.o: man.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman… [all …]
|
H A D | gmdiff | 48 $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 D | roff.c | 102 struct roff { struct 144 #define ROFF_ARGS struct roff *r, /* parse ctx */ \ argument 172 static int roffnode_cleanscope(struct roff *); 173 static int roffnode_pop(struct roff *); 174 static void roffnode_push(struct roff *, enum roff_tok, 184 static int roff_ccond(struct roff *, int, int); 193 static int roff_eqndelim(struct roff *, struct buf *, int); 194 static int roff_evalcond(struct roff *, int, char *, int *); 195 static int roff_evalnum(struct roff *, int, 197 static int roff_evalpar(struct roff *, int, [all …]
|
H A D | NEWS | 36 * roff(7): implement the .break request (break out of a .while loop) 37 * roff(7): support the CB and CI fonts in \f and .ft 53 * roff(7): fix a rare case of writing one byte past the end of the input buffer 54 * roff(7): do not call abort(3) when \*[.T] is encountered 55 * roff(7): fix an assertion failure caused by a macro inside .ce .if 56 * roff(7): fix assertion failures for .ti and .po with excessive arguments 57 * roff(7): avoid near-infinte output for .ce inside explicit no-fill mode 96 * tbl(7): no longer leak tabulator settings to subsequent roff(7) code 125 * roff(7): when calling an empty macro, do not clobber existing arguments 126 * roff(7): recognize \} on lines closing a macro definition request [all …]
|
H A D | roff_int.h | 24 struct roff; 34 struct roff *roff; /* Roff parser state data. */ member
|
H A D | read.c | 55 struct roff *roff; /* roff parser (!NULL) */ member 109 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser() 289 line_result = roff_parseln(curp->roff, curp->line, in mparse_buf_r() 373 roff_userret(curp->roff); in mparse_buf_r() 551 roff_endparse(curp->roff); in mparse_end() 674 curp->roff = roff_alloc(options); in mparse_alloc() 675 curp->man = roff_man_alloc(curp->roff, curp->os_s, in mparse_alloc() 696 roff_reset(curp->roff); in mparse_reset() 711 roff_free(curp->roff); in mparse_free()
|
H A D | Makefile | 124 roff.c \ 209 roff.7 \ 210 roff.h \ 238 roff.o \ 356 roff.7.html \ 372 roff.h.html \ 436 $(INSTALL_MAN) roff.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_ROFF).7 450 mdoc.h roff.h tbl.h $(DESTDIR)$(INCLUDEDIR) 510 rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h
|
H A D | man_macro.c | 274 roff_setreg(man->roff, "an-margin", nn->head->aux, '-'); in blk_close() 318 if (roff_getreg(man->roff, "an-margin") == 0) in blk_exp() 319 roff_setreg(man->roff, "an-margin", in blk_exp() 322 roff_setreg(man->roff, "an-margin", in blk_exp() 478 *v = roff_getarg(man->roff, v, line, pos); in man_args()
|
H A D | mdoc_state.c | 243 roff_setreg(mdoc->roff, "nS", 1, '='); in state_sh() 246 roff_setreg(mdoc->roff, "nS", 0, '='); in state_sh()
|
H A D | TODO | 43 in a roff block, for example a conditional. The resulting assertion 65 - roff.c, roff_expand() should not remove blanks before comments 84 --- missing roff features ---------------------------------------------- 122 - roff string condition comparisons fail when vars contain quotes: 126 happens before roff(7) syntax parsing) 141 delimiters, so it may need handling *after* roff.c rather than before. 145 So they may need handling after roff(7) processing. 354 - kettenis wants base roff, ms, and me Fri, 1 Jan 2010 22:13:15 +0100 (CET) 362 - compare output to Heirloom roff, Solaris roff, and 368 ported version: https://github.com/n-t-roff/DWB3.3 [all …]
|
H A D | mdoc.c | 74 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 D | vs_split.c | 99 new->roff = sp->roff; in vs_split() 101 sp->roff += new->rows; 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() 309 if (tsp->roff != sp->roff || tsp->coff > sp->coff) in vs_insert() 318 } else if (tsp->roff < sp->roff || in vs_insert() 319 (tsp->roff == sp->roff && tsp->coff < sp->coff)) { in vs_insert() 408 tsp->roff = sp->roff; in vs_discard() 472 if (tsp->roff > sp->roff + sp->rows) in vs_join() [all …]
|
/freebsd/sys/netipsec/ |
H A D | ipsec_mbuf.c | 243 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() 295 bcopy(mtod(m1, u_char *) + roff + hlen, in m_striphdr() 296 mtod(m1, u_char *) + roff, in m_striphdr() 297 m1->m_len - (roff + hlen)); in m_striphdr() [all …]
|
/freebsd/sys/dev/vt/hw/vbefb/ |
H A D | vbefb.c | 99 int format, roff, goff, boff; in vt_vbefb_init() local 125 roff = ffs(vbefb->fb_mask_red) - 1; in vt_vbefb_init() 129 vbefb->fb_mask_red >> roff, roff, in vt_vbefb_init()
|
/freebsd/share/doc/usd/13.viref/ |
H A D | Makefile | 2 EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
|
/freebsd/sys/dev/vt/hw/efifb/ |
H A D | efifb.c | 100 int roff, goff, boff; in vt_efifb_init() local 152 roff = ffs(efifb->fb_mask_red) - 1; in vt_efifb_init() 156 efifb->fb_mask_red >> roff, roff, in vt_efifb_init()
|
/freebsd/contrib/nvi/cl/ |
H A D | cl_funcs.c | 372 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 D | locale.c | 622 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 D | vdev.c | 204 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 D | Makefile | 7 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7 35 roff.c \
|
/freebsd/stand/i386/libi386/ |
H A D | vidconsole.c | 634 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 D | README | 1 Known Problems with some *roff versions
|
/freebsd/contrib/nvi/common/ |
H A D | screen.h | 57 size_t roff; /* 0-N: screen row offset in display. */ member
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | troff | 4 # troff: file(1) magic for *roff
|