Lines Matching refs:mparse
47 struct mparse { struct
61 static void choose_parser(struct mparse *); argument
64 static int mparse_buf_r(struct mparse *, const struct buf, size_t, int);
65 static int read_whole_file(struct mparse *, int, struct buf *, int *);
66 static void mparse_end(struct mparse *);
91 choose_parser(struct mparse *curp) in choose_parser()
144 mparse_buf_r(struct mparse *curp, const struct buf blk, size_t i, int start) in mparse_buf_r()
423 read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap) in read_whole_file()
527 mparse_end(struct mparse *curp) in mparse_end()
543 mparse_readfd(struct mparse *curp, int fd, const char *filename) in mparse_readfd()
607 mparse_open(struct mparse *curp, const char *file) in mparse_open()
642 struct mparse *
645 struct mparse *curp; in mparse_alloc()
647 curp = mandoc_calloc(1, sizeof(struct mparse)); in mparse_alloc()
670 mparse_reset(struct mparse *curp) in mparse_reset()
680 mparse_free(struct mparse *curp) in mparse_free()
691 mparse_result(struct mparse *curp) in mparse_result()
704 mparse_copy(const struct mparse *p) in mparse_copy()