HomeSort by: relevance | last modified time | path
    Searched refs:Xstring (Results 1 - 8 of 8) sorted by relevancy

  /src/bin/ksh/
path.c 22 static char *do_phys_path ARGS((XString *, char *, const char *));
45 XString *xsp;
53 char *xp = Xstring(*xsp, xp);
210 XString xs;
229 XString *xsp;
248 while (xp > Xstring(*xsp, xp)) {
263 llen = readlink(Xstring(*xsp, xp), lbuf, sizeof(lbuf) - 1);
273 xp = ISABSPATH(lbuf) ? Xstring(*xsp, xp)
c_ksh.c 27 XString xs;
115 rval = chdir(try = Xstring(xs, xp) + phys_path);
119 simplify_path(Xstring(xs, xp));
120 rval = chdir(try = Xstring(xs, xp));
144 if (!ISABSPATH(Xstring(xs, xp))) {
148 if (!physical || !(pwd = get_phys_path(Xstring(xs, xp))))
150 pwd = Xstring(xs, xp);
160 pwd = Xstring(xs, xp);
232 XString xs;
371 histsave(source->line, Xstring(xs, xp), 1)
    [all...]
expand.h 10 typedef struct XString {
14 } XString;
48 #define Xstring(xs, xp) ((xs).beg)
56 char * Xcheck_grow_ ARGS((XString *xsp, char *xp, int more));
eval.c 54 static void globit ARGS((XString *xs, char **xpp, char *sp, XPtrV *wp,
56 static char *maybe_expand_tilde ARGS((char *p, XString *dsp, char **dpp,
169 XString ds; /* destination string */
479 if (dp == Xstring(ds, dp))
985 XString xs;
997 XString *xs; /* dest string */
1022 (stat_done = stat(Xstring(*xs, xp), &statb) < 0 \
1027 if (lstat(Xstring(*xs, xp), &lstatb) < 0)
1033 if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp)
1047 && xp > Xstring(*xs, xp) && !ISDIRSEP(xp[-1]
    [all...]
lex.c 65 static char *get_brace_var ARGS((XString *wsp, char *wp));
112 XString ws; /* expandable output word */
173 if (is_wdvarname(Xstring(ws, wp), false))
627 dp = Xstring(ws, wp);
787 XString xs;
989 char *xp = Xstring(s->xs, xp);
1068 s->start = s->str = Xstring(s->xs, xp);
1069 strip_nuls(Xstring(s->xs, xp), Xlength(s->xs, xp));
1077 char *p = Xstring(s->xs, xp);
1084 histappend(Xstring(s->xs, xp), 1)
    [all...]
c_sh.c 257 XString cs, xs;
329 for (cp = Xstring(cs, cp); ; ) {
403 if (!setstr(vp, Xstring(cs, cp), KSH_RETURN_ERROR)) {
413 histsave(source->line, Xstring(xs, xp), 1);
history.c 265 XString xs;
290 strip_nuls(Xstring(xs, xp), Xlength(xs, xp));
291 return hist_execute(Xstring(xs, xp));
353 XString xs;
exec.c 1052 XString xs;
1069 xp = Xstring(xs, xp);
1081 if (search_access(Xstring(xs, xp), mode, errnop) == 0)

Completed in 16 milliseconds