Searched refs:allocd (Results 1 – 2 of 2) sorted by relevance
/external/mksh/src/ |
D | misc.c | 2090 char *allocd = NULL; in set_current_wd() local 2093 allocd = ksh_get_wd(); in set_current_wd() 2094 nwd = allocd ? allocd : null; in set_current_wd() 2100 afree(allocd, ATEMP); in set_current_wd() 2114 char *dir, *allocd = NULL, *tryp, *pwd, *cdpath; in c_cd() local 2148 strdupx(allocd, wp[0], ATEMP); in c_cd() 2149 if (ksh_isdash((dir = allocd))) { in c_cd() 2150 afree(allocd, ATEMP); in c_cd() 2151 allocd = NULL; in c_cd() 2188 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd() [all …]
|
D | funcs.c | 251 char *p, *allocd = NULL; in c_pwd() local 270 p = current_wd[0] ? (physical ? allocd = do_realpath(current_wd) : in c_pwd() 275 if (!p && !(p = allocd = ksh_get_wd())) { in c_pwd() 281 afree(allocd, ATEMP); in c_pwd() 1605 char *cp, *allocd = NULL, *xp; in c_read() local 1690 strdupx(allocd, *wp, ATEMP); in c_read() 1691 allocd[ccp - *wp] = '\0'; in c_read() 1692 *wp = allocd; in c_read() 2020 afree(allocd, ATEMP); in c_read()
|