| /src/external/bsd/mdocml/dist/ |
| tag.h | 33 void tag_put(const char *, int, struct roff_node *); 34 void tag_postprocess(struct roff_man *, struct roff_node *);
|
| roff_int.h | 22 struct roff_node; 38 struct roff_node *last; /* The last node parsed. */ 39 struct roff_node *last_es; /* The most recent Es node. */ 66 struct roff_node *roff_node_alloc(struct roff_man *, int, int, 68 void roff_node_append(struct roff_man *, struct roff_node *); 72 struct roff_node *roff_block_alloc(struct roff_man *, int, int, int); 73 struct roff_node *roff_head_alloc(struct roff_man *, int, int, int); 74 struct roff_node *roff_body_alloc(struct roff_man *, int, int, int); 75 void roff_node_unlink(struct roff_man *, struct roff_node *); 76 void roff_node_relink(struct roff_man *, struct roff_node *); [all...] |
| libman.h | 19 struct roff_node; 42 void man_unscope(struct roff_man *, const struct roff_node *);
|
| libmdoc.h | 19 struct roff_node; 71 struct roff_node *mdoc_block_alloc(struct roff_man *, int, int, 75 struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int, 76 enum roff_tok, struct roff_node *); 77 void mdoc_state(struct roff_man *, struct roff_node *);
|
| term_tag.h | 32 void term_tag_write(struct roff_node *, size_t);
|
| eqn_parse.h | 22 struct roff_node; 27 struct roff_node *node; /* Syntax tree of this equation. */
|
| mdoc_markdown.c | 36 int (*cond)(struct roff_node *); 37 int (*pre)(struct roff_node *); 38 void (*post)(struct roff_node *); 43 static void md_nodelist(struct roff_node *); 44 static void md_node(struct roff_node *); 53 static int md_cond_head(struct roff_node *); 54 static int md_cond_body(struct roff_node *); 56 static int md_pre_abort(struct roff_node *); 57 static int md_pre_raw(struct roff_node *); 58 static int md_pre_word(struct roff_node *); [all...] |
| html.h | 117 struct roff_node; 121 void roff_html_pre(struct html *, const struct roff_node *); 123 void print_gen_comment(struct html *, struct roff_node *); 128 struct roff_node *); 132 struct roff_node *); 141 char *html_make_id(const struct roff_node *, int);
|
| roff.h | 497 struct roff_node { struct 498 struct roff_node *parent; /* Parent AST node. */ 499 struct roff_node *child; /* First child AST node. */ 500 struct roff_node *last; /* Last child AST node. */ 501 struct roff_node *next; /* Sibling AST node. */ 502 struct roff_node *prev; /* Prior sibling AST node. */ 503 struct roff_node *head; /* BLOCK */ 504 struct roff_node *body; /* BLOCK/ENDBODY */ 505 struct roff_node *tail; /* BLOCK */ 537 struct roff_node *first; /* The first node parsed. * [all...] |
| libmandoc.h | 53 struct roff_node; 55 char *mandoc_normdate(struct roff_node *, struct roff_node *);
|
| roff_validate.c | 30 #define ROFF_VALID_ARGS struct roff_man *man, struct roff_node *n 59 struct roff_node *n; 70 struct roff_node *np; 132 struct roff_node *np;
|
| tag.c | 43 struct roff_node **nodes; 51 struct roff_node *, const char *); 52 static void tag_move_id(struct roff_node *); 90 tag_put(const char *s, int prio, struct roff_node *n) 93 struct roff_node *nold; 248 tag_move_id(struct roff_node *n) 250 struct roff_node *np; 310 tag_move_href(struct roff_man *man, struct roff_node *n, const char *tag) 344 tag_postprocess(struct roff_man *man, struct roff_node *n)
|
| mdoc.h | 19 struct roff_node; 151 struct roff_node *Es;
|
| mdoc.c | 87 struct roff_node *p; 94 struct roff_node * 96 enum roff_tok tok, struct roff_node *body) 98 struct roff_node *p; 111 struct roff_node * 115 struct roff_node *p; 142 struct roff_node *p; 167 struct roff_node *n; 309 struct roff_node *n;
|
| demandoc.c | 35 static void pman(const struct roff_node *, int *, int *, int); 37 static void pmdoc(const struct roff_node *, int *, int *, int); 235 pmdoc(const struct roff_node *p, int *line, int *col, int list) 249 pman(const struct roff_node *p, int *line, int *col, int list)
|
| roff_html.c | 31 #define ROFF_HTML_ARGS struct html *h, const struct roff_node *n 59 roff_html_pre(struct html *h, const struct roff_node *n)
|
| mdoc_macro.c | 50 int, int, struct roff_node *); 53 static void break_intermediate(struct roff_node *, 54 struct roff_node *); 59 static void rew_last(struct roff_man *, const struct roff_node *); 61 const struct roff_node *); 222 struct roff_node *n; 268 rew_last(struct roff_man *mdoc, const struct roff_node *to) 288 rew_pending(struct roff_man *mdoc, const struct roff_node *n) 375 struct roff_node *n; 386 break_intermediate(struct roff_node *n, struct roff_node *breaker [all...] |
| mdoc_state.c | 33 #define STATE_ARGS struct roff_man *mdoc, struct roff_node *n 167 mdoc_state(struct roff_man *mdoc, struct roff_node *n) 210 struct roff_node *nch;
|
| term.h | 41 struct roff_node; 129 void roff_term_pre(struct termp *, const struct roff_node *);
|
| mandocdb.c | 112 const struct roff_node *); 141 const struct roff_node *); 143 const struct roff_node *); 145 const struct roff_node *); 147 const struct roff_node *); 149 const struct roff_node *); 150 static void parse_mdoc_fname(struct mpage *, const struct roff_node *); 152 const struct roff_node *); 154 const struct roff_node *); 156 const struct roff_node *); [all...] |
| mdoc_validate.c | 60 struct roff_node *, struct mdoc_argv *); 61 static void check_args(struct roff_man *, struct roff_node *); 65 static int child_an(const struct roff_node *); 304 struct roff_node *n, *np; 397 check_args(struct roff_man *mdoc, struct roff_node *n) 410 check_argv(struct roff_man *mdoc, struct roff_node *n, struct mdoc_argv *v) 433 const struct roff_node *np, *nn; 520 const struct roff_node *nch; 547 const struct roff_node *nch; 640 struct roff_node *n [all...] |
| man_macro.c | 93 man_unscope(struct roff_man *man, const struct roff_node *to) 95 struct roff_node *n; 162 struct roff_node *n; 204 const struct roff_node *nn; 298 struct roff_node *head; 343 struct roff_node *n; 386 struct roff_node *n;
|
| man_validate.c | 43 #define CHKARGS struct roff_man *man, struct roff_node *n 51 static void check_tag(struct roff_node *, struct roff_node *); 111 struct roff_node *n; 215 check_tag(struct roff_node *n, struct roff_node *nt) 315 struct roff_node *nc; 450 struct roff_node *nt; 477 struct roff_node *nb; 617 struct roff_node *nn [all...] |
| tree.c | 39 static void print_attr(const struct roff_node *); 42 static void print_man(const struct roff_node *, int); 44 static void print_mdoc(const struct roff_node *, int); 86 print_mdoc(const struct roff_node *n, int indent) 207 print_man(const struct roff_node *n, int indent) 290 print_attr(const struct roff_node *n)
|
| /src/usr.sbin/makemandb/ |
| makemandb.c | 95 typedef void (*proff_nf)(const struct roff_node *n, mandb_rec *); 106 static void proff_node(const struct roff_node *, mandb_rec *, 108 static void pmdoc_Nm(const struct roff_node *, mandb_rec *); 109 static void pmdoc_Nd(const struct roff_node *, mandb_rec *); 110 static void pmdoc_Sh(const struct roff_node *, mandb_rec *); 111 static void mdoc_parse_Sh(const struct roff_node *, mandb_rec *); 112 static void pmdoc_Xr(const struct roff_node *, mandb_rec *); 113 static void pmdoc_Pp(const struct roff_node *, mandb_rec *); 114 static void pmdoc_macro_handler(const struct roff_node *, mandb_rec *, int); 115 static void pman_parse_node(const struct roff_node *, secbuff *) [all...] |