Lines Matching refs:roff
109 struct roff { struct
140 #define ROFF_ARGS struct roff *r, /* parse ctx */ \ argument
171 static void roffnode_cleanscope(struct roff *);
172 static void roffnode_pop(struct roff *);
173 static void roffnode_push(struct roff *, enum rofft,
186 static void roff_free1(struct roff *);
189 static char *roff_getname(struct roff *, char **, int, int);
192 static int roff_getregn(const struct roff *,
194 static const char *roff_getstrn(const struct roff *,
199 static void roff_openeqn(struct roff *, const char *,
201 static enum rofft roff_parse(struct roff *, const char *, int *);
203 static enum rofferr roff_res(struct roff *,
206 static void roff_setstr(struct roff *,
369 roffnode_pop(struct roff *r) in roffnode_pop()
388 roffnode_push(struct roff *r, enum rofft tok, const char *name, in roffnode_push()
407 roff_free1(struct roff *r) in roff_free1()
448 roff_reset(struct roff *r) in roff_reset()
462 roff_free(struct roff *r) in roff_free()
470 struct roff *
473 struct roff *r; in roff_alloc()
476 r = mandoc_calloc(1, sizeof(struct roff)); in roff_alloc()
495 roff_res(struct roff *r, char **bufp, size_t *szp, int ln, int pos) in roff_res()
684 roff_parseln(struct roff *r, int ln, char **bufp, in roff_parseln()
760 roff_endparse(struct roff *r) in roff_endparse()
785 roff_parse(struct roff *r, const char *buf, int *pos) in roff_parse()
860 roffnode_cleanscope(struct roff *r) in roffnode_cleanscope()
1362 roff_setreg(struct roff *r, const char *name, int val, char sign) in roff_setreg()
1391 roff_getreg(const struct roff *r, const char *name) in roff_getreg()
1403 roff_getregn(const struct roff *r, const char *name, size_t len) in roff_getregn()
1548 roff_closeeqn(struct roff *r)
1556 roff_openeqn(struct roff *r, const char *name, int line, in roff_openeqn()
1781 roff_getname(struct roff *r, char **cpp, int ln, int pos) in roff_getname()
1820 roff_setstr(struct roff *r, const char *name, const char *string, in roff_setstr()
1901 roff_getstrn(const struct roff *r, const char *name, size_t len) in roff_getstrn()
1927 roff_span(const struct roff *r) in roff_span()
1934 roff_eqn(const struct roff *r) in roff_eqn()
1946 roff_strdup(const struct roff *r, const char *p) in roff_strdup()
2043 roff_getcontrol(const struct roff *r, const char *cp, int *ppos) in roff_getcontrol()