Searched refs:Xstring (Results 1 – 8 of 8) sorted by relevance
/external/mksh/src/ |
D | misc.c | 1452 while (xp > Xstring(xs, xp)) in do_realpath() 1472 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath() 1509 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath() 1530 xp = Xstring(xs, xp); in do_realpath() 1562 if (stat(Xstring(xs, xp), &sb)) { in do_realpath() 1616 char *xp = Xstring(*xsp, xp); in make_path() 1898 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd() 1900 simplify_path(Xstring(xs, xp)); in c_cd() 1901 rv = chdir(tryp = Xstring(xs, xp)); in c_cd() 1932 if (!mksh_abspath(Xstring(xs, xp))) { in c_cd() [all …]
|
D | eval.c | 640 else if (dp == Xstring(ds, dp)) in expand() 687 if (dp == Xstring(ds, dp)) in expand() 781 if (dp == Xstring(ds, dp) && word != IFS_WORD) in expand() 1519 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit() 1524 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit() 1531 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit() 1542 xp > Xstring(*xs, xp) && xp[-1] != '/' && in globit() 1550 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit() 1555 if (xp > Xstring(*xs, xp)) in globit() 1595 dirp = opendir(prefix_len ? Xstring(*xs, xp) : "."); in globit() [all …]
|
D | lex.c | 175 sp = Xstring(retrace_info->xs, retrace_info->xp); \ 274 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex() 788 sp = Xstring(ws, wp); in yylex() 905 dp = Xstring(ws, wp); in yylex() 1349 char *xp = Xstring(s->xs, xp), *cp; in getsc_line() 1424 cp = Xstring(s->xs, xp); in getsc_line() 1427 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line() 1444 cp = Xstring(s->xs, xp); in getsc_line()
|
D | funcs.c | 456 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_print() 474 s = Xstring(xs, xp); in c_print() 2112 histsave(&source->line, Xstring(xs, xp), HIST_STORE, false); in c_read() 2145 xp = Xstring(xs, xp); in c_read() 2253 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
|
D | histrap.c | 365 strip_nuls(Xstring(xs, xp), Xlength(xs, xp)); in c_fc() 366 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
|
D | exec.c | 1306 xp = Xstring(xs, xp); in search_path() 1318 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
|
D | sh.h | 1504 #define Xstring(xs, xp) ((xs).beg) macro
|
D | edit.c | 773 xp = Xstring(xs, xp); in glob_path() 799 glob_str(Xstring(xs, xp), wp, true); in glob_path()
|