Lines Matching refs:allocd
1768 char *allocd = NULL; in set_current_wd() local
1771 allocd = ksh_get_wd(); in set_current_wd()
1772 nwd = allocd ? allocd : null; in set_current_wd()
1778 afree(allocd, ATEMP); in set_current_wd()
1792 char *dir, *allocd = NULL, *tryp, *pwd, *cdpath; in c_cd() local
1826 strdupx(allocd, wp[0], ATEMP); in c_cd()
1827 if (ksh_isdash((dir = allocd))) { in c_cd()
1828 afree(allocd, ATEMP); in c_cd()
1829 allocd = NULL; in c_cd()
1866 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd()
1899 afree(allocd, ATEMP); in c_cd()
1907 afree(allocd, ATEMP); in c_cd()
1908 allocd = NULL; in c_cd()
1925 } else if ((pwd = allocd = do_realpath(Xstring(xs, xp))) == NULL) { in c_cd()
1949 afree(allocd, ATEMP); in c_cd()