/external/mksh/src/ |
histrap.c | 378 afree(*histptr, APERM); 546 history = aresize2(history, n, sizeof(char *), APERM); 577 afree(hname, APERM); 596 history = alloc2(histsize, sizeof(char *), APERM); 638 strdupx(c, cmd, APERM); 647 afree(c, APERM); 661 afree(*history, APERM); 718 strdupx(hname, hname, APERM); 859 afree(*hp, APERM); 860 strdupx(*hp, (char *)(base + 4), APERM); [all...] |
var.c | 135 ktinit(APERM, &specials, 1245 afree(path, APERM); 1247 strdupx(path, s, APERM); 1253 afree(tmpdir, APERM); 1267 strdupx(tmpdir, s, APERM); 1360 afree(path, APERM); 1361 strdupx(path, def_path, APERM); 1368 afree(tmpdir, APERM); [all...] |
main.c | 119 cp = alloc(sizeof(*bufptr) - ALLOC_SIZE, APERM); 141 afree(cp, APERM); 207 ainit(&aperm); 251 ktinit(APERM, &builtins, 290 ktinit(APERM, &taliases, 0); 291 ktinit(APERM, &aliases, 0); 293 ktinit(APERM, &homedirs, 0); 309 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) 529 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); 988 afreeall(APERM); [all...] |
exec.c | 120 afree(cp, APERM); 1119 afree(tp->val.s, APERM); 1143 strdupx(tp->val.s, npath.ro, APERM); 1181 afree(tp->val.s, APERM); [all...] |
sh.h | 669 EXTERN Area aperm; /* permanent object space */ variable 670 #define APERM &aperm [all...] |
funcs.c | 1132 afree(ap->val.s, APERM); 1139 strdupx(ap->val.s, newval, APERM); 1197 afree(ap->val.s, APERM); 1208 afree(ap->val.s, APERM); [all...] |
jobs.c | [all...] |
misc.c | [all...] |
syn.c | 809 ktinit(APERM, &keywords,
|
eval.c | [all...] |