/titanic_50/usr/src/cmd/mandoc/ |
H A D | mdoc.c | 98 mdoc_node(const struct mdoc *mdoc) in mdoc_node() 105 mdoc_meta(const struct mdoc *mdoc) in mdoc_meta() 115 mdoc_free1(struct mdoc *mdoc) in mdoc_free1() 133 mdoc_alloc1(struct mdoc *mdoc) in mdoc_alloc1() 153 mdoc_reset(struct mdoc *mdoc) in mdoc_reset() 165 mdoc_free(struct mdoc *mdoc) in mdoc_free() 194 mdoc_endparse(struct mdoc *mdoc) in mdoc_endparse() 201 mdoc_addeqn(struct mdoc *mdoc, const struct eqn *ep) in mdoc_addeqn() 214 mdoc_addspan(struct mdoc *mdoc, const struct tbl_span *sp) in mdoc_addspan() 229 mdoc_parseln(struct mdoc *mdoc, int ln, char *buf, int offs) in mdoc_parseln() [all …]
|
H A D | libmdoc.h | 24 struct mdoc { struct 39 enum mdoc_next next; /* where to put the next node */ argument 40 struct mdoc_node *last; /* the last node parsed */ argument 41 struct mdoc_node *first; /* the first node parsed */ argument 42 struct mdoc_node *last_es; /* the most recent Es node */ 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
|
H A D | mdoc_macro.c | 210 mdoc_macroend(struct mdoc *mdoc) in mdoc_macroend() 235 lookup(struct mdoc *mdoc, enum mdoct from, int line, int ppos, const char *p) in lookup() 256 rew_last(struct mdoc *mdoc, const struct mdoc_node *to) in rew_last() 283 rew_pending(struct mdoc *mdoc, const struct mdoc_node *n) in rew_pending() 364 rew_elem(struct mdoc *mdoc, enum mdoct tok) in rew_elem() 381 dword(struct mdoc *mdoc, int line, int col, const char *p, in dword() 415 append_delims(struct mdoc *mdoc, int line, int *pos, char *buf) in append_delims() 1412 parse_rest(struct mdoc *mdoc, enum mdoct tok, int line, int *pos, char *buf) in parse_rest()
|
H A D | mdoc_argv.c | 278 mdoc_argv(struct mdoc *mdoc, int line, enum mdoct tok, in mdoc_argv() 415 mdoc_args(struct mdoc *mdoc, int line, int *pos, in mdoc_args() 446 args(struct mdoc *mdoc, int line, int *pos, in args() 656 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 | 295 mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n) in mdoc_valid_pre() 321 mdoc_valid_post(struct mdoc *mdoc) in mdoc_valid_post() 364 check_args(struct mdoc *mdoc, struct mdoc_node *n) in check_args() 377 check_argv(struct mdoc *mdoc, struct mdoc_node *n, struct mdoc_argv *v) in check_argv() 386 check_text(struct mdoc *mdoc, int ln, int pos, char *p) in check_text() 1504 post_sm(struct mdoc *mdoc) in post_sm()
|
H A D | tree.c | 40 tree_mdoc(void *arg, const struct mdoc *mdoc) in tree_mdoc()
|
H A D | read.c | 51 struct mdoc *mdoc; /* mdoc parser */ member 953 struct mdoc **mdoc, struct man **man, char **sodest) in mparse_result()
|
H A D | main.c | 636 struct mdoc *mdoc; in parse() local
|
H A D | mdoc_term.c | 253 terminal_mdoc(void *arg, const struct mdoc *mdoc) in terminal_mdoc()
|
H A D | mdoc_man.c | 547 man_mdoc(void *arg, const struct mdoc *mdoc) in man_mdoc()
|
H A D | mdoc_html.c | 267 html_mdoc(void *arg, const struct mdoc *mdoc) in html_mdoc()
|