Lines Matching refs:mparse
54 struct mparse { struct
68 static void choose_parser(struct mparse *); argument
71 static int mparse_buf_r(struct mparse *, struct buf, size_t, int);
72 static int read_whole_file(struct mparse *, int, struct buf *, int *);
73 static void mparse_end(struct mparse *);
98 choose_parser(struct mparse *curp) in choose_parser()
151 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) in mparse_buf_r()
440 read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap) in read_whole_file()
543 mparse_end(struct mparse *curp) in mparse_end()
559 mparse_readfd(struct mparse *curp, int fd, const char *filename) in mparse_readfd()
629 mparse_open(struct mparse *curp, const char *file) in mparse_open()
664 struct mparse *
667 struct mparse *curp; in mparse_alloc()
669 curp = mandoc_calloc(1, sizeof(struct mparse)); in mparse_alloc()
693 mparse_reset(struct mparse *curp) in mparse_reset()
705 mparse_free(struct mparse *curp) in mparse_free()
717 mparse_result(struct mparse *curp) in mparse_result()
731 mparse_copy(const struct mparse *p) in mparse_copy()