Home
last modified time | relevance | path

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

12

/freebsd/contrib/mandoc/
H A Dmdoc_markdown.c36 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 Droff_int.h22 struct roff_node;
39 struct roff_node *last; /* The last node parsed. */
40 struct roff_node *last_es; /* The most recent Es node. */
67 struct roff_node *roff_node_alloc(struct roff_man *, int, int,
69 void roff_node_append(struct roff_man *, struct roff_node *);
73 struct roff_node *roff_block_alloc(struct roff_man *, int, int, int);
74 struct roff_node *roff_head_alloc(struct roff_man *, int, int, int);
75 struct roff_node *roff_body_alloc(struct roff_man *, int, int, int);
76 void roff_node_unlink(struct roff_man *, struct roff_node *);
77 void roff_node_relink(struct roff_man *, struct roff_node *);
[all …]
H A Droff.h498 struct roff_node { struct
499 struct roff_node *parent; /* Parent AST node. */ argument
500 struct roff_node *child; /* First child AST node. */ argument
501 struct roff_node *last; /* Last child AST node. */ argument
502 struct roff_node *next; /* Sibling AST node. */ argument
503 struct roff_node *prev; /* Prior sibling AST node. */ argument
504 struct roff_node *head; /* BLOCK */ argument
505 struct roff_node *body; /* BLOCK/ENDBODY */ argument
506 struct roff_node *tail; /* BLOCK */ argument
538 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 Dhtml.h119 struct roff_node;
123 void roff_html_pre(struct html *, const struct roff_node *);
125 void print_gen_comment(struct html *, struct roff_node *);
130 struct roff_node *);
134 struct roff_node *);
143 char *html_make_id(const struct roff_node *, int);
H A Dtag.c42 struct roff_node **nodes;
50 struct roff_node *, const char *);
51 static void tag_move_id(struct roff_node *);
89 tag_put(const char *s, int prio, struct roff_node *n) in tag_put()
92 struct roff_node *nold; in tag_put()
247 tag_move_id(struct roff_node *n) in tag_move_id()
249 struct roff_node *np; in tag_move_id()
309 tag_move_href(struct roff_man *man, struct roff_node *n, const char *tag) in tag_move_href()
343 tag_postprocess(struct roff_man *man, struct roff_node *n) in tag_postprocess()
H A Dmdoc_validate.c60 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 Dmdoc.c87 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 Dmdoc_macro.c53 int, int, struct roff_node *);
56 static void break_intermediate(struct roff_node *,
57 struct roff_node *);
62 static void rew_last(struct roff_man *, const struct roff_node *);
64 const struct roff_node *);
225 struct roff_node *n; in mdoc_endparse()
271 rew_last(struct roff_man *mdoc, const struct roff_node *to) in rew_last()
291 rew_pending(struct roff_man *mdoc, const struct roff_node *n) in rew_pending()
378 struct roff_node *n; in rew_elem()
389 break_intermediate(struct roff_node *n, struct roff_node *breaker) in break_intermediate()
[all …]
H A Dmdoc_state.c36 #define STATE_ARGS struct roff_man *mdoc, struct roff_node *n
40 static void setsec(struct roff_node *, enum roff_sec);
171 mdoc_state(struct roff_man *mdoc, struct roff_node *n) in mdoc_state()
212 setsec(struct roff_node *n, enum roff_sec sec) in setsec()
214 struct roff_node *nch; in setsec()
H A Droff_validate.c30 #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 Dlibmandoc.h53 struct roff_node;
55 char *mandoc_normdate(struct roff_node *, struct roff_node *);
H A Dman_validate.c44 #define CHKARGS struct roff_man *man, struct roff_node *n
51 static void check_tag(struct roff_node *, struct roff_node *);
113 struct roff_node *n; in man_validate()
197 check_tag(struct roff_node *n, struct roff_node *nt) in check_tag()
297 struct roff_node *nc; in post_SH()
432 struct roff_node *nt; in post_TP()
459 struct roff_node *nb; in post_TH()
555 struct roff_node *nch; in post_MR()
625 struct roff_node *nn; in post_AT()
H A Dmandocdb.c111 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 Ddemandoc.c39 static void pman(const struct roff_node *, int *, int *, int);
41 static void pmdoc(const struct roff_node *, int *, int *, int);
246 pmdoc(const struct roff_node *p, int *line, int *col, int list) in pmdoc()
260 pman(const struct roff_node *p, int *line, int *col, int list) in pman()
H A Dtag.h33 void tag_put(const char *, int, struct roff_node *);
34 void tag_postprocess(struct roff_man *, struct roff_node *);
H A Dlibman.h19 struct roff_node;
42 void man_unscope(struct roff_man *, const struct roff_node *);
H A Dman_macro.c97 man_unscope(struct roff_man *man, const struct roff_node *to) in man_unscope()
99 struct roff_node *n; in man_unscope()
167 struct roff_node *n; in rew_scope()
209 const struct roff_node *nn; in blk_close()
303 struct roff_node *head; in blk_exp()
348 struct roff_node *n; in blk_imp()
391 struct roff_node *n; in in_line_eoln()
H A Deqn_parse.h22 struct roff_node;
27 struct roff_node *node; /* Syntax tree of this equation. */
H A Dman_html.c39 struct roff_node *n, \
51 static char list_continues(const struct roff_node *,
52 const struct roff_node *);
118 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()
450 struct roff_node *nn; in man_IP_pre()
H A Dtree.c39 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 Dmdoc.h19 struct roff_node;
151 struct roff_node *Es;
H A Droff_html.c31 #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 Dmdoc_term.c50 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()
579 print_bvspace(struct termp *p, struct roff_node *bl, struct roff_node *n) in print_bvspace()
581 struct roff_node *nn; in print_bvspace()
625 const struct roff_node *bl, *nn; in termp_it_pre()
1036 struct roff_node *nn; in termp_fl_pre()
1053 struct roff_node *nn; in termp__a_pre()
1178 synopsis_pre(struct termp *p, struct roff_node *n) in synopsis_pre()
[all …]
H A Dmdoc_man.c34 #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 …]

12