/titanic_41/usr/src/cmd/mandoc/ |
H A D | mdoc.c | 107 mdoc_node(const struct mdoc *mdoc) in mdoc_node() 116 mdoc_meta(const struct mdoc *mdoc) in mdoc_meta() 128 mdoc_free1(struct mdoc *mdoc) in mdoc_free1() 154 mdoc_alloc1(struct mdoc *mdoc) in mdoc_alloc1() 175 mdoc_reset(struct mdoc *mdoc) in mdoc_reset() 188 mdoc_free(struct mdoc *mdoc) in mdoc_free() 221 mdoc_endparse(struct mdoc *mdoc) in mdoc_endparse() 232 mdoc_addeqn(struct mdoc *mdoc, const struct eqn *ep) in mdoc_addeqn() 256 mdoc_addspan(struct mdoc *mdoc, const struct tbl_span *sp) in mdoc_addspan() 285 mdoc_parseln(struct mdoc *mdoc, int ln, char *buf, int offs) in mdoc_parseln() [all …]
|
H A D | libmdoc.h | 26 struct mdoc { struct 40 enum mdoc_next next; /* where to put the next node */ argument 41 struct mdoc_node *last; /* the last node parsed */ argument 42 struct mdoc_node *first; /* the first node parsed */ argument 43 struct mdoc_meta meta; /* document meta-data */ argument 44 enum mdoc_sec lastnamed; argument 45 enum mdoc_sec lastsec; argument 49 #define MACRO_PROT_ARGS struct mdoc *mdoc, \ argument 106 #define mdoc_pmsg(mdoc, l, p, t) \ argument 108 #define mdoc_nmsg(mdoc, n, t) \ argument
|
H A D | mdoc_macro.c | 225 mdoc_macroend(struct mdoc *mdoc) in mdoc_macroend() 275 rew_last(struct mdoc *mdoc, const struct mdoc_node *to) in rew_last() 461 rew_elem(struct mdoc *mdoc, enum mdoct tok) in rew_elem() 483 struct mdoc *mdoc, int line, int ppos) in make_pending() 553 rew_sub(enum mdoc_type t, struct mdoc *mdoc, in rew_sub() 615 dword(struct mdoc *mdoc, int line, int col, const char *p, in dword() 655 append_delims(struct mdoc *mdoc, int line, int *pos, char *buf) in append_delims() 1771 phrase(struct mdoc *mdoc, int line, int ppos, char *buf) in phrase()
|
H A D | mdoc_argv.c | 278 mdoc_argv(struct mdoc *mdoc, int line, enum mdoct tok, in mdoc_argv() 410 mdoc_zargs(struct mdoc *mdoc, int line, int *pos, char *buf, char **v) in mdoc_zargs() 417 mdoc_args(struct mdoc *mdoc, int line, int *pos, in mdoc_args() 446 args(struct mdoc *mdoc, int line, int *pos, in args() 652 argv_multi(struct mdoc *mdoc, int line, in argv_multi() 678 argv_single(struct mdoc *mdoc, int line, in argv_single()
|
H A D | mdoc_validate.c | 354 mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n) in mdoc_valid_pre() 389 mdoc_valid_post(struct mdoc *mdoc) in mdoc_valid_post() 420 check_count(struct mdoc *mdoc, enum mdoc_type type, in check_count() 519 check_args(struct mdoc *mdoc, struct mdoc_node *n) in check_args() 532 check_argv(struct mdoc *mdoc, struct mdoc_node *n, struct mdoc_argv *v) in check_argv() 547 check_text(struct mdoc *mdoc, int ln, int pos, char *p) in check_text() 1665 ebool(struct mdoc *mdoc) in ebool()
|
H A D | tree.c | 41 tree_mdoc(void *arg, const struct mdoc *mdoc) in tree_mdoc()
|
H A D | read.c | 58 struct mdoc *mdoc; /* mdoc parser */ member 796 mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man) in mparse_result()
|
H A D | main.c | 205 struct mdoc *mdoc; in parse() local
|
H A D | mdoc_term.c | 251 terminal_mdoc(void *arg, const struct mdoc *mdoc) in terminal_mdoc()
|
H A D | mdoc_man.c | 536 man_mdoc(void *arg, const struct mdoc *mdoc) in man_mdoc()
|
H A D | mdoc_html.c | 263 html_mdoc(void *arg, const struct mdoc *mdoc) in html_mdoc()
|