Searched refs:mdoc (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.0-release/contrib/mdocml/
H A Dmain.h22 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 Dlibmdoc.h25 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 Dmdoc_validate.c36 #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
1579 ebool(struct mdoc *mdoc) argument
[all...]
H A Dmdoc.c1 /* $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 Dlibmandoc.h40 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 Dread.c39 #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 Dmain.c31 #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 Dmdoc_macro.c29 #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 Dmdoc_argv.c28 #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 Dmdoc.h1 /* $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 Dtree.c28 #include "mdoc.h"
40 tree_mdoc(void *arg, const struct mdoc *mdoc) argument
43 print_mdoc(mdoc_node(mdoc), 0);
H A Dmandoc.h369 * mandoc(1) command line of -man and -mdoc. It's almost exclusively
374 MPARSE_MDOC, /* assume -mdoc */
397 struct mdoc;
425 struct mdoc **, struct man **);
H A Dmdoc_man.c26 #include "mdoc.h"
262 man_mdoc(void *arg, const struct mdoc *mdoc) argument
268 m = mdoc_meta(mdoc);
269 n = mdoc_node(mdoc);
H A Dmdoc_term.c34 #include "mdoc.h"
251 terminal_mdoc(void *arg, const struct mdoc *mdoc) argument
269 n = mdoc_node(mdoc);
270 m = mdoc_meta(mdoc);
H A Dmdoc_html.c33 #include "mdoc.h"
263 html_mdoc(void *arg, const struct mdoc *m)
/freebsd-10.0-release/tools/tools/sysdoc/
H A Dsysctl.sh22 # Look up $name in tunables.mdoc
24 < tunables.mdoc \
H A Dsysdoc.sh8 # using the subsection mdoc(7) feature (.Ss) without adding extra
13 # tunables.mdoc file.
43 .Xr mdoc 7
88 # tunables in our tunables.mdoc file and generate
106 # The startman function creates the initial mdoc(7) formatted
/freebsd-10.0-release/contrib/openpam/misc/
H A Dgendoc.pl415 my $mdoc = '';
423 $mdoc .= ".Xr $_" .
426 return $mdoc;
433 my $mdoc;
439 $mdoc = ".\\\" Generated from $1 by gendoc.pl\n";
441 $mdoc .= ".\\\" $$func{version}\n";
443 $mdoc .= ".Dd $TODAY
455 $mdoc .= ".In stdio.h\n";
457 $mdoc .= ".In security/pam_appl.h
460 $mdoc
[all...]
/freebsd-10.0-release/share/misc/
H A DMakefile8 iso3166 iso639 latin1 man.template mdoc.template operator pci_vendors \
/freebsd-10.0-release/gnu/usr.bin/groff/tmac/
H A DMakefile9 MDOCDIR?= ${TMACDIR}/mdoc
16 MLINKS+= groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7
22 mdoc.tmac \
45 STRIPFILES= e.tmac doc.tmac mdoc.local
/freebsd-10.0-release/lib/libmandoc/
H A DMakefile13 mdoc.c mdoc_argv.c mdoc_hash.c mdoc_macro.c mdoc_validate.c \
/freebsd-10.0-release/share/examples/
H A DMakefile26 mdoc \
116 mdoc/POSIX-copyright \
117 mdoc/deshallify.sh \
118 mdoc/example.1 \
119 mdoc/example.3 \
120 mdoc/example.4 \
121 mdoc/example.9 \
/freebsd-10.0-release/contrib/groff/src/roff/grog/
H A Dgrog.pl111 $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");
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dgetarg.c47 int mdoc,
59 if(mdoc){
45 print_arg(char *string, size_t len, int mdoc, int longp, struct getargs *arg, char *(i18n)(const char *)) argument

Completed in 245 milliseconds