Lines Matching defs: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);
77 man_descope(struct roff_man *man, int line, int offs, char *start)
98 roff_body_alloc(man, line, offs, man->last->tok);
103 man_ptext(struct roff_man *man, int line, char *buf, int offs)
111 roff_word_alloc(man, line, offs, buf + offs);
112 man_descope(man, line, offs, buf + offs);
116 for (i = offs; buf[i] == ' '; i++)
137 roff_elem_alloc(man, line, offs, ROFF_sp);
162 roff_word_alloc(man, line, offs, buf + offs);
174 man_descope(man, line, offs, buf + offs);
179 man_pmacro(struct roff_man *man, int ln, char *buf, int offs)
190 ppos = offs;
192 for (sz = 0; sz < 4 && strchr(" \t\\", buf[offs]) == NULL; sz++)
193 offs++;
203 switch (buf[offs]) {
205 cp = buf + offs + 1;
207 offs = cp - buf;
210 offs++;
218 while (buf[offs] == ' ')
219 offs++;
226 if (buf[offs] == '\0' && buf[offs - 1] == ' ')
227 mandoc_msg(MANDOCERR_SPACE_EOL, ln, offs - 1, NULL);
245 if (bline && man_hasc(buf + offs))
250 (*man_macro(tok)->fp)(man, tok, ln, ppos, &offs, buf);