Searched refs:APERM (Results 1 – 11 of 11) sorted by relevance
/third_party/mksh/ |
D | histrap.c | 362 afree(*histptr, APERM); in hist_execute() 519 history = aresize2(history, n, sizeof(char *), APERM); in sethistsize() 550 afree(hname, APERM); in sethistfile() 571 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec() 616 afree(enqueued, APERM); in histsave() 629 afree(c, APERM); in histsave() 638 strndupx(c, cmd, ccp - cmd, APERM); in histsave() 648 afree(c, APERM); in histsave() 666 afree(c, APERM); in histsave() 672 enqueued = aresize(enqueued, nenq + 1 + ncmd + 1, APERM); in histsave() [all …]
|
D | main.c | 166 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup() 189 afree(cp, APERM); in rndsetup() 273 vtemp = alloc(offsetof(struct tbl, name[0]) + 12, APERM); in main_init() 318 ktinit(APERM, &builtins, in main_init() 367 ktinit(APERM, &taliases, 0); in main_init() 368 ktinit(APERM, &aliases, 0); in main_init() 370 ktinit(APERM, &homedirs, 0); in main_init() 386 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init() 615 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); in main_init() 1116 afreeall(APERM); in quitenv()
|
D | var.c | 140 ktinit(APERM, &specials, in initvar() 1369 afree(path, APERM); in setspec() 1371 strdupx(path, s, APERM); in setspec() 1381 afree(tmpdir, APERM); in setspec() 1394 strdupx(tmpdir, s, APERM); in setspec() 1504 afree(path, APERM); in unsetspec() 1505 strdupx(path, def_path, APERM); in unsetspec() 1517 afree(tmpdir, APERM); in unsetspec()
|
D | os2.c | 518 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp() 552 afree(tp, APERM); in cleanup_temps()
|
D | exec.c | 115 afree(cp, APERM); in execute() 1211 afree(tp->val.s, APERM); in findcom() 1235 strdupx(tp->val.s, npath.ro, APERM); in findcom() 1273 afree(tp->val.s, APERM); in flushcom() 1617 strdupx(*resbuf, ccp, APERM); in hereinval()
|
D | funcs.c | 921 afree(ap->val.s, APERM); in c_alias() 928 strdupx(ap->val.s, newval, APERM); in c_alias() 986 afree(ap->val.s, APERM); in c_unalias() 997 afree(ap->val.s, APERM); in c_unalias()
|
D | jobs.c | 1797 cp = alloc(sizeof(Job) - sizeof(ALLOC_ITEM), APERM); 1829 p = alloc(sizeof(Proc), APERM);
|
D | misc.c | 2155 afree(current_wd, APERM); in set_current_wd() 2156 strdupx(current_wd, nwd, APERM); in set_current_wd()
|
D | syn.c | 830 ktinit(APERM, &keywords, in initkeywords()
|
D | eval.c | 2004 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
|
D | sh.h | 823 #define APERM &aperm macro
|