Home
last modified time | relevance | path

Searched refs:roff_node (Results 1 – 25 of 33) sorted by relevance

12

/netbsd/external/bsd/mdocml/dist/
H A Dmdoc_markdown.c32 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 Droff_int.h22 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 Droff.h496 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 Dlibmdoc.h19 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 Dmdoc_validate.c629 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 Dmdoc_macro.c54 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 Dmdoc.c85 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 Dhtml.h122 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 Dmandocdb.c110 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 Droff_validate.c28 #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 Ddemandoc.c35 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 Dman_macro.c93 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 Dman_html.c37 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 Dlibman.h19 struct roff_node;
42 void man_unscope(struct roff_man *, const struct roff_node *);
H A Deqn_parse.h22 struct roff_node;
27 struct roff_node *node; /* Syntax tree of this equation. */
H A Dmdoc_state.c31 #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 Dmdoc.h19 struct roff_node;
151 struct roff_node *Es;
H A Dtree.c37 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 Droff_html.c29 #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 Droff_term.c28 #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 Dterm.h41 struct roff_node;
129 void roff_term_pre(struct termp *, const struct roff_node *);
H A Dman_validate.c40 #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 Dman_term.c48 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 Dmdoc_term.c47 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 Dmakemandb.c935 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 …]

12