Lines Matching refs:mparse
54 struct mparse {
68 static void choose_parser(struct mparse *);
71 static int mparse_buf_r(struct mparse *, const 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)
151 mparse_buf_r(struct mparse *curp, const struct buf blk, size_t i, int start)
435 read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap)
538 mparse_end(struct mparse *curp)
554 mparse_readfd(struct mparse *curp, int fd, const char *filename)
624 mparse_open(struct mparse *curp, const char *file)
659 struct mparse *
662 struct mparse *curp;
664 curp = mandoc_calloc(1, sizeof(struct mparse));
688 mparse_reset(struct mparse *curp)
700 mparse_free(struct mparse *curp)
712 mparse_result(struct mparse *curp)
726 mparse_copy(const struct mparse *p)