Lines Matching defs:pos
66 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key)
70 while (p[*pos] == ' ' || p[*pos] == '\t')
71 (*pos)++;
76 if (p[*pos] == '(') {
77 (*pos)++;
78 while (p[*pos + len] != ')')
85 ln, *pos, "%.*s", len, p + *pos);
91 tbl->opts.tab = p[*pos];
99 tbl->opts.decimal = p[*pos];
106 mandoc_msg(MANDOCERR_TBLOPT_NOARG, ln, *pos,
109 mandoc_msg(MANDOCERR_TBLOPT_ARGSZ, ln, *pos,
112 *pos += len;
113 if (p[*pos] == ')')
114 (*pos)++;
125 int i, pos, len;
127 pos = *offs;
129 while (p[pos] == ' ' || p[pos] == '\t' || p[pos] == ',')
130 pos++;
132 if (p[pos] == ';') {
133 *offs = pos + 1;
140 while (isalpha((unsigned char)p[pos + len]))
145 ln, pos, "%c", p[pos]);
146 pos++;
154 (strncasecmp(p + pos, keys[i].name, len) ||
160 ln, pos, "%.*s", len, p + pos);
161 pos += len;
167 pos += len;
171 arg(tbl, ln, p, &pos, i);