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++)
138 roff_elem_alloc(man, line, offs, ROFF_sp);
163 roff_word_alloc(man, line, offs, buf + offs);
175 man_descope(man, line, offs, buf + offs);
180 man_pmacro(struct roff_man *man, int ln, char *buf, int offs)
191 ppos = offs;
193 for (sz = 0; sz < 4 && strchr(" \t\\", buf[offs]) == NULL; sz++)
194 offs++;
204 switch (buf[offs]) {
206 cp = buf + offs + 1;
208 offs = cp - buf;
211 offs++;
219 while (buf[offs] == ' ')
220 offs++;
227 if (buf[offs] == '\0' && buf[offs - 1] == ' ')
228 mandoc_msg(MANDOCERR_SPACE_EOL, ln, offs - 1, NULL);
246 if (bline && man_hasc(buf + offs))
251 (*man_macro(tok)->fp)(man, tok, ln, ppos, &offs, buf);