Searched refs:APERM (Results 1 – 11 of 11) sorted by relevance
/external/mksh/src/ |
D | histrap.c | 475 afree(*histptr, APERM); in histbackup() 545 history = aresize2(history, n, sizeof(char *), APERM); in sethistsize() 577 afree(hname, APERM); in sethistfile() 596 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec() 641 strdupx(c, cmd, APERM); in histsave() 650 afree(c, APERM); in histsave() 664 afree(*history, APERM); in histsave() 716 strdupx(hname, hname, APERM); in hist_init() 965 afree(*hp, APERM); in histinsert() 966 strdupx(*hp, line, APERM); in histinsert() [all …]
|
D | var.c | 132 ktinit(APERM, &specials, in initvar() 1150 afree(path, APERM); in setspec() 1152 strdupx(path, s, APERM); in setspec() 1162 afree(tmpdir, APERM); in setspec() 1176 strdupx(tmpdir, s, APERM); in setspec() 1256 afree(path, APERM); in unsetspec() 1257 strdupx(path, def_path, APERM); in unsetspec() 1268 afree(tmpdir, APERM); in unsetspec()
|
D | main.c | 116 cp = alloc(sizeof(*bufptr) - ALLOC_SIZE, APERM); in rndsetup() 141 afree(cp, APERM); in rndsetup() 211 ktinit(APERM, &builtins, in main() 241 ktinit(APERM, &taliases, 0); in main() 242 ktinit(APERM, &aliases, 0); in main() 244 ktinit(APERM, &homedirs, 0); in main() 257 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main()
|
D | exec.c | 117 afree(cp, APERM); in execute() 1099 afree(tp->val.s, APERM); in findcom() 1123 strdupx(tp->val.s, npath.ro, APERM); in findcom() 1161 afree(tp->val.s, APERM); in flushcom() 1448 strdupx(*resbuf, ccp, APERM); in hereinval()
|
D | edit.c | 3453 wbuf[0] = aresize(wbuf[0], wbuf_len, APERM); in x_vi() 3454 wbuf[1] = aresize(wbuf[1], wbuf_len, APERM); in x_vi() 3995 nbuf = alloc(nlen + 1 + olen, APERM); in vi_cmd() 4000 afree(macro.buf, APERM); in vi_cmd() 4650 news = alloc(sizeof(struct edstate), APERM); in save_edstate() 4651 news->cbuf = alloc(old->cbufsize, APERM); in save_edstate() 4673 afree(old->cbuf, APERM); in free_edstate() 4674 afree(old, APERM); in free_edstate() 5329 afree(macro.buf, APERM); in vi_macro_reset()
|
D | funcs.c | 1097 afree(ap->val.s, APERM); in c_alias() 1104 strdupx(ap->val.s, newval, APERM); in c_alias() 1162 afree(ap->val.s, APERM); in c_unalias() 1173 afree(ap->val.s, APERM); in c_unalias()
|
D | jobs.c | 1650 newj = alloc(sizeof(Job), APERM); in new_job() 1678 p = alloc(sizeof(Proc), APERM); in new_proc()
|
D | misc.c | 1632 afree(current_wd, APERM); in set_current_wd() 1633 strdupx(current_wd, nwd, APERM); in set_current_wd()
|
D | syn.c | 798 ktinit(APERM, &keywords, in initkeywords()
|
D | eval.c | 1625 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
|
D | sh.h | 549 #define APERM &aperm macro
|