Searched refs:APERM (Results 1 – 11 of 11) sorted by relevance
/external/mksh/src/ |
D | histrap.c | 362 afree(*histptr, APERM); in hist_execute() 516 history = aresize2(history, n, sizeof(char *), APERM); in sethistsize() 547 afree(hname, APERM); in sethistfile() 568 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec() 613 afree(enqueued, APERM); in histsave() 626 afree(c, APERM); in histsave() 635 strndupx(c, cmd, ccp - cmd, APERM); in histsave() 645 afree(c, APERM); in histsave() 663 afree(c, APERM); in histsave() 669 enqueued = aresize(enqueued, nenq + 1 + ncmd + 1, APERM); in histsave() [all …]
|
D | main.c | 161 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup() 184 afree(cp, APERM); in rndsetup() 260 vtemp = alloc(offsetof(struct tbl, name[0]) + 12, APERM); in main_init() 304 ktinit(APERM, &builtins, in main_init() 343 ktinit(APERM, &taliases, 0); in main_init() 344 ktinit(APERM, &aliases, 0); in main_init() 346 ktinit(APERM, &homedirs, 0); in main_init() 362 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init() 602 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); in main_init() 1078 afreeall(APERM); in quitenv()
|
D | var.c | 138 ktinit(APERM, &specials, in initvar() 1314 afree(path, APERM); in setspec() 1316 strdupx(path, s, APERM); in setspec() 1326 afree(tmpdir, APERM); in setspec() 1339 strdupx(tmpdir, s, APERM); in setspec() 1443 afree(path, APERM); in unsetspec() 1444 strdupx(path, def_path, APERM); in unsetspec() 1456 afree(tmpdir, APERM); in unsetspec()
|
D | os2.c | 512 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp() 546 afree(tp, APERM); in cleanup_temps()
|
D | exec.c | 114 afree(cp, APERM); in execute() 1200 afree(tp->val.s, APERM); in findcom() 1224 strdupx(tp->val.s, npath.ro, APERM); in findcom() 1262 afree(tp->val.s, APERM); in flushcom() 1606 strdupx(*resbuf, ccp, APERM); in hereinval()
|
D | funcs.c | 889 afree(ap->val.s, APERM); in c_alias() 896 strdupx(ap->val.s, newval, APERM); in c_alias() 954 afree(ap->val.s, APERM); in c_unalias() 965 afree(ap->val.s, APERM); in c_unalias()
|
D | jobs.c | 1754 newj = alloc(sizeof(Job), APERM); in new_job() 1782 p = alloc(sizeof(Proc), APERM); in new_proc()
|
D | misc.c | 1796 afree(current_wd, APERM); in set_current_wd() 1797 strdupx(current_wd, nwd, APERM); in set_current_wd()
|
D | syn.c | 835 ktinit(APERM, &keywords, in initkeywords()
|
D | eval.c | 1844 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
|
D | sh.h | 723 #define APERM &aperm macro
|