Home
last modified time | relevance | path

Searched refs:roff_man (Results 1 – 19 of 19) sorted by relevance

/freebsd-14-stable/contrib/mandoc/
HDroff_int.h32 struct roff_man { struct
66 struct roff_node *roff_node_alloc(struct roff_man *, int, int, argument
68 void roff_node_append(struct roff_man *, struct roff_node *);
69 void roff_word_alloc(struct roff_man *, int, int, const char *);
70 void roff_word_append(struct roff_man *, const char *);
71 void roff_elem_alloc(struct roff_man *, int, int, int);
72 struct roff_node *roff_block_alloc(struct roff_man *, int, int, int);
73 struct roff_node *roff_head_alloc(struct roff_man *, int, int, int);
74 struct roff_node *roff_body_alloc(struct roff_man *, int, int, int);
75 void roff_node_unlink(struct roff_man *, struct roff_node *);
[all …]
HDlibmdoc.h20 struct roff_man;
23 #define MACRO_PROT_ARGS struct roff_man *mdoc, \
69 void mdoc_elem_alloc(struct roff_man *, int, int,
71 struct roff_node *mdoc_block_alloc(struct roff_man *, int, int,
73 void mdoc_tail_alloc(struct roff_man *, int, int,
75 struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int,
77 void mdoc_state(struct roff_man *, struct roff_node *);
83 void mdoc_argv(struct roff_man *, int, enum roff_tok,
85 enum margserr mdoc_args(struct roff_man *, int,
HDlibmandoc.h52 struct roff_man;
60 int mdoc_parseln(struct roff_man *, int, char *, int);
61 void mdoc_endparse(struct roff_man *);
63 int man_parseln(struct roff_man *, int, char *, int);
64 void man_endparse(struct roff_man *);
73 void roff_man_free(struct roff_man *);
74 struct roff_man *roff_man_alloc(struct roff *, const char *, int);
75 void roff_man_reset(struct roff_man *);
HDlibman.h20 struct roff_man;
22 #define MACRO_PROT_ARGS struct roff_man *man, \
41 void man_descope(struct roff_man *, int, int, char *);
42 void man_unscope(struct roff_man *, const struct roff_node *);
HDmdoc.c53 static int mdoc_ptext(struct roff_man *, int, char *, int);
54 static int mdoc_pmacro(struct roff_man *, int, char *, int);
62 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) in mdoc_parseln()
85 mdoc_tail_alloc(struct roff_man *mdoc, int line, int pos, enum roff_tok tok) in mdoc_tail_alloc()
95 mdoc_endbody_alloc(struct roff_man *mdoc, int line, int pos, in mdoc_endbody_alloc()
112 mdoc_block_alloc(struct roff_man *mdoc, int line, int pos, in mdoc_block_alloc()
139 mdoc_elem_alloc(struct roff_man *mdoc, int line, int pos, in mdoc_elem_alloc()
165 mdoc_ptext(struct roff_man *mdoc, int line, char *buf, int offs) in mdoc_ptext()
307 mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) in mdoc_pmacro()
HDman.c39 static int man_ptext(struct roff_man *, int, char *, int);
40 static int man_pmacro(struct roff_man *, int, char *, int);
44 man_parseln(struct roff_man *man, int ln, char *buf, int offs) in man_parseln()
74 man_descope(struct roff_man *man, int line, int offs, char *start) in man_descope()
101 man_ptext(struct roff_man *man, int line, char *buf, int offs) in man_ptext()
177 man_pmacro(struct roff_man *man, int ln, char *buf, int offs) in man_pmacro()
278 man_breakscope(struct roff_man *man, int tok) in man_breakscope()
HDman.h19 struct roff_man;
21 void man_validate(struct roff_man *);
HDmdoc_argv.c56 static enum margserr args(struct roff_man *, int, int *,
59 static void argv_multi(struct roff_man *, int,
61 static void argv_single(struct roff_man *, int,
277 mdoc_argv(struct roff_man *mdoc, int line, enum roff_tok tok, in mdoc_argv()
415 mdoc_args(struct roff_man *mdoc, int line, int *pos, in mdoc_args()
444 args(struct roff_man *mdoc, int line, int *pos, in args()
642 argv_multi(struct roff_man *mdoc, int line, in argv_multi()
666 argv_single(struct roff_man *mdoc, int line, in argv_single()
HDmdoc_macro.c46 static void append_delims(struct roff_man *, int, int *, char *);
47 static void dword(struct roff_man *, int, int, const char *,
49 static int find_pending(struct roff_man *, enum roff_tok,
51 static int lookup(struct roff_man *, int, int, int, const char *);
55 static int parse_rest(struct roff_man *, enum roff_tok,
58 static void rew_elem(struct roff_man *, enum roff_tok);
59 static void rew_last(struct roff_man *, const struct roff_node *);
60 static void rew_pending(struct roff_man *,
220 mdoc_endparse(struct roff_man *mdoc) in mdoc_endparse()
245 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) in lookup()
[all …]
HDman_macro.c40 static int man_args(struct roff_man *, int,
42 static void rew_scope(struct roff_man *, enum roff_tok);
93 man_unscope(struct roff_man *man, const struct roff_node *to) in man_unscope()
160 rew_scope(struct roff_man *man, enum roff_tok tok) in rew_scope()
451 man_endparse(struct roff_man *man) in man_endparse()
457 man_args(struct roff_man *man, int line, int *pos, char *buf, char **v) in man_args()
HDmdoc.h20 struct roff_man;
158 void mdoc_validate(struct roff_man *);
HDtag.c46 static void tag_move_href(struct roff_man *,
263 tag_move_href(struct roff_man *man, struct roff_node *n, const char *tag) in tag_move_href()
297 tag_postprocess(struct roff_man *man, struct roff_node *n) in tag_postprocess()
HDroff_validate.c30 #define ROFF_VALID_ARGS struct roff_man *man, struct roff_node *n
57 roff_validate(struct roff_man *man) in roff_validate()
HDtag.h34 void tag_postprocess(struct roff_man *, struct roff_node *);
HDmdoc_state.c33 #define STATE_ARGS struct roff_man *mdoc, struct roff_node *n
167 mdoc_state(struct roff_man *mdoc, struct roff_node *n) in mdoc_state()
HDroff.c111 struct roff_man *man; /* mdoc or man parser */
184 static void roff_addtbl(struct roff_man *, int, struct tbl_node *);
227 static void roff_man_alloc1(struct roff_man *);
228 static void roff_man_free1(struct roff_man *);
818 roff_man_free1(struct roff_man *man) in roff_man_free1()
833 roff_state_reset(struct roff_man *man) in roff_state_reset()
844 roff_man_alloc1(struct roff_man *man) in roff_man_alloc1()
854 roff_man_reset(struct roff_man *man) in roff_man_reset()
861 roff_man_free(struct roff_man *man) in roff_man_free()
867 struct roff_man *
[all …]
HDmdoc_validate.c48 #define POST_ARGS struct roff_man *mdoc
58 static int build_list(struct roff_man *, int);
59 static void check_argv(struct roff_man *,
61 static void check_args(struct roff_man *, struct roff_node *);
62 static void check_text(struct roff_man *, int, int, char *);
63 static void check_text_em(struct roff_man *, int, int, char *);
64 static void check_toptext(struct roff_man *, int, int, const char *);
67 static void rewrite_macro2len(struct roff_man *, char **);
302 mdoc_validate(struct roff_man *mdoc) in mdoc_validate()
397 check_args(struct roff_man *mdoc, struct roff_node *n) in check_args()
[all …]
HDman_validate.c43 #define CHKARGS struct roff_man *man, struct roff_node *n
109 man_validate(struct roff_man *man) in man_validate()
HDread.c56 struct roff_man *man; /* man parser */