Searched refs:Xstring (Results 1 – 9 of 9) sorted by relevance
/third_party/mksh/ |
D | misc.c | 1766 while (xp > Xstring(xs, xp)) in do_realpath() 1786 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath() 1823 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath() 1856 xp = Xstring(xs, xp); in do_realpath() 1896 if (stat(Xstring(xs, xp), &sb)) { in do_realpath() 1950 char *xp = Xstring(*xsp, xp); in make_path() 2277 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd() 2279 simplify_path(Xstring(xs, xp)); in c_cd() 2280 rv = chdir(tryp = Xstring(xs, xp)); in c_cd() 2311 if (!mksh_abspath(Xstring(xs, xp))) { in c_cd() [all …]
|
D | eval.c | 715 else if (dp == Xstring(ds, dp)) in expand() 762 if (dp == Xstring(ds, dp)) in expand() 868 if (dp == Xstring(ds, dp) && word != IFS_WORD) in expand() 1772 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit() 1777 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit() 1784 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit() 1795 xp > Xstring(*xs, xp) && !mksh_cdirsep(xp[-1]) && in globit() 1803 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit() 1808 if (xp > Xstring(*xs, xp)) in globit() 1848 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() 793 sp = Xstring(ws, wp); in yylex() 910 dp = Xstring(ws, wp); in yylex() 1359 char *xp = Xstring(s->xs, xp), *cp; in getsc_line() 1437 cp = Xstring(s->xs, xp); in getsc_line() 1440 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line() 1457 cp = Xstring(s->xs, xp); in getsc_line()
|
D | funcs.c | 551 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_print() 567 s = Xstring(xs, xp); in c_print() 1876 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_read() 1909 xp = Xstring(xs, xp); in c_read() 2017 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
|
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 | edit.c | 806 xp = Xstring(xs, xp); in glob_path() 832 glob_str(Xstring(xs, xp), wp, true); in glob_path() 2469 x_bind_show_xp = Xstring(x_bind_show_xs, x_bind_show_xp); in x_bind_showone() 2492 x_bind_show_xp = Xstring(x_bind_show_xs, x_bind_show_xp); in x_bind_showone() 2503 x_bind_show_xp = Xstring(x_bind_show_xs, x_bind_show_xp); in x_bind_showone()
|
D | main.c | 2091 xp = Xstring(xs, xp); in init_environ() 2108 xp = Xstring(xs, xp); in init_environ()
|
D | exec.c | 1349 xp = Xstring(xs, xp); in search_path() 1363 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
|
D | sh.h | 2121 #define Xstring(xs,xp) ((xs).beg) macro
|