Searched refs:Xstring (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/bin/ksh/ |
| H A D | path.c | 53 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 D | c_ksh.c | 115 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 D | lex.c | 173 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 D | c_sh.c | 329 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 D | expand.h | 48 #define Xstring(xs, xp) ((xs).beg) macro
|
| H A D | exec.c | 1069 xp = Xstring(xs, xp); 1081 if (search_access(Xstring(xs, xp), mode, errnop) == 0)
|