Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/mdocml/dist/
Dmandoc_parse.h35 struct mparse;
37 struct mparse *mparse_alloc(int, enum mandoc_os, const char *);
38 void mparse_copy(const struct mparse *);
39 void mparse_free(struct mparse *);
40 int mparse_open(struct mparse *, const char *);
41 void mparse_readfd(struct mparse *, int, const char *);
42 void mparse_reset(struct mparse *);
43 struct roff_meta *mparse_result(struct mparse *);
Dread.c47 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()
[all …]
Dmandocd.c51 static void process(struct mparse *, enum outt, void *);
120 struct mparse *parser; in main()
247 process(struct mparse *parser, enum outt outtype, void *formatter) in process()
Ddemandoc.c36 static void pmandoc(struct mparse *, int, const char *, int);
46 struct mparse *mp; in main()
111 pmandoc(struct mparse *mp, int fd, const char *fn, int list) in pmandoc()
Dmandocdb.c136 static void mpages_merge(struct dba *, struct mparse *);
318 struct mparse *mp; in mandocdb()
1116 mpages_merge(struct dba *dba, struct mparse *mp) in mpages_merge()
Dcgi.c851 struct mparse *mp; in resp_format()
Dmain.c80 struct mparse *mp;
DTODO525 - struct mparse refactoring
/netbsd/src/usr.sbin/makemandb/
Dmakemandb.c105 static void begin_parse(const char *, struct mparse *, mandb_rec *, int);
119 static void traversedir(const char *, const char *, sqlite3 *, struct mparse *);
124 static void update_db(sqlite3 *, struct mparse *, mandb_rec *);
301 struct mparse *mp; in main()
461 struct mparse *mp) in traversedir()
703 update_db(sqlite3 *db, struct mparse *mp, mandb_rec *rec) in update_db()
874 begin_parse(const char *file, struct mparse *mp, mandb_rec *rec, int fd) in begin_parse()