Lines Matching defs:pos
564 x_locate_word(const char *buf, int buflen, int pos, int *startp,
570 if (pos < 0 || pos > buflen) {
571 *startp = pos;
575 /* The case where pos == buflen happens to take care of itself... */
577 start = pos;
618 x_cf_glob(int *flagsp, const char *buf, int buflen, int pos, int *startp,
625 len = x_locate_word(buf, buflen, pos, startp, &is_command);
1212 int c, pos = 0;
1216 buf[pos++] = c = x_e_getc();
1229 buf[pos++] = c;
1234 buf[pos++] = c = x_e_getc();
1239 return (pos);
1346 static int left, pos, save_arg;
1360 str[pos++] = c;
1362 str[pos] = '\0';
1372 str[pos] = '\0';
1387 pos = 1;