Home
last modified time | relevance | path

Searched refs:APERM (Results 1 – 11 of 11) sorted by relevance

/external/mksh/src/
Dhistrap.c362 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 …]
Dmain.c161 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()
Dvar.c138 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()
Dos2.c512 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp()
546 afree(tp, APERM); in cleanup_temps()
Dexec.c114 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()
Dfuncs.c889 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()
Djobs.c1754 newj = alloc(sizeof(Job), APERM); in new_job()
1782 p = alloc(sizeof(Proc), APERM); in new_proc()
Dmisc.c1796 afree(current_wd, APERM); in set_current_wd()
1797 strdupx(current_wd, nwd, APERM); in set_current_wd()
Dsyn.c835 ktinit(APERM, &keywords, in initkeywords()
Deval.c1844 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
Dsh.h723 #define APERM &aperm macro