Lines Matching refs:mparse
52 struct mparse {
70 static void choose_parser(struct mparse *);
72 static void mparse_buf_r(struct mparse *, struct buf, size_t, int);
73 static int read_whole_file(struct mparse *, const char *, int,
75 static void mparse_end(struct mparse *);
76 static void mparse_parse_buffer(struct mparse *, struct buf,
261 choose_parser(struct mparse *curp)
320 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start)
609 read_whole_file(struct mparse *curp, const char *file, int fd,
684 mparse_end(struct mparse *curp)
700 mparse_parse_buffer(struct mparse *curp, struct buf blk, const char *file)
740 mparse_readmem(struct mparse *curp, void *buf, size_t len,
757 mparse_readfd(struct mparse *curp, int fd, const char *file)
780 mparse_open(struct mparse *curp, const char *file)
815 struct mparse *
819 struct mparse *curp;
821 curp = mandoc_calloc(1, sizeof(struct mparse));
843 mparse_reset(struct mparse *curp)
860 mparse_free(struct mparse *curp)
875 mparse_result(struct mparse *curp, struct roff_man **man,
888 mandoc_vmsg(enum mandocerr t, struct mparse *m,
902 mandoc_msg(enum mandocerr er, struct mparse *m,
935 mparse_keep(struct mparse *p)
943 mparse_getkeep(const struct mparse *p)