| /illumos-gate/usr/src/cmd/mandoc/ |
| H A D | 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 …]
|
| H A D | 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 …]
|
| H A D | roff.h | 497 struct roff_node { struct 498 struct roff_node *parent; /* Parent AST node. */ argument 499 struct roff_node *child; /* First child AST node. */ argument 500 struct roff_node *last; /* Last child AST node. */ argument 501 struct roff_node *next; /* Sibling AST node. */ argument 502 struct roff_node *prev; /* Prior sibling AST node. */ argument 503 struct roff_node *head; /* BLOCK */ argument 504 struct roff_node *body; /* BLOCK/ENDBODY */ argument 505 struct roff_node *tail; /* BLOCK */ argument 537 struct roff_node *first; /* The first node parsed. */ argument [all …]
|
| H A D | 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 *);
|
| H A D | 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);
|
| H A D | tag.c | 39 struct roff_node **nodes; 47 struct roff_node *, const char *); 48 static void tag_move_id(struct roff_node *); 86 tag_put(const char *s, int prio, struct roff_node *n) in tag_put() 89 struct roff_node *nold; in tag_put() 201 tag_move_id(struct roff_node *n) in tag_move_id() 203 struct roff_node *np; in tag_move_id() 263 tag_move_href(struct roff_man *man, struct roff_node *n, const char *tag) in tag_move_href() 297 tag_postprocess(struct roff_man *man, struct roff_node *n) in tag_postprocess()
|
| H A D | 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; in mdoc_validate() 397 check_args(struct roff_man *mdoc, struct roff_node *n) in check_args() 410 check_argv(struct roff_man *mdoc, struct roff_node *n, struct mdoc_argv *v) in check_argv() 433 const struct roff_node *np, *nn; in check_text_em() 520 const struct roff_node *nch; in post_delim() 547 const struct roff_node *nch; in post_delim_nb() 640 struct roff_node *n; in post_bl_norm() [all …]
|
| H A D | 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; in mdoc_endparse() 268 rew_last(struct roff_man *mdoc, const struct roff_node *to) in rew_last() 288 rew_pending(struct roff_man *mdoc, const struct roff_node *n) in rew_pending() 375 struct roff_node *n; in rew_elem() 386 break_intermediate(struct roff_node *n, struct roff_node *breaker) in break_intermediate() [all …]
|
| H A D | mdoc.c | 87 struct roff_node *p; in mdoc_tail_alloc() 94 struct roff_node * 96 enum roff_tok tok, struct roff_node *body) in mdoc_endbody_alloc() 98 struct roff_node *p; in mdoc_endbody_alloc() 111 struct roff_node * 115 struct roff_node *p; in mdoc_block_alloc() 142 struct roff_node *p; in mdoc_elem_alloc() 167 struct roff_node *n; in mdoc_ptext() 309 struct roff_node *n; in mdoc_pmacro()
|
| H A D | roff_validate.c | 30 #define ROFF_VALID_ARGS struct roff_man *man, struct roff_node *n 59 struct roff_node *n; in roff_validate() 70 struct roff_node *np; in roff_valid_br() 132 struct roff_node *np; in roff_valid_sp()
|
| H A D | libmandoc.h | 53 struct roff_node; 55 char *mandoc_normdate(struct roff_node *, struct roff_node *);
|
| H A D | mandocdb.c | 111 const struct roff_node *); 140 const struct roff_node *); 142 const struct roff_node *); 144 const struct roff_node *); 146 const struct roff_node *); 148 const struct roff_node *); 149 static void parse_mdoc_fname(struct mpage *, const struct roff_node *); 151 const struct roff_node *); 153 const struct roff_node *); 155 const struct roff_node *); [all …]
|
| H A D | 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; in man_validate() 215 check_tag(struct roff_node *n, struct roff_node *nt) in check_tag() 315 struct roff_node *nc; in post_SH() 450 struct roff_node *nt; in post_TP() 477 struct roff_node *nb; in post_TH() 617 struct roff_node *nn; in post_AT()
|
| H A D | man_macro.c | 93 man_unscope(struct roff_man *man, const struct roff_node *to) in man_unscope() 95 struct roff_node *n; in man_unscope() 162 struct roff_node *n; in rew_scope() 204 const struct roff_node *nn; in blk_close() 298 struct roff_node *head; in blk_exp() 343 struct roff_node *n; in blk_imp() 386 struct roff_node *n; in in_line_eoln()
|
| H A D | tag.h | 33 void tag_put(const char *, int, struct roff_node *); 34 void tag_postprocess(struct roff_man *, struct roff_node *);
|
| H A D | libman.h | 19 struct roff_node; 42 void man_unscope(struct roff_man *, const struct roff_node *);
|
| H A D | eqn_parse.h | 22 struct roff_node; 27 struct roff_node *node; /* Syntax tree of this equation. */
|
| H A D | man_html.c | 39 struct roff_node *n, \ 51 static char list_continues(const struct roff_node *, 52 const struct roff_node *); 117 struct roff_node *n; in html_man() 341 const struct roff_node *nn; in man_alt_pre() 415 list_continues(const struct roff_node *n1, const struct roff_node *n2) in list_continues() 444 struct roff_node *nn; in man_IP_pre()
|
| H A D | 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) in print_mdoc() 207 print_man(const struct roff_node *n, int indent) in print_man() 290 print_attr(const struct roff_node *n) in print_attr()
|
| H A D | 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) in mdoc_state() 210 struct roff_node *nch; in state_sh()
|
| H A D | mdoc.h | 19 struct roff_node; 151 struct roff_node *Es;
|
| H A D | mdoc_term.c | 50 struct roff_node *n 60 struct roff_node *, struct roff_node *); 65 static void synopsis_pre(struct termp *, struct roff_node *); 251 struct roff_node *n, *nn; in terminal_mdoc() 581 print_bvspace(struct termp *p, struct roff_node *bl, struct roff_node *n) in print_bvspace() 583 struct roff_node *nn; in print_bvspace() 627 const struct roff_node *bl, *nn; in termp_it_pre() 1037 struct roff_node *nn; in termp_fl_pre() 1054 struct roff_node *nn; in termp__a_pre() 1179 synopsis_pre(struct termp *p, struct roff_node *n) in synopsis_pre() [all …]
|
| H A D | 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) in roff_html_pre()
|
| H A D | mdoc_man.c | 34 #define DECL_ARGS const struct roff_meta *meta, struct roff_node *n 116 static void pre_syn(struct roff_node *); 125 const struct roff_node *); 542 print_width(const struct mdoc_bl *bl, const struct roff_node *child) in print_width() 611 struct roff_node *n; in man_mdoc() 643 struct roff_node *sub; in print_node() 794 struct roff_node *np, *nn, *nnn; in post_percent() 875 pre_syn(struct roff_node *n) in pre_syn() 877 struct roff_node *np; in pre_syn() 1258 struct roff_node *nn; in post_fa() [all …]
|
| H A D | roff_term.c | 30 #define ROFF_TERM_ARGS struct termp *p, const struct roff_node *n 61 roff_term_pre(struct termp *p, const struct roff_node *n) in roff_term_pre() 83 const struct roff_node *nc1, *nc2; in roff_term_pre_ce()
|