Lines Matching defs:xs
1482 XString xs;
1485 Xinit(xs, xp, 256, ATEMP);
1486 globit(&xs, &xp, cp, wp, markdirs ? GF_MARKDIR : GF_NONE);
1487 Xfree(xs, xp);
1493 globit(XString *xs, /* dest string */
1519 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1))
1524 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0)
1531 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) &&
1542 xp > Xstring(*xs, xp) && xp[-1] != '/' &&
1550 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP);
1555 if (xp > Xstring(*xs, xp))
1558 Xcheck(*xs, xp);
1581 XcheckN(*xs, xp, se - sp + 1);
1582 debunk(xp, sp, Xnleft(*xs, xp));
1585 globit(xs, xpp, np, wp, check);
1592 /* xp = *xpp; copy_non_glob() may have re-alloc'd xs */
1594 prefix_len = Xlength(*xs, xp);
1595 dirp = opendir(prefix_len ? Xstring(*xs, xp) : ".");
1609 XcheckN(*xs, xp, len);
1612 globit(xs, xpp, np, wp,
1615 xp = Xstring(*xs, xp) + prefix_len;