Lines Matching defs:ppos
148 int ppos, /* original pos in buffer */ \
1804 int ppos; /* original offset in buf->buf */
1807 ppos = pos = *offs;
1858 if (r->eqn != NULL && strncmp(buf->buf + ppos, ".EN", 3)) {
1859 eqn_read(r->eqn, buf->buf + ppos);
1863 tbl_read(r->tbl, ln, buf->buf, ppos);
1887 return (*roffs[t].sub)(r, t, buf, ln, ppos, pos, offs);
1892 t = roff_parse(r, buf->buf, &pos, ln, ppos);
1909 ln, ppos, "%s", buf->buf + ppos);
1942 return (*roffs[tok].proc)(r, tok, buf, ln, ppos, pos, offs);
1991 roff_parse(struct roff *r, char *buf, int *pos, int ln, int ppos)
2005 maclen = roff_getname(r, &cp, ln, ppos);
2041 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "..");
2057 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "..");
2071 roff_cond_checkend(r, tok, buf, ln, ppos, pos, &rr);
2105 roff_ccond(struct roff *r, int ln, int ppos)
2108 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "\\}");
2119 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "\\}");
2124 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "\\}");
2158 namesz = roff_getname(r, &cp, ln, ppos);
2179 ln, ppos, "%s", roff_name[tok]);
2183 roffnode_push(r, tok, name, ln, ppos);
2229 namesz = roff_getname(r, &cp, ln, ppos);
2283 if (roff_parse(r, buf->buf, &pos, ln, ppos) !=
2292 t = roff_parse(r, buf->buf, &pos, ln, ppos);
2294 return roff_cblock(r, t, buf, ln, ppos, pos, offs);
2299 roff_setstr(r, r->last->name, buf->buf + ppos, 2);
2384 irc = roff_cond_checkend(r, tok, buf, ln, ppos, pos, &rr);
2386 t = roff_parse(r, buf->buf, &pos, ln, ppos);
2421 irc = roff_cond_checkend(r, tok, buf, ln, ppos, pos, &rr);
2655 mandoc_msg(MANDOCERR_REQ_INSEC, ln, ppos, "%s", roff_name[tok]);
2663 mandoc_msg(MANDOCERR_REQ_UNSUPP, ln, ppos, "%s", roff_name[tok]);
2672 roffnode_push(r, tok, NULL, ln, ppos);
2738 ln, ppos, "%s", roff_name[tok]);
3238 ln, ppos, "%s", buf->buf + 1);
3293 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "TE");
3313 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "T&");
3315 tbl_restart(ln, ppos, r->tbl);
3393 n = roff_node_alloc(r->man, ln, ppos, ROFFT_EQN, TOKEN_NONE);
3422 mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "EN");
3433 mandoc_msg(MANDOCERR_BLK_BROKEN, ln, ppos, "TS breaks TS");
3437 r->tbl = tbl_alloc(ppos, ln, r->last_tbl);
3451 roff_elem_alloc(r->man, ln, ppos, tok);
3481 roff_elem_alloc(r->man, ln, ppos, tok);
3530 roff_elem_alloc(r->man, ln, ppos, tok);
3739 roff_elem_alloc(r->man, ln, ppos, tok);
3767 mandoc_msg(MANDOCERR_REQ_EMPTY, ln, ppos, "tr");
3823 mandoc_msg(MANDOCERR_REQ_NOMAC, ln, ppos, "return");
3892 mandoc_msg(MANDOCERR_REQ_NOMAC, ln, ppos, "shift");
3921 mandoc_msg(MANDOCERR_SO, ln, ppos, "so %s", name);
3931 mandoc_msg(MANDOCERR_SO_PATH, ln, ppos, ".so %s", name);
4402 roff_getcontrol(const struct roff *r, const char *cp, int *ppos)
4406 pos = *ppos;
4422 *ppos = pos;