Home
last modified time | relevance | path

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

/external/mksh/src/
Dmisc.c1442 while (xp > Xstring(xs, xp)) in do_realpath()
1462 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath()
1499 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath()
1520 xp = Xstring(xs, xp); in do_realpath()
1552 if (stat(Xstring(xs, xp), &sb)) { in do_realpath()
1608 char *xp = Xstring(*xsp, xp); in make_path()
1890 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd()
1892 simplify_path(Xstring(xs, xp)); in c_cd()
1893 rv = chdir(tryp = Xstring(xs, xp)); in c_cd()
1924 if (Xstring(xs, xp)[0] != '/') { in c_cd()
[all …]
Deval.c682 else if (dp == Xstring(ds, dp)) in expand()
729 if (dp == Xstring(ds, dp)) in expand()
825 if (dp == Xstring(ds, dp) && word != IFS_WORD) in expand()
1549 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit()
1554 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit()
1561 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit()
1572 xp > Xstring(*xs, xp) && xp[-1] != '/' && in globit()
1580 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
1585 if (xp > Xstring(*xs, xp)) in globit()
1625 dirp = opendir(prefix_len ? Xstring(*xs, xp) : "."); in globit()
[all …]
Dlex.c176 sp = Xstring(retrace_info->xs, retrace_info->xp); \
288 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex()
792 sp = Xstring(ws, wp); in yylex()
908 dp = Xstring(ws, wp); in yylex()
1379 char *xp = Xstring(s->xs, xp), *cp; in getsc_line()
1454 cp = Xstring(s->xs, xp); in getsc_line()
1457 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line()
1469 cp = Xstring(s->xs, xp); in getsc_line()
Dfuncs.c445 histsave(&source->line, Xstring(xs, xp), true, false); in c_print()
461 for (s = Xstring(xs, xp); len > 0; ) { in c_print()
2006 xp = Xstring(xs, xp); in c_read()
2069 histsave(&source->line, Xstring(xs, xp), true, false); in c_read()
2101 xp = Xstring(xs, xp); in c_read()
2198 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
Dhistrap.c362 strip_nuls(Xstring(xs, xp), Xlength(xs, xp)); in c_fc()
363 return (hist_execute(Xstring(xs, xp))); in c_fc()
Dexec.c1262 xp = Xstring(xs, xp); in search_path()
1274 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
Dsh.h1449 #define Xstring(xs, xp) ((xs).beg) macro
Dedit.c773 xp = Xstring(xs, xp); in glob_path()
799 glob_str(Xstring(xs, xp), wp, true); in glob_path()