Searched refs:Xstring (Results 1 – 9 of 9) sorted by relevance
/external/mksh/src/ |
D | misc.c | 1715 while (xp > Xstring(xs, xp)) in do_realpath() 1735 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath() 1772 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath() 1805 xp = Xstring(xs, xp); in do_realpath() 1845 if (stat(Xstring(xs, xp), &sb)) { in do_realpath() 1899 char *xp = Xstring(*xsp, xp); in make_path() 2221 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd() 2223 simplify_path(Xstring(xs, xp)); in c_cd() 2224 rv = chdir(tryp = Xstring(xs, xp)); in c_cd() 2255 if (!mksh_abspath(Xstring(xs, xp))) { in c_cd() [all …]
|
D | eval.c | 678 else if (dp == Xstring(ds, dp)) in expand() 725 if (dp == Xstring(ds, dp)) in expand() 820 if (dp == Xstring(ds, dp) && word != IFS_WORD) in expand() 1622 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit() 1627 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit() 1634 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit() 1645 xp > Xstring(*xs, xp) && !mksh_cdirsep(xp[-1]) && in globit() 1653 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit() 1658 if (xp > Xstring(*xs, xp)) in globit() 1698 dirp = opendir(prefix_len ? Xstring(*xs, xp) : Tdot); in globit() [all …]
|
D | lex.c | 182 sp = Xstring(retrace_info->xs, retrace_info->xp); \ 286 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex() 794 sp = Xstring(ws, wp); in yylex() 911 dp = Xstring(ws, wp); in yylex() 1360 char *xp = Xstring(s->xs, xp), *cp; in getsc_line() 1438 cp = Xstring(s->xs, xp); in getsc_line() 1441 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line() 1458 cp = Xstring(s->xs, xp); in getsc_line()
|
D | funcs.c | 549 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_print() 565 s = Xstring(xs, xp); in c_print() 1864 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_read() 1897 xp = Xstring(xs, xp); in c_read() 2005 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
|
D | exec.c | 1353 xp = Xstring(xs, xp); in search_path() 1361 if (xp > Xstring(xs, xp) && mksh_cdirsep(xp[-1])) in search_path() 1369 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
|
D | histrap.c | 348 strip_nuls(Xstring(xs, xp), Xlength(xs, xp)); in c_fc() 349 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
|
D | main.c | 2010 xp = Xstring(xs, xp); in init_environ() 2027 xp = Xstring(xs, xp); in init_environ()
|
D | edit.c | 801 xp = Xstring(xs, xp); in glob_path() 827 glob_str(Xstring(xs, xp), wp, true); in glob_path()
|
D | sh.h | 2042 #define Xstring(xs, xp) ((xs).beg) macro
|