| /freebsd-13.1/contrib/mandoc/ |
| H A D | libmandoc.h | 48 struct roff; 66 void roff_free(struct roff *); 67 struct roff *roff_alloc(int); 68 void roff_reset(struct roff *); 73 void roff_userret(struct roff *); 74 void roff_endparse(struct roff *); 76 int roff_getreg(struct roff *, const char *); 77 char *roff_strdup(const struct roff *, const char *); 78 char *roff_getarg(struct roff *, char **, int, int *); 79 int roff_getcontrol(const struct roff *, [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 32 eqn_html.o: eqn_html.c config.h mandoc.h roff.h eqn.h out.h html.h 35 lib.o: lib.c config.h roff.h libmdoc.h lib.in 64 roff.o: roff.c config.h mandoc_aux.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h mandoc_parse.h l… 65 roff_html.o: roff_html.c mandoc.h roff.h out.h html.h 66 roff_term.o: roff_term.c mandoc.h roff.h out.h term.h 67 roff_validate.o: roff_validate.c mandoc.h roff.h libmandoc.h roff_int.h 69 st.o: st.c config.h mandoc.h roff.h libmdoc.h 73 tbl_html.o: tbl_html.c config.h mandoc.h roff.h tbl.h out.h html.h [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 | 108 struct roff { struct 695 roffnode_pop(struct roff *r) in roffnode_pop() 734 roff_free1(struct roff *r) in roff_free1() 771 roff_reset(struct roff *r) in roff_reset() 784 roff_free(struct roff *r) in roff_free() 796 struct roff * 799 struct roff *r; in roff_alloc() 864 roff_man_alloc(struct roff *roff, const char *os_s, int quick) in roff_man_alloc() argument 869 man->roff = roff; in roff_man_alloc() 873 roff->man = man; in roff_man_alloc() [all …]
|
| H A D | NEWS | 22 * roff(7) .shift, .while, and .return requests 23 * roff(7) .char request (output glyph definition) 24 * roff(7) .nop request (no operation) 26 * roff(7) .if c conditional (character available) 186 of many additional roff requests. 477 * roff(7): Major character table cleanup. 561 * gmdiff: Minimal support for Heirloom roff. 970 * many new roff(7) components, 1045 roff(7) instructions; 1120 roff macro blocks. [all …]
|
| H A D | roff_int.h | 24 struct roff; 34 struct roff *roff; /* Roff parser state data. */ member
|
| H A D | read.c | 48 struct roff *roff; /* roff parser (!NULL) */ member 102 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser() 275 line_result = roff_parseln(curp->roff, curp->line, &ln, &of); in mparse_buf_r() 358 roff_userret(curp->roff); in mparse_buf_r() 536 roff_endparse(curp->roff); in mparse_end() 653 curp->roff = roff_alloc(options); in mparse_alloc() 654 curp->man = roff_man_alloc(curp->roff, curp->os_s, in mparse_alloc() 673 roff_reset(curp->roff); in mparse_reset() 686 roff_free(curp->roff); in mparse_free()
|
| H A D | Makefile | 120 roff.c \ 201 roff.7 \ 202 roff.h \ 229 roff.o \ 349 roff.7.html \ 365 roff.h.html \ 427 $(INSTALL_MAN) roff.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_ROFF).7 440 mdoc.h roff.h tbl.h $(DESTDIR)$(INCLUDEDIR) 500 rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h
|
| H A D | man_macro.c | 267 roff_setreg(man->roff, "an-margin", nn->head->aux, '-'); in blk_close() 311 if (roff_getreg(man->roff, "an-margin") == 0) in blk_exp() 312 roff_setreg(man->roff, "an-margin", in blk_exp() 315 roff_setreg(man->roff, "an-margin", in blk_exp() 466 *v = roff_getarg(man->roff, v, line, pos); in man_args()
|
| H A D | mdoc_state.c | 235 roff_setreg(mdoc->roff, "nS", 1, '='); in state_sh() 238 roff_setreg(mdoc->roff, "nS", 0, '='); in state_sh()
|
| H A D | TODO | 39 --- missing roff features ---------------------------------------------- 77 - roff string condition comparisons fail when vars contain quotes: 81 happens before roff(7) syntax parsing) 238 - kettenis wants base roff, ms, and me Fri, 1 Jan 2010 22:13:15 +0100 (CET) 246 - compare output to Heirloom roff, Solaris roff, and 252 ported version: https://github.com/n-t-roff/DWB3.3 257 roff stuff. Figure out to what extent we can cope. 544 in roff(7) macro and string expansion. 571 tedious to do the string parsing in roff code...
|
| H A D | mdoc.c | 72 if (roff_getreg(mdoc->roff, "nS")) in mdoc_parseln() 77 return roff_getcontrol(mdoc->roff, buf, &offs) ? in mdoc_parseln()
|
| /freebsd-13.1/contrib/nvi/vi/ |
| H A D | vs_split.c | 99 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-13.1/sys/netipsec/ |
| H A D | ipsec_mbuf.c | 248 int roff; in m_striphdr() local 251 m1 = m_getptr(m, skip, &roff); in m_striphdr() 256 if (roff == 0) { in m_striphdr() 262 } else if (roff + hlen >= m1->m_len) { in m_striphdr() 272 if (roff + hlen > m1->m_len) { in m_striphdr() 273 adjlen = roff + hlen - m1->m_len; in m_striphdr() 287 adjlen = m1->m_len - roff; in m_striphdr() 301 mtod(m1, u_char *) + roff, in m_striphdr() 302 m1->m_len - (roff + hlen)); in m_striphdr() 316 int roff; in m_checkalignment() local [all …]
|
| /freebsd-13.1/share/doc/usd/13.viref/ |
| H A D | Makefile | 5 EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
|
| /freebsd-13.1/sys/dev/vt/hw/efifb/ |
| H A D | efifb.c | 106 int roff, goff, boff; in vt_efifb_init() local 132 roff = ffs(efifb->fb_mask_red) - 1; in vt_efifb_init() 136 efifb->fb_mask_red >> roff, roff, in vt_efifb_init()
|
| /freebsd-13.1/sys/dev/vt/hw/vbefb/ |
| H A D | vbefb.c | 106 int format, roff, goff, boff; in vt_vbefb_init() local 135 roff = ffs(vbefb->fb_mask_red) - 1; in vt_vbefb_init() 139 vbefb->fb_mask_red >> roff, roff, in vt_vbefb_init()
|
| /freebsd-13.1/sys/mips/cavium/ |
| H A D | octeon_pci_console.c | 188 uint16_t roff; in opcic_rsys_cngetc() local 206 roff = rcnt[0] - 1; in opcic_rsys_cngetc() 208 roff = OPCIC_RSYS_FIFO_SIZE - 1; in opcic_rsys_cngetc() 209 c = cvmx_read64_uint8(console_rbuf + roff); in opcic_rsys_cngetc()
|
| /freebsd-13.1/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-13.1/usr.bin/locale/ |
| H A D | locale.c | 624 size_t roff; in format_grouping() local 635 roff = 0; in format_grouping() 641 len = snprintf(&rval[roff], sizeof(rval) - roff, "%u;", *cp); in format_grouping() 642 if (len < 0 || (unsigned)len >= sizeof(rval) - roff) in format_grouping() 644 roff += len; in format_grouping() 650 if (roff != 0) in format_grouping() 651 rval[roff - 1] = '\0'; in format_grouping()
|
| /freebsd-13.1/usr.bin/mandoc/ |
| H A D | Makefile | 9 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7 37 roff.c \
|
| /freebsd-13.1/stand/i386/libi386/ |
| H A D | vidconsole.c | 628 int i, roff, goff, boff, rc; in vidc_load_palette() local 636 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in vidc_load_palette() 640 gfx_state.tg_fb.fb_mask_red >> roff, roff, in vidc_load_palette() 878 int format, roff, goff, boff; in cons_update_mode() local 938 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in cons_update_mode() 942 gfx_state.tg_fb.fb_mask_red >> roff, roff, in cons_update_mode()
|
| /freebsd-13.1/contrib/sendmail/doc/op/ |
| H A D | README | 1 Known Problems with some *roff versions
|
| /freebsd-13.1/contrib/file/magic/Magdir/ |
| H A D | troff | 4 # troff: file(1) magic for *roff
|
| /freebsd-13.1/contrib/nvi/common/ |
| H A D | screen.h | 57 size_t roff; /* 0-N: screen row offset in display. */ member
|