Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/mandoc/
H A Dlibmandoc.h48 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 DMakefile.depend1 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 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.c108 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 DNEWS22 * 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 Droff_int.h24 struct roff;
34 struct roff *roff; /* Roff parser state data. */ member
H A Dread.c48 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 DMakefile120 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 Dman_macro.c267 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 Dmdoc_state.c235 roff_setreg(mdoc->roff, "nS", 1, '='); in state_sh()
238 roff_setreg(mdoc->roff, "nS", 0, '='); in state_sh()
H A DTODO39 --- 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 Dmdoc.c72 if (roff_getreg(mdoc->roff, "nS")) in mdoc_parseln()
77 return roff_getcontrol(mdoc->roff, buf, &offs) ? in mdoc_parseln()
/freebsd-12.1/contrib/nvi/vi/
H A Dvs_split.c103 new->roff = sp->roff; in vs_split()
116 new->roff = sp->roff + sp->rows; in vs_split()
258 new->roff = sp->roff; in vs_vsplit()
306 if (tsp->roff >= sp->roff) in vs_insert()
322 } else if (tsp->roff < sp->roff || in vs_insert()
412 tsp->roff = sp->roff; in vs_discard()
476 if (tsp->roff > sp->roff + sp->rows) in vs_join()
478 if (tsp->roff < sp->roff) { in vs_join()
511 if (tsp->roff > sp->roff + sp->rows) in vs_join()
513 if (tsp->roff < sp->roff) { in vs_join()
[all …]
/freebsd-12.1/sys/netipsec/
H A Dipsec_mbuf.c246 int roff; in m_striphdr() local
249 m1 = m_getptr(m, skip, &roff); in m_striphdr()
254 if (roff == 0) { in m_striphdr()
260 } else if (roff + hlen >= m1->m_len) { in m_striphdr()
270 if (roff + hlen > m1->m_len) { in m_striphdr()
271 adjlen = roff + hlen - m1->m_len; in m_striphdr()
285 adjlen = m1->m_len - roff; in m_striphdr()
299 mtod(m1, u_char *) + roff, in m_striphdr()
300 m1->m_len - (roff + hlen)); in m_striphdr()
314 int roff; in m_checkalignment() local
[all …]
H A Dxform_esp.c664 int hlen, rlen, padding, blks, alen, i, roff; in esp_output() local
741 mo = m_makespace(m, skip, hlen, &roff); in esp_output()
752 bcopy((caddr_t) &sav->spi, mtod(mo, caddr_t) + roff, in esp_output()
765 bcopy((caddr_t) &replay, mtod(mo, caddr_t) + roff + in esp_output()
/freebsd-12.1/share/doc/usd/13.viref/
H A DMakefile5 EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
/freebsd-12.1/contrib/binutils/bfd/
H A Delf32-i386.c2649 bfd_vma roff; in elf_i386_relocate_section() local
2704 contents + roff); in elf_i386_relocate_section()
2720 bfd_vma roff; in elf_i386_relocate_section() local
2725 roff = rel->r_offset; in elf_i386_relocate_section()
2739 contents + roff); in elf_i386_relocate_section()
2751 bfd_vma roff; in elf_i386_relocate_section() local
2754 roff = rel->r_offset; in elf_i386_relocate_section()
3038 bfd_vma roff; in elf_i386_relocate_section() local
3109 bfd_vma roff; in elf_i386_relocate_section() local
3138 contents + roff); in elf_i386_relocate_section()
[all …]
H A Delf64-x86-64.c2569 bfd_vma roff; in elf64_x86_64_relocate_section() local
2574 roff = rel->r_offset; in elf64_x86_64_relocate_section()
2575 BFD_ASSERT (roff >= 3); in elf64_x86_64_relocate_section()
2591 contents + roff); in elf64_x86_64_relocate_section()
2603 bfd_vma roff; in elf64_x86_64_relocate_section() local
2606 roff = rel->r_offset; in elf64_x86_64_relocate_section()
2856 bfd_vma roff; in elf64_x86_64_relocate_section() local
2861 roff = rel->r_offset; in elf64_x86_64_relocate_section()
2884 contents + roff); in elf64_x86_64_relocate_section()
2897 bfd_vma roff; in elf64_x86_64_relocate_section() local
[all …]
/freebsd-12.1/sys/mips/cavium/
H A Docteon_pci_console.c188 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-12.1/contrib/nvi/cl/
H A Dcl_funcs.c376 tsp->roff, tsp->coff); in cl_discard()
509 lno, sp->roff, cno, sp->coff); in cl_move()
555 if (psp->roff == tsp->roff) { in cl_refresh()
592 mvvline(sp->roff, sp->cols + sp->coff, '|', sp->rows); in cl_rdiv()
594 mvvline(sp->roff, sp->cols + sp->coff, ACS_VLINE, sp->rows); in cl_rdiv()
688 origp->roff, origp->coff); in cl_split()
690 newp->roff, newp->coff); in cl_split()
/freebsd-12.1/usr.bin/locale/
H A Dlocale.c623 size_t roff; in format_grouping() local
634 roff = 0; in format_grouping()
640 len = snprintf(&rval[roff], sizeof(rval) - roff, "%u;", *cp); in format_grouping()
641 if (len < 0 || (unsigned)len >= sizeof(rval) - roff) in format_grouping()
643 roff += len; in format_grouping()
649 if (roff != 0) in format_grouping()
650 rval[roff - 1] = '\0'; in format_grouping()
/freebsd-12.1/usr.bin/mandoc/
H A DMakefile9 MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 roff.7
35 roff.c \
/freebsd-12.1/contrib/sendmail/doc/op/
H A DREADME1 Known Problems with some *roff versions
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dtroff4 # troff: file(1) magic for *roff
/freebsd-12.1/contrib/nvi/common/
H A Dscreen.h59 size_t roff; /* 0-N: screen row offset in display. */ member

123