Home
last modified time | relevance | path

Searched refs:mparse (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/cmd/mandoc/
H A Dlibmandoc.h37 struct mparse;
45 void mandoc_msg(enum mandocerr, struct mparse *,
50 void mandoc_vmsg(enum mandocerr, struct mparse *,
52 char *mandoc_getarg(struct mparse *, char **, int, int *);
53 char *mandoc_normdate(struct mparse *, char *, int, int);
59 struct mdoc *mdoc_alloc(struct roff *, struct mparse *,
68 struct man *man_alloc(struct roff *, struct mparse *,
81 struct roff *roff_alloc(struct mparse *, const struct mchars *, int);
H A Dmandoc.h413 struct mparse;
428 struct mparse *mparse_alloc(int, enum mandoclevel, mandocmsg,
430 void mparse_free(struct mparse *);
431 void mparse_keep(struct mparse *);
432 enum mandoclevel mparse_open(struct mparse *, int *, const char *);
433 enum mandoclevel mparse_readfd(struct mparse *, int, const char *);
434 enum mandoclevel mparse_readmem(struct mparse *, void *, size_t,
436 void mparse_reset(struct mparse *);
437 void mparse_result(struct mparse *,
439 const char *mparse_getkeep(const struct mparse *);
[all …]
H A Dread.c47 struct mparse { struct
69 static void choose_parser(struct mparse *); argument
71 static void mparse_buf_r(struct mparse *, struct buf, size_t, int);
72 static int read_whole_file(struct mparse *, const char *, int,
74 static void mparse_end(struct mparse *);
75 static void mparse_parse_buffer(struct mparse *, struct buf,
260 choose_parser(struct mparse *curp) in choose_parser()
321 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) in mparse_buf_r()
618 read_whole_file(struct mparse *curp, const char *file, int fd, in read_whole_file()
687 mparse_end(struct mparse *curp) in mparse_end()
[all …]
H A Dlibroff.h27 struct mparse *parse; /* parse point */
42 struct mparse *parse; /* main parser, for error reporting */
65 struct tbl_node *tbl_alloc(int, int, struct mparse *);
76 struct eqn_node *eqn_alloc(int, int, struct mparse *);
H A Dlibman.h25 struct mparse *parse; /* parse pointer */
H A Dman.h113 const struct mparse *man_mparse(const struct man *);
H A Dmandoc.c379 mandoc_getarg(struct mparse *parse, char **cpp, int ln, int *pos) in mandoc_getarg()
522 mandoc_normdate(struct mparse *parse, char *in, int ln, int pos) in mandoc_normdate()
H A Dlibmdoc.h25 struct mparse *parse; /* parse pointer */
H A Dtbl.c90 tbl_alloc(int pos, int line, struct mparse *parse) in tbl_alloc()
H A Dman.c96 man_alloc(struct roff *roff, struct mparse *parse, in man_alloc()
634 const struct mparse *
H A Dmdoc.c176 mdoc_alloc(struct roff *roff, struct mparse *parse, in mdoc_alloc()
H A Dmain.c76 struct mparse *mp;
H A Deqn.c331 eqn_alloc(int pos, int line, struct mparse *parse) in eqn_alloc()
H A Droff.c314 struct mparse *parse; /* parse point */
885 roff_alloc(struct mparse *parse, const struct mchars *mchars, int options) in roff_alloc()