Home
last modified time | relevance | path

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

/external/mksh/src/
Dmisc.c1459 while (xp > Xstring(xs, xp)) in do_realpath()
1479 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath()
1516 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath()
1537 xp = Xstring(xs, xp); in do_realpath()
1569 if (stat(Xstring(xs, xp), &sb)) { in do_realpath()
1623 char *xp = Xstring(*xsp, xp); in make_path()
1908 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd()
1910 simplify_path(Xstring(xs, xp)); in c_cd()
1911 rv = chdir(tryp = Xstring(xs, xp)); in c_cd()
1942 if (!mksh_abspath(Xstring(xs, xp))) { in c_cd()
[all …]
Deval.c672 else if (dp == Xstring(ds, dp)) in expand()
719 if (dp == Xstring(ds, dp)) in expand()
814 if (dp == Xstring(ds, dp) && word != IFS_WORD) in expand()
1611 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit()
1616 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit()
1623 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit()
1634 xp > Xstring(*xs, xp) && !mksh_cdirsep(xp[-1]) && in globit()
1642 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
1647 if (xp > Xstring(*xs, xp)) in globit()
1687 dirp = opendir(prefix_len ? Xstring(*xs, xp) : Tdot); in globit()
[all …]
Dlex.c175 sp = Xstring(retrace_info->xs, retrace_info->xp); \
274 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex()
777 sp = Xstring(ws, wp); in yylex()
894 dp = Xstring(ws, wp); in yylex()
1339 char *xp = Xstring(s->xs, xp), *cp; in getsc_line()
1417 cp = Xstring(s->xs, xp); in getsc_line()
1420 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line()
1437 cp = Xstring(s->xs, xp); in getsc_line()
Dfuncs.c549 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_print()
565 s = Xstring(xs, xp); in c_print()
1860 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_read()
1893 xp = Xstring(xs, xp); in c_read()
2001 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
Dexec.c1338 xp = Xstring(xs, xp); in search_path()
1346 if (xp > Xstring(xs, xp) && mksh_cdirsep(xp[-1])) in search_path()
1354 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
Dhistrap.c348 strip_nuls(Xstring(xs, xp), Xlength(xs, xp)); in c_fc()
349 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
Dedit.c800 xp = Xstring(xs, xp); in glob_path()
826 glob_str(Xstring(xs, xp), wp, true); in glob_path()
Dsh.h1827 #define Xstring(xs, xp) ((xs).beg) macro