Home
last modified time | relevance | path

Searched refs:mparse (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/mandoc/
H A Dmandoc_parse.h36 struct mparse;
38 struct mparse *mparse_alloc(int, enum mandoc_os, const char *);
39 void mparse_copy(const struct mparse *);
40 void mparse_free(struct mparse *);
41 int mparse_open(struct mparse *, const char *);
42 void mparse_readfd(struct mparse *, int, const char *);
43 void mparse_reset(struct mparse *);
44 struct roff_meta *mparse_result(struct mparse *);
H A Dread.c54 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()
[all …]
H A Dmandocd.c55 static void process(struct mparse *, enum outt, void *);
124 struct mparse *parser; in main()
258 process(struct mparse *parser, enum outt outtype, void *formatter) in process()
H A Ddemandoc.c40 static void pmandoc(struct mparse *, int, const char *, int);
50 struct mparse *mp; in main()
122 pmandoc(struct mparse *mp, int fd, const char *fn, int list) in pmandoc()
H A Dmain.c108 static void parse(struct mparse *, int, const char *,
111 static void process_onefile(struct mparse *, struct manpage *,
132 struct mparse *mp; /* Opaque parser object. */ in main()
912 process_onefile(struct mparse *mp, struct manpage *resp, int startdir, in process_onefile()
981 parse(struct mparse *mp, int fd, const char *file, in parse()
H A Dmandocdb.c137 static void mpages_merge(struct dba *, struct mparse *);
323 struct mparse *mp; in mandocdb()
1176 mpages_merge(struct dba *dba, struct mparse *mp) in mpages_merge()
H A Dcgi.c903 struct mparse *mp; in resp_format()
H A DTODO754 - struct mparse refactoring