Lines Matching defs:pos

62 		int ln, const char *p, int *pos)
67 while (p[*pos] == ' ' || p[*pos] == '\t')
68 (*pos)++;
72 if (strchr(".,-=^_ACLNRSaclnrs", p[*pos]) != NULL)
77 if ('(' == p[*pos]) {
78 (*pos)++;
79 while (p[*pos] && ')' != p[*pos])
80 (*pos)++;
81 if (')' == p[*pos]) {
82 (*pos)++;
86 ln, *pos, NULL);
92 if (isdigit((unsigned char)p[*pos])) {
93 cp->spacing = strtoull(p + *pos, &endptr, 10);
94 *pos = endptr - p;
98 switch (tolower((unsigned char)p[(*pos)++])) {
115 ln, *pos, "m");
120 if (p[*pos] == '-' || p[*pos] == '+')
121 (*pos)++;
122 while (isdigit((unsigned char)p[*pos]))
123 (*pos)++;
144 tbl->parse, ln, *pos - 1, NULL);
148 ln, *pos - 1, "%c", p[*pos - 1]);
154 if (p[*pos] == '(')
159 if (p[*pos] == '\0' || (p[*pos + 1] != ' ' && p[*pos + 1] != '.')) {
161 ln, *pos, "TS %s", p + *pos - 1);
162 if (p[*pos] != '\0')
163 (*pos)++;
164 if (p[*pos] != '\0')
165 (*pos)++;
169 switch (p[(*pos)++]) {
186 ln, *pos - 1, "TS f%c", p[*pos - 1]);
193 int ln, const char *p, int *pos)
200 while (p[*pos] == ' ' || p[*pos] == '\t' || p[*pos] == '|') {
201 if (p[*pos] == '|') {
206 tbl->parse, ln, *pos, NULL);
208 (*pos)++;
212 while (p[*pos] == ' ' || p[*pos] == '\t')
213 (*pos)++;
215 if (p[*pos] == '.' || p[*pos] == '\0')
221 if (tolower((unsigned char)p[*pos]) == keys[i].name)
226 ln, *pos, "%c", p[*pos]);
227 (*pos)++;
237 tbl->parse, ln, *pos, NULL);
238 else if (rp->last->pos == TBL_CELL_HORIZ ||
239 rp->last->pos == TBL_CELL_DHORIZ)
240 c = rp->last->pos;
243 tbl->parse, ln, *pos, NULL);
245 (*pos)++;
249 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos);
253 tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos)
261 while (p[pos] == ' ' || p[pos] == '\t')
262 pos++;
264 switch (p[pos]) {
266 pos++;
272 pos++;
286 tbl->parse, ln, pos, NULL);
335 cell(tbl, rp, ln, p, &pos);
340 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos)
345 p->pos = pos;