Lines Matching defs:offs
121 man_parseln(struct man *man, int ln, char *buf, int offs)
127 return (roff_getcontrol(man->roff, buf, &offs) ?
128 man_pmacro(man, ln, buf, offs) :
129 man_ptext(man, ln, buf, offs));
350 man_descope(struct man *man, int line, int offs)
366 man_body_alloc(man, line, offs, man->last->tok);
370 man_ptext(struct man *man, int line, char *buf, int offs)
377 man_word_alloc(man, line, offs, buf + offs);
378 man_descope(man, line, offs);
382 for (i = offs; buf[i] == ' '; i++)
394 man_elem_alloc(man, line, offs, MAN_sp);
421 man_word_alloc(man, line, offs, buf + offs);
433 man_descope(man, line, offs);
438 man_pmacro(struct man *man, int ln, char *buf, int offs)
447 ppos = offs;
455 while (i < 4 && strchr(" \t\\", buf[offs]) == NULL)
456 mac[i++] = buf[offs++];
470 switch (buf[offs]) {
472 cp = buf + offs + 1;
474 offs = cp - buf;
477 offs++;
485 while (buf[offs] && buf[offs] == ' ')
486 offs++;
493 if (buf[offs] == '\0' && buf[offs - 1] == ' ')
495 ln, offs - 1, NULL);
508 (*man_macros[tok].fp)(man, tok, ln, ppos, &offs, buf);