Home
last modified time | relevance | path

Searched refs:Xstring (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/bin/ksh/
H A Dpath.c53 char *xp = Xstring(*xsp, xp);
248 while (xp > Xstring(*xsp, xp)) {
263 llen = readlink(Xstring(*xsp, xp), lbuf, sizeof(lbuf) - 1);
273 xp = ISABSPATH(lbuf) ? Xstring(*xsp, xp)
H A Dc_ksh.c115 rval = chdir(try = Xstring(xs, xp) + phys_path);
119 simplify_path(Xstring(xs, xp));
120 rval = chdir(try = Xstring(xs, xp));
144 if (!ISABSPATH(Xstring(xs, xp))) {
148 if (!physical || !(pwd = get_phys_path(Xstring(xs, xp))))
150 pwd = Xstring(xs, xp);
160 pwd = Xstring(xs, xp);
371 histsave(source->line, Xstring(xs, xp), 1);
388 for (s = Xstring(xs, xp); len > 0; ) {
H A Dlex.c173 if (is_wdvarname(Xstring(ws, wp), false))
627 dp = Xstring(ws, wp);
989 char *xp = Xstring(s->xs, xp);
1068 s->start = s->str = Xstring(s->xs, xp);
1069 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp));
1077 char *p = Xstring(s->xs, xp);
1084 histappend(Xstring(s->xs, xp), 1);
H A Dc_sh.c329 for (cp = Xstring(cs, cp); ; ) {
403 if (!setstr(vp, Xstring(cs, cp), KSH_RETURN_ERROR)) {
413 histsave(source->line, Xstring(xs, xp), 1);
H A Dexpand.h48 #define Xstring(xs, xp) ((xs).beg) macro
H A Dexec.c1069 xp = Xstring(xs, xp);
1081 if (search_access(Xstring(xs, xp), mode, errnop) == 0)