Home
last modified time | relevance | path

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

/third_party/mksh/
Dhistrap.c362 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 …]
Dmain.c166 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()
Dvar.c140 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()
Dos2.c518 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp()
552 afree(tp, APERM); in cleanup_temps()
Dexec.c115 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()
Dfuncs.c921 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()
Djobs.c1797 cp = alloc(sizeof(Job) - sizeof(ALLOC_ITEM), APERM);
1829 p = alloc(sizeof(Proc), APERM);
Dmisc.c2155 afree(current_wd, APERM); in set_current_wd()
2156 strdupx(current_wd, nwd, APERM); in set_current_wd()
Dsyn.c830 ktinit(APERM, &keywords, in initkeywords()
Deval.c2004 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
Dsh.h823 #define APERM &aperm macro