Lines Matching defs:mparse
47 struct mparse {
69 static void choose_parser(struct mparse *);
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)
321 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start)
618 read_whole_file(struct mparse *curp, const char *file, int fd,
687 mparse_end(struct mparse *curp)
711 mparse_parse_buffer(struct mparse *curp, struct buf blk, const char *file)
751 mparse_readmem(struct mparse *curp, void *buf, size_t len,
768 mparse_readfd(struct mparse *curp, int fd, const char *file)
796 mparse_open(struct mparse *curp, int *fd, const char *file)
860 mparse_wait(struct mparse *curp)
885 struct mparse *
889 struct mparse *curp;
891 curp = mandoc_calloc(1, sizeof(struct mparse));
913 mparse_reset(struct mparse *curp)
934 mparse_free(struct mparse *curp)
952 mparse_result(struct mparse *curp,
968 mandoc_vmsg(enum mandocerr t, struct mparse *m,
982 mandoc_msg(enum mandocerr er, struct mparse *m,
1015 mparse_keep(struct mparse *p)
1023 mparse_getkeep(const struct mparse *p)