Home
last modified time | relevance | path

Searched refs:man_node (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/mandoc/
H A Dman.h82 struct man_node { struct
83 struct man_node *parent; /* parent AST node */ argument
84 struct man_node *child; /* first child AST node */ argument
85 struct man_node *next; /* sibling AST node */ argument
86 struct man_node *prev; /* prior sibling AST node */ argument
97 struct man_node *head; /* BLOCK node HEAD ptr */ argument
98 struct man_node *tail; /* BLOCK node TAIL ptr */ argument
99 struct man_node *body; /* BLOCK node BODY ptr */ argument
111 const struct man_node *man_node(const struct man *); argument
H A Dman.c49 static struct man_node *man_node_alloc(struct man *, int, int,
52 struct man_node *);
53 static void man_node_free(struct man_node *);
55 struct man_node *);
63 const struct man_node *
64 man_node(const struct man *man) in man_node() function
166 man->last = mandoc_calloc(1, sizeof(struct man_node)); in man_alloc1()
175 man_node_append(struct man *man, struct man_node *p) in man_node_append()
237 static struct man_node *
241 struct man_node *p; in man_node_alloc()
[all …]
H A Dman_macro.c49 const struct man_node *);
51 const struct man_node *);
53 struct man_node *, enum mandocerr);
103 rew_warn(struct man *man, struct man_node *n, enum mandocerr er) in rew_warn()
123 man_unscope(struct man *man, const struct man_node *to, in man_unscope()
126 struct man_node *n; in man_unscope()
157 rew_block(enum mant ntok, enum man_type type, const struct man_node *n) in rew_block()
173 rew_dohalt(enum mant tok, enum man_type type, const struct man_node *n) in rew_dohalt()
249 struct man_node *n; in rew_scope()
284 const struct man_node *nn; in blk_close()
[all …]
H A Dlibman.h36 struct man_node *last; /* the last parsed node */
37 struct man_node *first; /* the first parsed node */
74 void man_node_delete(struct man *, struct man_node *);
79 int man_valid_pre(struct man *, struct man_node *);
81 const struct man_node *, enum mandocerr);
H A Dman_html.c42 const struct man_node *n, \
57 const struct man_node *);
62 static int a2width(const struct man_node *,
133 print_bvspace(struct html *h, const struct man_node *n) in print_bvspace()
153 print_man(man_meta(man), man_node(man), &mh, (struct html *)arg); in html_man()
292 a2width(const struct man_node *n, struct roffsu *su) in a2width()
435 const struct man_node *nn; in man_alt_pre()
535 const struct man_node *nn; in man_IP_pre()
570 const struct man_node *np; in man_HP_pre()
H A Dtree.c34 static void print_man(const struct man_node *, int);
53 print_man(man_node(man), 0); in tree_man()
181 print_man(const struct man_node *n, int indent) in print_man()
H A Dman_term.c50 const struct man_node *n, \
68 const struct man_node *, int);
144 const struct man_node *n; in terminal_man()
160 n = man_node(man); in terminal_man()
211 print_bvspace(struct termp *p, const struct man_node *n, int pardist) in print_bvspace()
296 const struct man_node *nn; in pre_alternate()
525 const struct man_node *nn; in pre_HP()
607 const struct man_node *nn; in pre_IP()
697 const struct man_node *nn; in pre_TP()
H A Dman_validate.c38 #define CHKARGS struct man *man, struct man_node *n
130 man_valid_pre(struct man *man, struct man_node *n) in man_valid_pre()
540 struct man_node *nn; in post_AT()
/titanic_41/usr/src/cmd/man/
H A Dman.c146 struct man_node { struct
151 struct man_node *next; argument
171 static struct man_node *build_manpath(char **, int);
172 static void do_makewhatis(struct man_node *);
175 static int dupcheck(struct man_node *, struct dupnode **);
178 static void free_manp(struct man_node *manp);
180 static void fullpaths(struct man_node **);
181 static void get_all_sect(struct man_node *);
183 static void getpath(struct man_node *, char **);
184 static void getsect(struct man_node *, char **);
[all …]