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() 261 vtemp = alloc(offsetof(struct tbl, name[0]) + 12, APERM); in main_init() 305 ktinit(APERM, &builtins, in main_init() 342 ktinit(APERM, &taliases, 0); in main_init() 343 ktinit(APERM, &aliases, 0); in main_init() 345 ktinit(APERM, &homedirs, 0); in main_init() 361 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init() 594 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); in main_init() 1069 afreeall(APERM); in quitenv()
|
D | os2.c | 481 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp() 515 afree(tp, APERM); in cleanup_temps()
|
D | var.c | 138 ktinit(APERM, &specials, in initvar() 1336 afree(path, APERM); in setspec() 1338 strdupx(path, s, APERM); in setspec() 1348 afree(tmpdir, APERM); in setspec() 1361 strdupx(tmpdir, s, APERM); in setspec() 1471 afree(path, APERM); in unsetspec() 1472 strdupx(path, def_path, APERM); in unsetspec() 1484 afree(tmpdir, APERM); in unsetspec()
|
D | exec.c | 115 afree(cp, APERM); in execute() 1215 afree(tp->val.s, APERM); in findcom() 1239 strdupx(tp->val.s, npath.ro, APERM); in findcom() 1277 afree(tp->val.s, APERM); in flushcom() 1623 strdupx(*resbuf, ccp, APERM); in hereinval()
|
D | funcs.c | 894 afree(ap->val.s, APERM); in c_alias() 901 strdupx(ap->val.s, newval, APERM); in c_alias() 959 afree(ap->val.s, APERM); in c_unalias() 970 afree(ap->val.s, APERM); in c_unalias()
|
D | jobs.c | 1782 newj = alloc(sizeof(Job), APERM); in new_job() 1810 p = alloc(sizeof(Proc), APERM); in new_proc()
|
D | misc.c | 2097 afree(current_wd, APERM); in set_current_wd() 2098 strdupx(current_wd, nwd, APERM); in set_current_wd()
|
D | syn.c | 839 ktinit(APERM, &keywords, in initkeywords()
|
D | eval.c | 1854 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
|
D | sh.h | 777 #define APERM &aperm macro
|