Searched refs:mparse (Results 1 – 14 of 14) sorted by relevance
/titanic_50/usr/src/cmd/mandoc/ |
H A D | libmandoc.h | 37 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 D | mandoc.h | 413 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 D | read.c | 47 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 D | libroff.h | 27 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 D | libman.h | 25 struct mparse *parse; /* parse pointer */
|
H A D | man.h | 113 const struct mparse *man_mparse(const struct man *);
|
H A D | mandoc.c | 379 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 D | libmdoc.h | 25 struct mparse *parse; /* parse pointer */
|
H A D | tbl.c | 90 tbl_alloc(int pos, int line, struct mparse *parse) in tbl_alloc()
|
H A D | man.c | 96 man_alloc(struct roff *roff, struct mparse *parse, in man_alloc() 634 const struct mparse *
|
H A D | mdoc.c | 176 mdoc_alloc(struct roff *roff, struct mparse *parse, in mdoc_alloc()
|
H A D | main.c | 76 struct mparse *mp;
|
H A D | eqn.c | 331 eqn_alloc(int pos, int line, struct mparse *parse) in eqn_alloc()
|
H A D | roff.c | 314 struct mparse *parse; /* parse point */ 885 roff_alloc(struct mparse *parse, const struct mchars *mchars, int options) in roff_alloc()
|