Home
last modified time | relevance | path

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

/mirbsd/src/bin/mksh/
Dmisc.c1439 while (xp > Xstring(xs, xp)) in do_realpath()
1459 if (mksh_lstat(Xstring(xs, xp), &sb)) { in do_realpath()
1496 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath()
1517 xp = Xstring(xs, xp); in do_realpath()
1549 if (stat(Xstring(xs, xp), &sb)) { in do_realpath()
1605 char *xp = Xstring(*xsp, xp); in make_path()
1887 rv = chdir(tryp = Xstring(xs, xp) + phys_path); in c_cd()
1889 simplify_path(Xstring(xs, xp)); in c_cd()
1890 rv = chdir(tryp = Xstring(xs, xp)); in c_cd()
1921 if (Xstring(xs, xp)[0] != '/') { in c_cd()
[all …]
Deval.c805 if (dp == Xstring(ds, dp)) in expand()
1511 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit()
1516 if (mksh_lstat(Xstring(*xs, xp), &lstatb) < 0) in globit()
1523 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp) && in globit()
1534 xp > Xstring(*xs, xp) && xp[-1] != '/' && in globit()
1542 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
1547 if (xp > Xstring(*xs, xp)) in globit()
1587 dirp = opendir(prefix_len ? Xstring(*xs, xp) : "."); in globit()
1607 xp = Xstring(*xs, xp) + prefix_len; in globit()
1669 tilde(Xstring(ts, tp)) : NULL; in maybe_expand_tilde()
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()
1366 char *xp = Xstring(s->xs, xp), *cp; in getsc_line()
1441 cp = Xstring(s->xs, xp); in getsc_line()
1444 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp)); in getsc_line()
1456 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()
1991 xp = Xstring(xs, xp); in c_read()
2054 histsave(&source->line, Xstring(xs, xp), true, false); in c_read()
2086 xp = Xstring(xs, xp); in c_read()
2176 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
Dhistrap.c361 strip_nuls(Xstring(xs, xp), Xlength(xs, xp)); in c_fc()
362 return (hist_execute(Xstring(xs, xp))); in c_fc()
Dexec.c1238 xp = Xstring(xs, xp); in search_path()
1250 if ((ev = search_access(Xstring(xs, xp), mode)) == 0) { in search_path()
Dsh.h1442 #define Xstring(xs, xp) ((xs).beg) macro
Dedit.c775 xp = Xstring(xs, xp); in glob_path()
801 glob_str(Xstring(xs, xp), wp, true); in glob_path()