Searched refs:APERM (Results 1 – 10 of 10) 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 | 118 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup() 141 afree(cp, APERM); in rndsetup() 215 vtemp = alloc(offsetof(struct tbl, name[0]) + 12, APERM); in main_init() 259 ktinit(APERM, &builtins, in main_init() 298 ktinit(APERM, &taliases, 0); in main_init() 299 ktinit(APERM, &aliases, 0); in main_init() 301 ktinit(APERM, &homedirs, 0); in main_init() 317 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init() 554 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); in main_init() 1018 afreeall(APERM); in quitenv()
|
D | var.c | 135 ktinit(APERM, &specials, in initvar() 1301 afree(path, APERM); in setspec() 1303 strdupx(path, s, APERM); in setspec() 1313 afree(tmpdir, APERM); in setspec() 1326 strdupx(tmpdir, s, APERM); in setspec() 1430 afree(path, APERM); in unsetspec() 1431 strdupx(path, def_path, APERM); in unsetspec() 1443 afree(tmpdir, APERM); in unsetspec()
|
D | exec.c | 114 afree(cp, APERM); in execute() 1158 afree(tp->val.s, APERM); in findcom() 1182 strdupx(tp->val.s, npath.ro, APERM); in findcom() 1220 afree(tp->val.s, APERM); in flushcom() 1548 strdupx(*resbuf, ccp, APERM); in hereinval()
|
D | funcs.c | 1258 afree(ap->val.s, APERM); in c_alias() 1265 strdupx(ap->val.s, newval, APERM); in c_alias() 1323 afree(ap->val.s, APERM); in c_unalias() 1334 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 | 1804 afree(current_wd, APERM); in set_current_wd() 1805 strdupx(current_wd, nwd, APERM); in set_current_wd()
|
D | syn.c | 831 ktinit(APERM, &keywords, in initkeywords()
|
D | eval.c | 1799 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
|
D | sh.h | 716 #define APERM &aperm macro
|