/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/ |
H A D | main.h | 22 struct mdoc; 37 void html_mdoc(void *, const struct mdoc *); 41 void tree_mdoc(void *, const struct mdoc *); 44 void man_mdoc(void *, const struct mdoc *); 56 void terminal_mdoc(void *, const struct mdoc *);
|
H A D | libmdoc.h | 25 struct mdoc { struct 45 #define MACRO_PROT_ARGS struct mdoc *m, \ 107 int mdoc_word_alloc(struct mdoc *, 109 int mdoc_elem_alloc(struct mdoc *, int, int, 111 int mdoc_block_alloc(struct mdoc *, int, int, 113 int mdoc_head_alloc(struct mdoc *, int, int, enum mdoct); 114 int mdoc_tail_alloc(struct mdoc *, int, int, enum mdoct); 115 int mdoc_body_alloc(struct mdoc *, int, int, enum mdoct); 116 int mdoc_endbody_alloc(struct mdoc *m, int line, int pos, 119 void mdoc_node_delete(struct mdoc *, struc [all...] |
H A D | mdoc_validate.c | 36 #include "mdoc.h" 43 #define PRE_ARGS struct mdoc *mdoc, struct mdoc_node *n 44 #define POST_ARGS struct mdoc *mdoc 68 static int check_count(struct mdoc *, enum mdoc_type, 71 static void check_text(struct mdoc *, int, int, char *); 72 static void check_argv(struct mdoc *, 74 static void check_args(struct mdoc *, struct mdoc_node *); 351 mdoc_valid_pre(struct mdoc *mdo argument 386 mdoc_valid_post(struct mdoc *mdoc) argument 1574 ebool(struct mdoc *mdoc) argument [all...] |
H A D | mdoc.c | 1 /* $Vendor-Id: mdoc.c,v 1.196 2011/09/30 00:13:28 schwarze Exp $ */ 31 #include "mdoc.h" 92 static void mdoc_node_unlink(struct mdoc *, 94 static void mdoc_free1(struct mdoc *); 95 static void mdoc_alloc1(struct mdoc *); 96 static struct mdoc_node *node_alloc(struct mdoc *, int, int, 98 static int node_append(struct mdoc *, 101 static int mdoc_preptext(struct mdoc *, int, char *, int); 103 static int mdoc_ptext(struct mdoc *, int, char *, int); 104 static int mdoc_pmacro(struct mdoc *, in 128 mdoc_free1(struct mdoc *mdoc) argument 154 mdoc_alloc1(struct mdoc *mdoc) argument 175 mdoc_reset(struct mdoc *mdoc) argument 188 mdoc_free(struct mdoc *mdoc) argument 346 node_append(struct mdoc *mdoc, struct mdoc_node *p) argument [all...] |
H A D | libmandoc.h | 40 struct mdoc; 54 void mdoc_free(struct mdoc *); 55 struct mdoc *mdoc_alloc(struct roff *, struct mparse *); 56 void mdoc_reset(struct mdoc *); 57 int mdoc_parseln(struct mdoc *, int, char *, int); 58 int mdoc_endparse(struct mdoc *); 59 int mdoc_addspan(struct mdoc *, const struct tbl_span *); 60 int mdoc_addeqn(struct mdoc *, const struct eqn *);
|
H A D | demandoc.c | 30 #include "mdoc.h" 104 struct mdoc *mdoc; local 113 mparse_result(mp, &mdoc, &man); 117 if (mdoc) 118 pmdoc(mdoc_node(mdoc), &line, &col, list);
|
H A D | read.c | 39 #include "mdoc.h" 60 struct mdoc *pmdoc; /* persistent mdoc parser */ 62 struct mdoc *mdoc; /* mdoc parser */ member in struct:mparse 230 * passed in by command-line (-man, -mdoc), then use that 232 * line: either skip dot-lines, use -mdoc when finding `.Dt', or 235 * Separate out pmdoc/pman from mdoc/man: the first persists 252 curp->mdoc 776 mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man) argument [all...] |
H A D | main.c | 31 #include "mdoc.h" 40 typedef void (*out_mdoc)(void *, const struct mdoc *); 62 out_mdoc outmdoc; /* mdoc output ptr */ 189 struct mdoc *mdoc; local 280 mparse_result(curp->mp, &mdoc, &man); 286 if (mdoc && curp->outmdoc) 287 (*curp->outmdoc)(curp->outdata, mdoc); local
|
H A D | mdoc_macro.c | 29 #include "mdoc.h" 54 static int dword(struct mdoc *, int, int, 56 static int append_delims(struct mdoc *, 61 struct mdoc *, int, int); 62 static int phrase(struct mdoc *, int, int, char *); 66 static int rew_elem(struct mdoc *, enum mdoct); 67 static int rew_last(struct mdoc *, 69 static int rew_sub(enum mdoc_type, struct mdoc *, 206 mdoc_macroend(struct mdoc *m) 255 rew_last(struct mdoc *mdo argument 441 rew_elem(struct mdoc *mdoc, enum mdoct tok) argument [all...] |
H A D | Makefile | 11 # in the lower-left hand corner of -mdoc manuals. 127 mdoc.7 \ 128 mdoc.c \ 129 mdoc.h \ 185 mdoc.o \ 195 mdoc.ln \ 252 $(LIBMANDOC_OBJS) $(LIBMANDOC_LNS): mandoc.h mdoc.h man.h libmandoc.h config.h 300 $(MANDOC_OBJS) $(MANDOC_LNS): main.h mandoc.h mdoc.h man.h config.h out.h 305 $(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandocdb.h mandoc.h mdoc.h man.h config.h manpath.h 335 $(CGI_OBJS) $(CGI_LNS): main.h mdoc [all...] |
H A D | mdoc_argv.c | 28 #include "mdoc.h" 55 static enum margserr args(struct mdoc *, int, int *, 58 static int argv_multi(struct mdoc *, int, 60 static int argv_opt_single(struct mdoc *, int, 62 static int argv_single(struct mdoc *, int, 280 mdoc_argv(struct mdoc *m, int line, enum mdoct tok, 416 mdoc_zargs(struct mdoc *m, int line, int *pos, char *buf, char **v) 423 mdoc_args(struct mdoc *m, int line, int *pos, 452 args(struct mdoc *m, int line, int *pos, 646 argv_multi(struct mdoc * [all...] |
H A D | mdoc.h | 1 /* $Vendor-Id: mdoc.h,v 1.122 2011/03/22 14:05:45 kristaps Exp $ */ 191 * conventional order imposed by mdoc.7. In the case of SEC_NONE, no 385 struct mdoc; 387 const struct mdoc_node *mdoc_node(const struct mdoc *); 388 const struct mdoc_meta *mdoc_meta(const struct mdoc *);
|
H A D | tree.c | 28 #include "mdoc.h" 40 tree_mdoc(void *arg, const struct mdoc *mdoc) argument 43 print_mdoc(mdoc_node(mdoc), 0);
|
/netbsd-6-1-5-RELEASE/doc/ |
H A D | Makefile | 7 ${TOOL_GROFF} -mdoc -Tascii -P-bou ${.CURDIR}/BUILDING.mdoc \
|
/netbsd-6-1-5-RELEASE/distrib/notes/ |
H A D | Makefile.inc | 56 ${TOOL_GROFF} ${ARGS_PS} -mdoc ${MAIN} > $@ 62 ${TOOL_GROFF} ${ARGS_TXT} -mdoc ${MAIN} > $@ 68 ${TOOL_GROFF} ${ARGS_MORE} -mdoc ${MAIN} > $@ 80 ${TOOL_GROFF} -dTOC=1 ${ARGS_PS} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 82 ${TOOL_GROFF} -dTOC=1 ${ARGS_PS} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 86 ${TOOL_GROFF} -dTOC=1 ${ARGS_TXT} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 88 ${TOOL_GROFF} -dTOC=1 ${ARGS_TXT} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 92 ${TOOL_GROFF} -dTOC=1 ${ARGS_HTML} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 94 ${TOOL_GROFF} -dTOC=1 ${ARGS_HTML} -mdoc ${MAIN} ${TOCPROC} > $@.tmp 98 ${TOOL_GROFF} -dTOC=1 ${ARGS_MORE} -mdoc [all...] |
/netbsd-6-1-5-RELEASE/gnu/usr.bin/groff/tmac/man/ |
H A D | Makefile | 15 MLINKS+= groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7
|
/netbsd-6-1-5-RELEASE/share/doc/standards/xopen/ |
H A D | Makefile | 21 ${TOOL_GROFF} ${ARGS_PS} -mdoc ${.ALLSRC} > $@ 24 ${TOOL_GROFF} ${ARGS_TXT} -mdoc ${.ALLSRC} > $@ 30 ${TOOL_GROFF} ${ARGS_MORE} -mdoc ${.ALLSRC} > $@
|
/netbsd-6-1-5-RELEASE/external/bsd/openpam/dist/misc/ |
H A D | gendoc.pl | 407 my $mdoc = ''; 415 $mdoc .= ".Xr $_" . 418 return $mdoc; 425 my $mdoc; 430 $mdoc = ".\\\"\t\$". 447 $mdoc .= ".In security/pam_modules.h\n" 450 $mdoc .= ".In security/openpam.h\n" 452 $mdoc .= ".Ft \"$func->{'type'}\" 458 $mdoc .= ".Sh RETURN VALUES 468 $mdoc [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/groff/tmac/ |
H A D | Makefile.sub | 12 mdoc.tmac \ 36 mdocdir=$(tmacdir)/mdoc 40 doc-common-s doc-ditroff-s doc-nroff-s doc-syms-s mdoc.local-s 84 -test -f $(localtmacdir)/mdoc.local || \ 85 $(INSTALL_DATA) mdoc.local-s $(localtmacdir)/mdoc.local 87 stamp-strip: $(STRIPFILES) $(MDOCFILES) mdoc.local 88 for f in $(STRIPFILES) $(MDOCFILES) mdoc.local; do \ 133 -if cmp -s $(localtmacdir)/mdoc.local $(srcdir)/mdoc [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/man/ |
H A D | Makefile | 18 mandoc_mdoc.7: ${DISTDIR}/mdoc.7 21 ${TOOL_CAT} ${DISTDIR}/mdoc.7 > ${.TARGET}
|
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/lib/libmandoc/ |
H A D | Makefile | 7 arch.c att.c lib.c mdoc.c mdoc_argv.c mdoc_hash.c mdoc_macro.c \
|
/netbsd-6-1-5-RELEASE/gnu/usr.bin/groff/tmac/ |
H A D | Makefile | 12 MDOCDIR?= ${TMACDIR}/mdoc 19 mdoc.tmac \ 42 STRIPFILES= e.tmac doc.tmac man.local mdoc.local 54 FILESNAME_$f-s=mdoc/$f
|
/netbsd-6-1-5-RELEASE/share/misc/ |
H A D | Makefile | 10 mdoc.template na.phone na.postal style zipcodes
|
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/roff/grog/ |
H A D | grog.pl | 111 $mdoc++; 116 # In the old version of -mdoc `Oo' is a toggle, in the new it's 124 # new implementation of -mdoc) is not complete; it assumes that 206 elsif ($mdoc > 0) { 207 push(@command, ($mdoc_old || $Oo > 0) ? "-mdoc-old" : "-mdoc");
|
/netbsd-6-1-5-RELEASE/libexec/httpd/ |
H A D | Makefile | 70 $(NROFF) -mdoc -Tascii $> | $(TXTFROB) > $@
|