Lines Matching refs:offs
44 man_parseln(struct roff_man *man, int ln, char *buf, int offs)
50 return roff_getcontrol(man->roff, buf, &offs) ?
51 man_pmacro(man, ln, buf, offs) :
52 man_ptext(man, ln, buf, offs);
74 man_descope(struct roff_man *man, int line, int offs, char *start)
96 roff_body_alloc(man, line, offs, man->last->tok);
101 man_ptext(struct roff_man *man, int line, char *buf, int offs)
109 roff_word_alloc(man, line, offs, buf + offs);
110 man_descope(man, line, offs, buf + offs);
114 for (i = offs; buf[i] == ' '; i++)
135 roff_elem_alloc(man, line, offs, ROFF_sp);
160 roff_word_alloc(man, line, offs, buf + offs);
172 man_descope(man, line, offs, buf + offs);
177 man_pmacro(struct roff_man *man, int ln, char *buf, int offs)
188 ppos = offs;
190 for (sz = 0; sz < 4 && strchr(" \t\\", buf[offs]) == NULL; sz++)
191 offs++;
201 switch (buf[offs]) {
203 cp = buf + offs + 1;
205 offs = cp - buf;
208 offs++;
216 while (buf[offs] == ' ')
217 offs++;
224 if (buf[offs] == '\0' && buf[offs - 1] == ' ')
225 mandoc_msg(MANDOCERR_SPACE_EOL, ln, offs - 1, NULL);
243 if (bline && man_hasc(buf + offs))
248 (*man_macro(tok)->fp)(man, tok, ln, ppos, &offs, buf);