/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 *); 307 md_node(struct roff_node *n) in md_node() 798 struct roff_node *nn; in md_post_pc() 825 struct roff_node *np; in md_pre_syn() 1070 struct roff_node *nn; in md_post_Fa() 1094 struct roff_node *nn; in md_post_Fl() 1204 struct roff_node *bln; in md_pre_It() 1281 struct roff_node *bln; in md_post_It() [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 *); 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 *); 77 void roff_node_free(struct roff_node *); [all …]
|
H A D | roff.h | 497 struct roff_node { struct 498 struct roff_node *parent; /* Parent AST node. */ argument 501 struct roff_node *next; /* 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 556 void deroff(char **, const struct roff_node *); 557 struct roff_node *roff_node_child(struct roff_node *); 558 struct roff_node *roff_node_next(struct roff_node *); 559 struct roff_node *roff_node_prev(struct roff_node *); [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 | 640 struct roff_node *n; in post_bl_norm() 810 struct roff_node *n; in post_bd() 884 struct roff_node *n; in post_an_norm() 910 struct roff_node *n; in post_eoln() 930 struct roff_node *n; in build_list() 957 struct roff_node *n; in post_ex() 994 struct roff_node *n; in post_lb() 1027 struct roff_node *n; in post_rv() 1066 struct roff_node *n; in post_std() 1225 struct roff_node *n; in post_obsolete() [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 | mdoc_macro.c | 54 struct roff_node *); 61 const struct roff_node *); 222 struct roff_node *n; in mdoc_endparse() 375 struct roff_node *n; in rew_elem() 386 break_intermediate(struct roff_node *n, struct roff_node *breaker) in break_intermediate() 406 struct roff_node *target) in find_pending() 408 struct roff_node *n; in find_pending() 959 struct roff_node *n; in blk_full() 1253 struct roff_node *n; in blk_part_imp() 1502 struct roff_node *n; in in_line_eoln() [all …]
|
H A D | libmandoc.h | 53 struct roff_node; 55 char *mandoc_normdate(struct roff_node *, struct roff_node *);
|
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 | 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 *); 151 const struct roff_node *); 153 const struct roff_node *); 155 const struct roff_node *); 157 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 | 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_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 | 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 | 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_term.c | 50 struct roff_node *n 60 struct roff_node *, 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() 1037 struct roff_node *nn; in termp_fl_pre() 1054 struct roff_node *nn; in termp__a_pre() 1181 struct roff_node *np; in synopsis_pre() 1264 struct roff_node *np; in termp_sh_pre() 1398 const struct roff_node *nn; in termp_fa_pre() [all …]
|
H A D | mdoc_man.c | 116 static void pre_syn(struct roff_node *); 125 const struct roff_node *); 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() 1292 struct roff_node *nn; in post_fl() 1435 const struct roff_node *bln; in pre_it() [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()
|