/external/mksh/src/ |
eval.c | 111 s = pushs(SWSTR, ATEMP); 117 afree(s, ATEMP); 239 Xinit(ds, dp, 128, ATEMP); 356 end = (beg = wdcopy(sp, ATEMP)) + 362 afree(beg, ATEMP); 373 newst = alloc(sizeof(SubType), ATEMP); 403 beg = wdcopy(sp, ATEMP); 407 afree(beg, ATEMP); 432 beg = wdcopy(sp, ATEMP); 453 afree(stg, ATEMP); [all...] |
syn.c | 213 nextiop = alloc(sizeof(*iop), ATEMP); 214 nextiop->name = cp = alloc(5, ATEMP); 270 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); 278 afree(iops, ATEMP); 332 XPput(args, wdcopy(setA_cmd0, ATEMP)); 333 XPput(args, wdcopy(setA_cmd1, ATEMP)); 335 XPput(args, wdcopy(setA_cmd2, ATEMP)); 348 afree(t, ATEMP); 400 XPput(args, wdcopy(let_cmd, ATEMP)); 429 strdupx(t->str, ident, ATEMP); [all...] |
misc.c | 223 strndupx(cp, m, cp - m, ATEMP); 522 cp = alloc(strlen((const void *)sp) + 1, ATEMP); 579 /* return the result, allocated from ATEMP */ 611 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP); 625 afree(pnew, ATEMP); 1197 str = alloc(max_oct, ATEMP); 1238 afree(str, ATEMP); 1312 /* getcwd(3) equivalent, allocates from ATEMP but doesn't resize */ 1320 strdupx(rv, cp, ATEMP); 1327 if (!getcwd((rv = alloc(PATH_MAX + 1, ATEMP)), PATH_MAX)) [all...] |
var.c | 65 l = alloc(sizeof(struct block), ATEMP); 107 afree(l, ATEMP); 183 strndupx(vn, n, p - n, ATEMP); 186 afree(vn, ATEMP); 193 afree(ap, ATEMP); 205 strndupx(tmp, p + 1, len - 2, ATEMP); 207 afree(tmp, ATEMP); 208 strndupx(n, n, p - n, ATEMP); 211 afree(sub, ATEMP); 238 vp->areap = ATEMP; [all...] |
lex.c | 168 ri = alloc(sizeof(struct sretrace_info), ATEMP); \ 169 Xinit(ri->xs, ri->xp, 64, ATEMP); \ 180 afree(dp, ATEMP); \ 209 Xinit(ws, wp, 64, ATEMP); 299 afree(tmp, ATEMP); 651 afree(sp, ATEMP); 868 afree(sp, ATEMP); 902 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); 960 afree(iop, ATEMP); 1041 afree(yylval.cp, ATEMP); [all...] |
main.c | 173 strdupx(x, cx, ATEMP); 183 afree(x, ATEMP); 460 s = pushs(SSTRINGCMDLINE, ATEMP); 481 s = pushs(SFILE, ATEMP); 495 s = pushs(SSTDIN, ATEMP); 727 s = pushs(SFILE, ATEMP); 729 strdupx(s->file, name, ATEMP); 746 s = pushs(SSTRING, ATEMP); 934 cp = alloc(sizeof(struct env) - ALLOC_SIZE, ATEMP); 1028 afree(cp + ALLOC_SIZE, ATEMP); [all...] |
expr.c | 558 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 560 afree(tvar, ATEMP); 566 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 577 tvar = alloc(c + /* NUL */ 1, ATEMP); 587 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); 595 afree(tvar, ATEMP); 661 vp = alloc(sizeof(struct tbl), ATEMP); 664 vp->areap = ATEMP;
|
histrap.c | 115 editor = alloc(len + 4, ATEMP); 174 strdupx(pat, *wp, ATEMP); 193 strdupx(line, *hp, ATEMP); 203 Xinit(xs, xp, 128, ATEMP); 297 tf = maketemp(ATEMP, TT_HIST_EDIT, &e->temps); 794 afree(nhname, ATEMP); 1096 strdupx(as, cs, ATEMP); 1111 afree(as, ATEMP); [all...] |
funcs.c | 260 afree(allocd, ATEMP); 395 Xinit(xs, xp, 128, ATEMP); 1093 strndupx(xalias, alias, val++ - alias, ATEMP); 1138 afree(xalias, ATEMP); [all...] |
shf.c | 57 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 58 shf->areap = ATEMP; 131 shf->buf = alloc(bsize, ATEMP); 136 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 140 shf->areap = ATEMP; 198 shf = alloc(sizeof(struct shf), ATEMP); 201 shf->areap = ATEMP;
|
exec.c | 110 dp = alloc(z * 2 + n, ATEMP); 155 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); 1137 afree(npath.rw, ATEMP); 1226 Xinit(xs, xp, 128, ATEMP); [all...] |
edit.c | 336 afree(s, ATEMP); 378 s = pushs(SWSTR, ATEMP); 387 afree(s, ATEMP); 491 alloc2(nwords, sizeof(struct path_order_info), ATEMP); 506 afree(info, ATEMP); 517 afree(words[i], ATEMP); 614 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); 658 afree(toglob, ATEMP); 703 afree(words[--nwords], ATEMP); 704 afree(words, ATEMP); [all...] |
sh.h | 648 #define ATEMP &e->area [all...] |
tree.c | 629 * quote characters (" ' \) stripped. (string is allocated from ATEMP) 748 buf = alloc(sz + 8, ATEMP); 781 afree(buf, ATEMP);
|