| /netbsd-src/external/bsd/mdocml/dist/ |
| H A D | libmandoc.h | 48 struct roff; 67 void roff_free(struct roff *); 68 struct roff *roff_alloc(int); 69 void roff_reset(struct roff *); 71 struct roff_man *roff_man_alloc(struct roff *, const char *, int); 73 int roff_parseln(struct roff *, int, struct buf *, int *); 74 void roff_userret(struct roff *); 75 void roff_endparse(struct roff *); 76 void roff_setreg(struct roff *, const char *, int, char sign); 77 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.h roff.h mdoc.h man.h mandoc_parse.h main.h manconf.h man… 30 demandoc.o: demandoc.c config.h mandoc.h roff.h man.h mdoc.h mandoc_parse.h 31 eqn.o: eqn.c config.h mandoc_aux.h mandoc.h roff.h eqn.h libmandoc.h eqn_parse.h 34 html.o: html.c config.h mandoc_aux.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h out.h html.h man… 35 lib.o: lib.c config.h roff.h libmdoc.h lib.in 36 main.o: main.c config.h mandoc_aux.h mandoc.h mandoc_xr.h roff.h mdoc.h man.h mandoc_parse.h tag.h … 37 man.o: man.c config.h mandoc_aux.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h 38 man_html.o: man_html.c config.h mandoc_aux.h mandoc.h roff.h man.h out.h html.h main.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 147 #define ROFF_ARGS struct roff *r, /* parse ctx */ \ argument 175 static int roffnode_cleanscope(struct roff *); 176 static int roffnode_pop(struct roff *); 177 static void roffnode_push(struct roff *, enum roff_tok, 186 static int roff_ccond(struct roff *, int, int); 194 static int roff_eqndelim(struct roff *, struct buf *, int); 195 static int roff_evalcond(struct roff *r, int, char *, int *); 196 static int roff_evalnum(struct roff *, int, 198 static int roff_evalpar(struct roff *, int, [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) 25 * roff(7) .ft request: handle the CB, CI, and CR fonts 26 * roff(7) .if c conditional (character available) 27 * roff(7) \\$@ escape sequence (insert all macro arguments, quoted) 28 * roff(7) \*(.T predefined string (interpolate output device name) 29 * roff(7) \[charNNN] escape sequence (for printable ASCII characters) 30 * roff(7) \# escape sequence (line continuation with comment) 104 * roff(7) \n+ and \n- numerical register auto-increment and -decrement [all …]
|
| H A D | read.c | 48 struct roff *roff; /* roff parser (!NULL) */ member 102 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser() 273 line_result = roff_parseln(curp->roff, curp->line, &ln, &of); in mparse_buf_r() 356 roff_userret(curp->roff); in mparse_buf_r() 535 roff_endparse(curp->roff); in mparse_end() 652 curp->roff = roff_alloc(options); in mparse_alloc() 653 curp->man = roff_man_alloc(curp->roff, curp->os_s, in mparse_alloc() 672 roff_reset(curp->roff); in mparse_reset() 685 roff_free(curp->roff); in mparse_free()
|
| H A D | roff_int.h | 24 struct roff; 34 struct roff *roff; /* Roff parser state data. */ member
|
| /netbsd-src/external/bsd/nvi/dist/vi/ |
| H A D | vs_split.c | 108 new->roff = sp->roff; in vs_split() 110 sp->roff += new->rows; in vs_split() 121 new->roff = sp->roff + sp->rows; in vs_split() 263 new->roff = sp->roff; in vs_vsplit() 311 if (tsp->roff >= sp->roff) in vs_insert() 318 if (tsp->roff != sp->roff || tsp->coff > sp->coff) in vs_insert() 327 } else if (tsp->roff < sp->roff || in vs_insert() 328 (tsp->roff == sp->roff && tsp->coff < sp->coff)) { in vs_insert() 417 tsp->roff = sp->roff; in vs_discard() 481 if (tsp->roff > sp->roff + sp->rows) in vs_join() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/arch/djgpp/ |
| H A D | t-groff.bat | 5 test -d ./src/roff/groff 10 test -x ./src/roff/groff/groff 20 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;de… 23 roff\groff\groff -V -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me 26 roff\groff\groff -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me 28 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;de… 30 roff\groff\groff -V -e -s -t -p -R -me -Tps ../doc/meintro.me 33 REM roff\groff\groff -e -s -t -p -R -me -Tps ../doc/meintro.me >>prn 35 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;de… 37 roff\groff\groff -V -e -s -t -p -R -me -Tlj4 ../doc/meintro.me [all …]
|
| /netbsd-src/external/gpl2/groff/dist/ |
| H A D | ChangeLog.117 | 67 * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'. 114 * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect 116 * src/roff/troff/dic.cc (blank_line): Add html tag. 120 * src/roff/troff/input.cc (do_suppress): Fix typo. 148 * src/roff/troff/input.cc (get_delim_file_name): New function to 158 * src/roff/grog/Makefile.sub: Remove NAMEPREFIX. 168 * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first 189 * src/roff/troff/env.c, src/roff/troff/env.h, 190 src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change 195 * src/roff/troff/input.cc (read_size): Fix special case `\s0'. [all …]
|
| H A D | ChangeLog.118 | 38 * src/roff/troff/node.cc (break_char_node::col): New variable. 44 * src/roff/troff/input.cc (token::add_to_node_list, token::process): 46 * src/roff/troff/env.cc (environment::do_break, 58 * src/roff/troff/node.h, src/roff/troff/node.cc: 93 * src/roff/troff/env.cc (environment::space_newline, 99 * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return 116 * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0. 150 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12. 151 * src/roff/troff/node.cc (bracket_node::copy): Initialize 160 * src/roff/troff/env.h (environment): Rename cur_glyph_color to [all …]
|
| H A D | ChangeLog.116 | 44 * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from 45 src/roff/groff/pipeline.c). 49 * src/roff/grog/Makefile.sub (grog): Prepend `-e' to 81 * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>. 93 * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific 101 * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]: 109 * src/roff/groff/groff.cc: #include nonposix.h. 207 src/roff/groff/groff.cc: Use it. 240 * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'. 248 * src/roff/nroff/nroff.sh: Fix main loop syntax. [all …]
|
| H A D | ChangeLog | 68 * src/roff/groff/groff.man: Minor improvements. 151 * src/roff/nroff/nroff.sh: Add support for iso-8859-15. 194 * src/roff/troff/div.h: Provide declarations for do_divert and 197 * src/roff/troff/env.h: Provide declarations for title_length, 207 * src/roff/troff/input.cpp: Provide declaration for chop_macro. 209 * src/roff/troff/node.cpp: Provide declarations for class 268 * src/roff/grog/grog.pl: Likewise. 269 * src/roff/grog/grog.sh: Likewise. 270 * src/roff/nroff/nroff.sh: Likewise. 409 * src/roff/groff/pipeline.c: Don't include ctype.h. [all …]
|
| H A D | MANIFEST | 5 This file is part of groff, the GNU roff type-setting system. 60 groffer A wrapper to conveniently view roff files. 116 ./src/roff Front-end programs. 120 troff Main roff formatter program. 153 4) The roff parser 155 The parsing of the roff language is done by troff. The input is converted 156 to tokens in `src/roff/troff/input.cpp' and transformed into `nodes' by 157 `src/roff/troff/env.cpp' and `src/roff/troff/node.cpp'. From these, the
|
| H A D | test-groff.in | 9 $builddir/roff/groff$SEP\ 10 $builddir/roff/troff$SEP\ 34 exec $builddir/roff/groff/groff ${1+"$@"}
|
| /netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| H A D | node.c | 30 (HFS_BLOCKSZ - (n).roff[(n).nd.ndNRecs] - 2 * ((n).nd.ndNRecs + 1)) 49 np->roff[0] = 0x00e; in n_init() 122 reclen = np->roff[i + 1] - np->roff[i]; in n_compact() 126 np->roff[nrecs++] = offset; in n_compact() 139 np->roff[nrecs] = offset; in n_compact() 228 && left->roff[mid] + *reclen + 2 > HFS_BLOCKSZ - 2 * (mid + 1)) in n_split() 238 …&& right.roff[nrecs] - right.roff[mid] + left->roff[0] + *reclen + 2 > HFS_BLOCKSZ - 2 * (mid + 1)) in n_split() 338 np->roff[i] = np->roff[i - 1] + reclen; in n_insertx() 376 right->roff[right->nd.ndNRecs] - right->roff[0]); in n_merge() 378 offset = left->roff[left->nd.ndNRecs] - right->roff[0]; in n_merge() [all …]
|
| H A D | btree.c | 79 d_fetchw(&ptr, (short *) &np->roff[i]); in bt_getnode() 128 d_storew(&ptr, np->roff[i]); in bt_putnode() 155 bt->hdrnd.roff[0] != 0x00e || in bt_readhdr() 156 bt->hdrnd.roff[1] != 0x078 || in bt_readhdr() 157 bt->hdrnd.roff[2] != 0x0f8 || in bt_readhdr() 158 bt->hdrnd.roff[3] != 0x1f8) in bt_readhdr() 220 n.roff[0] != 0x00e || in bt_readhdr() 221 n.roff[1] != 0x1fa) in bt_readhdr() 308 n.roff[0] != 0x00e || in bt_writehdr() 309 n.roff[1] != 0x1fa) in bt_writehdr() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | elf64-x86-64.c | 1630 bfd_vma roff = irel->r_offset; in elf_x86_64_convert_load_reloc() local 1633 if (roff < (r_type == R_X86_64_CODE_4_GOTPCRELX in elf_x86_64_convert_load_reloc() 1648 opcode = bfd_get_8 (abfd, contents + roff - 4); in elf_x86_64_convert_load_reloc() 1663 opcode = bfd_get_8 (abfd, contents + roff - 2); in elf_x86_64_convert_load_reloc() 1809 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1863 rex2 = bfd_get_8 (abfd, contents + roff - 3); in elf_x86_64_convert_load_reloc() 1868 rex = bfd_get_8 (abfd, contents + roff - 3); in elf_x86_64_convert_load_reloc() 1889 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1916 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1952 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_x86_64_convert_load_reloc() [all …]
|
| H A D | elf32-i386.c | 1237 bfd_vma roff = irel->r_offset; in elf_i386_convert_load_reloc() local 1241 if (roff < 2) in elf_i386_convert_load_reloc() 1245 addend = bfd_get_32 (abfd, contents + roff); in elf_i386_convert_load_reloc() 1261 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_i386_convert_load_reloc() 1298 opcode = bfd_get_8 (abfd, contents + roff - 2); in elf_i386_convert_load_reloc() 1369 nop_offset = roff + 3; in elf_i386_convert_load_reloc() 1373 nop_offset = roff - 2; in elf_i386_convert_load_reloc() 1381 nop_offset = roff + 3; in elf_i386_convert_load_reloc() 1428 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_i386_convert_load_reloc() 1461 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_i386_convert_load_reloc() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | elf64-x86-64.c | 1493 bfd_vma roff = irel->r_offset; in elf_x86_64_convert_load_reloc() local 1496 if (roff < (r_type == R_X86_64_REX_GOTPCRELX ? 3 : 2)) in elf_x86_64_convert_load_reloc() 1515 opcode = bfd_get_8 (abfd, contents + roff - 2); in elf_x86_64_convert_load_reloc() 1661 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1711 rex = bfd_get_8 (abfd, contents + roff - 3); in elf_x86_64_convert_load_reloc() 1732 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1759 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1795 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_x86_64_convert_load_reloc() 1801 bfd_put_8 (abfd, rex, contents + roff - 3); in elf_x86_64_convert_load_reloc() 1808 bfd_put_8 (abfd, opcode, contents + roff - 2); in elf_x86_64_convert_load_reloc() [all …]
|
| H A D | elf32-i386.c | 1223 bfd_vma roff = irel->r_offset; in elf_i386_convert_load_reloc() local 1227 if (roff < 2) in elf_i386_convert_load_reloc() 1231 addend = bfd_get_32 (abfd, contents + roff); in elf_i386_convert_load_reloc() 1241 modrm = bfd_get_8 (abfd, contents + roff - 1); in elf_i386_convert_load_reloc() 1278 opcode = bfd_get_8 (abfd, contents + roff - 2); in elf_i386_convert_load_reloc() 1349 nop_offset = roff + 3; in elf_i386_convert_load_reloc() 1353 nop_offset = roff - 2; in elf_i386_convert_load_reloc() 1361 nop_offset = roff + 3; in elf_i386_convert_load_reloc() 1408 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_i386_convert_load_reloc() 1441 bfd_put_8 (abfd, modrm, contents + roff - 1); in elf_i386_convert_load_reloc() [all …]
|
| /netbsd-src/sys/netipsec/ |
| H A D | ipsec_mbuf.c | 368 int roff; in m_striphdr() local 373 m1 = m_getptr(m, skip, &roff); in m_striphdr() 378 if (roff == 0) { in m_striphdr() 384 } else if (roff + hlen >= m1->m_len) { in m_striphdr() 394 if (roff + hlen > m1->m_len) { in m_striphdr() 395 adjlen = roff + hlen - m1->m_len; in m_striphdr() 409 adjlen = m1->m_len - roff; in m_striphdr() 422 memmove(mtod(m1, u_char *) + roff, in m_striphdr() 423 mtod(m1, u_char *) + roff + hlen, in m_striphdr() 424 m1->m_len - (roff + hlen)); in m_striphdr()
|
| /netbsd-src/share/doc/ |
| H A D | README.docdirs | 25 ref1/roff/memacros src/share/doc/usd/19.memacros 26 ref1/roff/meref src/share/doc/usd/20.meref 27 ref1/roff/msdiffs src/share/doc/usd/18.msdiffs 28 ref1/roff/msmacros src/share/doc/usd/17.msmacros 29 ref1/roff/mom src/gnu/usr.bin/groff/contrib/mom/momdoc 30 ref1/roff/mom_examples src/gnu/usr.bin/groff/contrib/mom/examples 100 usd/17.msmacros -> ref1/roff/msmacros 101 usd/18.msdiffs -> ref1/roff/msdiffs 102 usd/19.memacros -> ref1/roff/memacros 103 usd/20.meref -> ref1/roff/meref
|
| /netbsd-src/sys/dev/rasops/ |
| H A D | rasops.c | 1530 int col, roff; in rasops_copyrows_rotated_cw() local 1533 for (roff = 0; roff < num; roff++) in rasops_copyrows_rotated_cw() 1535 rasops_copychar(cookie, src + roff, dst + roff, in rasops_copyrows_rotated_cw() 1538 for (roff = num - 1; roff >= 0; roff--) in rasops_copyrows_rotated_cw() 1540 rasops_copychar(cookie, src + roff, dst + roff, in rasops_copyrows_rotated_cw() 1646 int col, roff; in rasops_copyrows_rotated_ccw() local 1649 for (roff = 0; roff < num; roff++) in rasops_copyrows_rotated_ccw() 1652 src + roff, dst + roff, col, col); in rasops_copyrows_rotated_ccw() 1654 for (roff = num - 1; roff >= 0; roff--) in rasops_copyrows_rotated_ccw() 1657 src + roff, dst + roff, col, col); in rasops_copyrows_rotated_ccw()
|
| /netbsd-src/external/bsd/nvi/docs/USD.doc/vi.ref/ |
| H A D | Makefile | 10 DEPSRCS= ex.cmd.roff set.opt.roff vi.cmd.roff ref.so index.so
|