Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/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()
435 read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap) in read_whole_file()
538 mparse_end(struct mparse *curp) in mparse_end()
554 mparse_readfd(struct mparse *curp, int fd, const char *filename) in mparse_readfd()
[all …]
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()
869 process_onefile(struct mparse *mp, struct manpage *resp, int startdir, in process_onefile()
938 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()
1173 mpages_merge(struct dba *dba, struct mparse *mp) in mpages_merge()