Home
last modified time | relevance | path

Searched refs:mdoc_node (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/mandoc/
H A Dmdoc.h345 struct mdoc_node { struct
346 struct mdoc_node *parent; /* parent AST node */ argument
347 struct mdoc_node *child; /* first child AST node */ argument
348 struct mdoc_node *last; /* last child AST node */ argument
349 struct mdoc_node *next; /* sibling AST node */ argument
350 struct mdoc_node *prev; /* prior sibling AST node */ argument
370 struct mdoc_node *pending; /* BLOCK */ argument
371 struct mdoc_node *head; /* BLOCK */ argument
372 struct mdoc_node *body; /* BLOCK */ argument
373 struct mdoc_node *tail; /* BLOCK */ argument
[all …]
H A Dmdoc.c91 static void mdoc_node_free(struct mdoc_node *);
93 struct mdoc_node *);
96 static struct mdoc_node *node_alloc(struct mdoc *, int, int,
99 struct mdoc_node *);
106 const struct mdoc_node *
107 mdoc_node(const struct mdoc *mdoc) in mdoc_node() function
160 mdoc->last = mandoc_calloc(1, sizeof(struct mdoc_node)); in mdoc_alloc1()
234 struct mdoc_node *n; in mdoc_addeqn()
258 struct mdoc_node *n; in mdoc_addspan()
345 node_append(struct mdoc *mdoc, struct mdoc_node *p) in node_append()
[all …]
H A Dlibmdoc.h41 struct mdoc_node *last; /* the last node parsed */
42 struct mdoc_node *first; /* the first node parsed */
122 struct mdoc_node *, enum mdoc_endbody);
123 void mdoc_node_delete(struct mdoc *, struct mdoc_node *);
124 int mdoc_node_relink(struct mdoc *, struct mdoc_node *);
132 int mdoc_valid_pre(struct mdoc *, struct mdoc_node *);
H A Dmdoc_macro.c60 static int make_pending(struct mdoc_node *, enum mdoct,
65 const struct mdoc_node *);
68 const struct mdoc_node *);
227 struct mdoc_node *n; in mdoc_macroend()
275 rew_last(struct mdoc *mdoc, const struct mdoc_node *to) in rew_last()
277 struct mdoc_node *n, *np; in rew_last()
362 const struct mdoc_node *p) in rew_dohalt()
463 struct mdoc_node *n; in rew_elem()
482 make_pending(struct mdoc_node *broken, enum mdoct tok, in make_pending()
485 struct mdoc_node *breaker; in make_pending()
[all …]
H A Dmdoc_validate.c43 #define PRE_ARGS struct mdoc *mdoc, struct mdoc_node *n
73 struct mdoc_node *, struct mdoc_argv *);
74 static void check_args(struct mdoc *, struct mdoc_node *);
75 static int concat(char *, const struct mdoc_node *, size_t);
354 mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n) in mdoc_valid_pre()
519 check_args(struct mdoc *mdoc, struct mdoc_node *n) in check_args()
532 check_argv(struct mdoc *mdoc, struct mdoc_node *n, struct mdoc_argv *v) in check_argv()
577 struct mdoc_node *node; in pre_display()
600 struct mdoc_node *np; in pre_bl()
786 struct mdoc_node *np; in pre_bd()
[all …]
H A Dmdoc_man.c32 const struct mdoc_node *n
101 static void pre_syn(const struct mdoc_node *);
110 const struct mdoc_node *, size_t);
462 print_width(const char *v, const struct mdoc_node *child, size_t defsz) in print_width()
539 const struct mdoc_node *n; in man_mdoc()
542 n = mdoc_node(mdoc); in man_mdoc()
564 const struct mdoc_node *sub; in print_node()
745 pre_syn(const struct mdoc_node *n) in pre_syn()
1219 const struct mdoc_node *bln; in pre_it()
1313 const struct mdoc_node *bln; in post_it()
[all …]
H A Dtree.c35 static void print_mdoc(const struct mdoc_node *, int);
44 print_mdoc(mdoc_node(mdoc), 0); in tree_mdoc()
58 print_mdoc(const struct mdoc_node *n, int indent) in print_mdoc()
H A Dmdoc_term.c46 struct mdoc_node *n
58 const struct mdoc_node *,
59 const struct mdoc_node *);
65 const struct mdoc_node *);
253 const struct mdoc_node *n; in terminal_mdoc()
269 n = mdoc_node(mdoc); in terminal_mdoc()
569 const struct mdoc_node *bl, in print_bvspace()
570 const struct mdoc_node *n) in print_bvspace()
572 const struct mdoc_node *nn; in print_bvspace()
620 const struct mdoc_node *bl, *nn; in termp_it_pre()
[all …]
H A Dmdoc_html.c39 const struct mdoc_node *n, \
56 const struct mdoc_node *);
266 print_mdoc(mdoc_meta(mdoc), mdoc_node(mdoc), in html_mdoc()
292 synopsis_pre(struct html *h, const struct mdoc_node *n) in synopsis_pre()
866 const struct mdoc_node *bl; in mdoc_it_pre()
1180 const struct mdoc_node *nn; in mdoc_bd_pre()
1358 const struct mdoc_node *nn; in mdoc_fa_pre()
H A Dmdoc_argv.c421 struct mdoc_node *n; in mdoc_args()