Searched refs:Xstring (Results 1 – 9 of 9) sorted by relevance
/external/mksh/src/ |
D | misc.c | 1708 while (xp > Xstring(xs, xp)) in do_realpath() 1728 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath() 1765 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath() 1798 xp = Xstring(xs, xp); in do_realpath() 1838 if (stat(Xstring(xs, xp), &sb)) { in do_realpath() 1892 char *xp = Xstring(*xsp, xp); in make_path() 2214 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd() 2216 simplify_path(Xstring(xs, xp)); in c_cd() 2217 rv = chdir(tryp = Xstring(xs, xp)); in c_cd() 2248 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 | 175 sp = Xstring(retrace_info->xs, retrace_info->xp); \ 278 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex() 773 sp = Xstring(ws, wp); in yylex() 890 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()
|
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 | 1345 xp = Xstring(xs, xp); in search_path() 1353 if (xp > Xstring(xs, xp) && mksh_cdirsep(xp[-1])) in search_path() 1361 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 | 2009 xp = Xstring(xs, xp); in init_environ() 2026 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 | 2037 #define Xstring(xs, xp) ((xs).beg) macro
|