/netbsd/external/bsd/mdocml/dist/ |
H A D | mdoc_markdown.c | 32 int (*cond)(struct roff_node *n); 33 int (*pre)(struct roff_node *n); 302 md_node(struct roff_node *n) in md_node() 845 md_pre_An(struct roff_node *n) in md_pre_An() 867 md_pre_Ap(struct roff_node *n) in md_pre_Ap() 876 md_pre_Bd(struct roff_node *n) in md_pre_Bd() 888 md_pre_Bk(struct roff_node *n) in md_pre_Bk() 909 md_pre_Bl(struct roff_node *n) in md_pre_Bl() 1185 struct roff_node *bln; in md_pre_It() 1262 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. */ 65 struct roff_node *roff_node_alloc(struct roff_man *, int, int, 67 void roff_node_append(struct roff_man *, struct roff_node *); 72 struct roff_node *roff_head_alloc(struct roff_man *, int, int, int); 73 struct roff_node *roff_body_alloc(struct roff_man *, int, int, int); 74 void roff_node_unlink(struct roff_man *, struct roff_node *); 75 void roff_node_relink(struct roff_man *, struct roff_node *); 76 void roff_node_free(struct roff_node *); [all …]
|
H A D | roff.h | 496 struct roff_node { struct 497 struct roff_node *parent; /* Parent AST node. */ argument 498 struct roff_node *child; /* First child AST node. */ argument 499 struct roff_node *last; /* Last child AST node. */ argument 500 struct roff_node *next; /* Sibling AST node. */ argument 501 struct roff_node *prev; /* Prior sibling AST node. */ argument 502 struct roff_node *head; /* BLOCK */ argument 503 struct roff_node *body; /* BLOCK/ENDBODY */ argument 504 struct roff_node *tail; /* BLOCK */ argument 533 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 | mdoc_validate.c | 629 struct roff_node *n; in post_bl_norm() 799 struct roff_node *n; in post_bd() 873 struct roff_node *n; in post_an_norm() 899 struct roff_node *n; in post_eoln() 919 struct roff_node *n; in build_list() 946 struct roff_node *n; in post_ex() 983 struct roff_node *n; in post_lb() 1016 struct roff_node *n; in post_rv() 1055 struct roff_node *n; in post_std() 1095 struct roff_node *n; in post_obsolete() [all …]
|
H A D | mdoc_macro.c | 54 struct roff_node *); 61 const struct roff_node *); 221 struct roff_node *n; in mdoc_endparse() 374 struct roff_node *n; in rew_elem() 385 break_intermediate(struct roff_node *n, struct roff_node *breaker) in break_intermediate() 405 struct roff_node *target) in find_pending() 407 struct roff_node *n; in find_pending() 958 struct roff_node *n; in blk_full() 1252 struct roff_node *n; in blk_part_imp() 1501 struct roff_node *n; in in_line_eoln() [all …]
|
H A D | mdoc.c | 85 struct roff_node *p; in mdoc_tail_alloc() 92 struct roff_node * 94 enum roff_tok tok, struct roff_node *body) in mdoc_endbody_alloc() 96 struct roff_node *p; in mdoc_endbody_alloc() 109 struct roff_node * 113 struct roff_node *p; in mdoc_block_alloc() 140 struct roff_node *p; in mdoc_elem_alloc() 165 struct roff_node *n; in mdoc_ptext() 307 struct roff_node *n; in mdoc_pmacro()
|
H A D | html.h | 122 struct roff_node; 126 void roff_html_pre(struct html *, const struct roff_node *); 128 void print_gen_comment(struct html *, struct roff_node *); 143 char *html_make_id(const struct roff_node *, int);
|
H A D | mandocdb.c | 110 const struct roff_node *); 139 const struct roff_node *); 141 const struct roff_node *); 143 const struct roff_node *); 145 const struct roff_node *); 147 const struct roff_node *); 150 const struct roff_node *); 152 const struct roff_node *); 154 const struct roff_node *); 156 const struct roff_node *); [all …]
|
H A D | roff_validate.c | 28 #define ROFF_VALID_ARGS struct roff_man *man, struct roff_node *n 57 struct roff_node *n; in roff_validate() 68 struct roff_node *np; in roff_valid_br() 130 struct roff_node *np; in roff_valid_sp()
|
H A D | 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) in pmdoc() 249 pman(const struct roff_node *p, int *line, int *col, int list) in pman()
|
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() 160 struct roff_node *n; in rew_scope() 202 const struct roff_node *nn; in blk_close() 296 struct roff_node *head; in blk_exp() 341 struct roff_node *n; in blk_imp() 384 struct roff_node *n; in in_line_eoln()
|
H A D | man_html.c | 37 const struct roff_node *n, \ 49 static char list_continues(const struct roff_node *, 50 const struct roff_node *); 115 struct roff_node *n; in html_man() 345 const struct roff_node *nn; in man_alt_pre() 419 list_continues(const struct roff_node *n1, const struct roff_node *n2) in list_continues() 448 const struct roff_node *nn; in man_IP_pre()
|
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 | mdoc_state.c | 31 #define STATE_ARGS struct roff_man *mdoc, struct roff_node *n 164 mdoc_state(struct roff_man *mdoc, struct roff_node *n) in mdoc_state() 207 struct roff_node *nch; in state_sh()
|
H A D | mdoc.h | 19 struct roff_node; 151 struct roff_node *Es;
|
H A D | tree.c | 37 static void print_man(const struct roff_node *, int); 39 static void print_mdoc(const struct roff_node *, int); 81 print_mdoc(const struct roff_node *n, int indent) in print_mdoc() 222 print_man(const struct roff_node *n, int indent) in print_man()
|
H A D | roff_html.c | 29 #define ROFF_HTML_ARGS struct html *h, const struct roff_node *n 57 roff_html_pre(struct html *h, const struct roff_node *n) in roff_html_pre()
|
H A D | roff_term.c | 28 #define ROFF_TERM_ARGS struct termp *p, const struct roff_node *n 59 roff_term_pre(struct termp *p, const struct roff_node *n) in roff_term_pre() 81 const struct roff_node *nc1, *nc2; in roff_term_pre_ce()
|
H A D | term.h | 41 struct roff_node; 129 void roff_term_pre(struct termp *, const struct roff_node *);
|
H A D | man_validate.c | 40 #define CHKARGS struct roff_man *man, struct roff_node *n 106 struct roff_node *n; in man_validate() 249 struct roff_node *nc; in post_SH() 355 struct roff_node *nb; in post_TH() 496 struct roff_node *nn; in post_AT()
|
H A D | man_term.c | 48 struct roff_node *n, \ 65 const struct roff_node *, int); 149 struct roff_node *n; in terminal_man() 199 print_bvspace(struct termp *p, const struct roff_node *n, int pardist) in print_bvspace() 277 struct roff_node *nn; in pre_alternate() 403 const struct roff_node *nn; in pre_HP() 497 const struct roff_node *nn; in pre_IP() 570 struct roff_node *nn; in pre_TP() 814 const struct roff_node *nn; in pre_SY()
|
H A D | mdoc_term.c | 47 struct roff_node *n 57 const struct roff_node *, 58 const struct roff_node *); 64 const struct roff_node *); 256 struct roff_node *n; in terminal_mdoc() 579 const struct roff_node *bl, in print_bvspace() 580 const struct roff_node *n) in print_bvspace() 582 const struct roff_node *nn; in print_bvspace() 637 const struct roff_node *bl, *nn; in termp_it_pre() 1422 const struct roff_node *nn; in termp_fa_pre() [all …]
|
/netbsd/usr.sbin/makemandb/ |
H A D | makemandb.c | 935 pmdoc_Nm(const struct roff_node *n, mandb_rec *rec) in pmdoc_Nm() 954 pmdoc_Nd(const struct roff_node *n, mandb_rec *rec) in pmdoc_Nd() 973 const struct roff_node *sn; in pmdoc_macro_handler() 1028 pmdoc_Xr(const struct roff_node *n, mandb_rec *rec) in pmdoc_Xr() 1033 pmdoc_Pp(const struct roff_node *n, mandb_rec *rec) in pmdoc_Pp() 1042 pmdoc_Sh(const struct roff_node *n, mandb_rec *rec) in pmdoc_Sh() 1152 proff_node(const struct roff_node * n, mandb_rec * rec, in proff_node() 1212 pman_block(const struct roff_node *n, mandb_rec *rec) in pman_block() 1231 pman_sh(const struct roff_node *n, mandb_rec *rec) in pman_sh() 1253 const struct roff_node *head; in pman_sh() [all …]
|