/external/mksh/src/ |
os2.c | 205 strdupx(cp, val, ATEMP); 213 afree(cp, ATEMP); 276 x_name = alloc(x_namelen, ATEMP); 285 afree(x_name, ATEMP); 327 strdupx(real_name, x_name, ATEMP); 353 strdupx(result, rsp_name_arg, ATEMP); 437 afree(rsp_name_arg, ATEMP); 544 cp = aresize(*cpp, (size_t)sz + (size_t)4, ATEMP); 556 afree(cp, ATEMP);
|
syn.c | 202 yylval.cp = wdcopy(IONDELIM_delim, ATEMP); 221 nextiop = alloc(sizeof(*iop), ATEMP); 222 nextiop->ioname = cp = alloc(3, ATEMP); 276 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); 284 afree(iops, ATEMP); 351 XPput(args, wdcopy(builtin_cmd, ATEMP)); 352 XPput(args, wdcopy(setA_cmd0, ATEMP)); 353 XPput(args, wdcopy(setA_cmd1, ATEMP)); 355 XPput(args, wdcopy(setA_cmd2, ATEMP)); 368 afree(t, ATEMP); [all...] |
eval.c | 125 s = pushs(SWSTR, ATEMP); 131 afree(s, ATEMP); 266 Xinit(ds, dp, 128, ATEMP); 395 beg = wdcopy(sp, ATEMP); 402 afree(beg, ATEMP); 415 newst = alloc(sizeof(SubType), ATEMP); 455 beg = wdcopy(sp, ATEMP); 473 afree(stg, ATEMP); 477 afree(stg, ATEMP); 479 afree(beg, ATEMP); [all...] |
misc.c | 211 strndupx(cp, m, cp - m, ATEMP); 557 cp = alloc(strlen((const void *)sp) + 1, ATEMP); 614 /* return the result, allocated from ATEMP */ 645 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP); 661 afree(pnew, ATEMP); 1014 strndupx(subp, s, p - s - 3, ATEMP); 1033 afree(subp, ATEMP); 1045 afree(subp, ATEMP); 1106 strndupx(subp, s, p - s - 3, ATEMP); 1130 afree(subp, ATEMP); [all...] |
var.c | 71 l = alloc(sizeof(struct block), ATEMP); 113 afree(l, ATEMP); 190 strndupx(vn, n, p - n, ATEMP); 193 afree(vn, ATEMP); 200 afree(ap, ATEMP); 213 strndupx(tmp, p + 1, len - 2, ATEMP); 215 afree(tmp, ATEMP); 216 strndupx(n, n, p - n, ATEMP); 219 afree(sub, ATEMP); 258 vp->areap = ATEMP; [all...] |
lex.c | 166 ri = alloc(sizeof(struct sretrace_info), ATEMP); \ 167 Xinit(ri->xs, ri->xp, 64, ATEMP); \ 178 afree(dp, ATEMP); \ 208 Xinit(ws, wp, 64, ATEMP); 289 afree(tmp, ATEMP); 637 afree(sp, ATEMP); 858 afree(sp, ATEMP); 895 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); 941 afree(iop, ATEMP); 1029 afree(yylval.cp, ATEMP); [all...] |
funcs.c | 281 afree(allocd, ATEMP); 457 Xinit(xs, xp, 128, ATEMP); 517 Xinit(xs, xp, 128, ATEMP); 534 afree(XPptrv(po.words)[w], ATEMP); 862 strndupx(xalias, alias, val++ - alias, ATEMP); 867 afree(xalias, ATEMP); 911 afree(xalias, ATEMP); 1337 strdupx(up, *wp, ATEMP); 1346 afree(up, ATEMP); [all...] |
expr.c | 592 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 594 afree(tvar, ATEMP); 601 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 615 tvar = alloc(c + /* NUL */ 1, ATEMP); 625 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); 633 afree(tvar, ATEMP); 668 vp = alloc(offsetof(struct tbl, name[0]) + vsize, ATEMP); 672 vp->areap = ATEMP;
|
main.c | 209 strdupx(x, cx, ATEMP); 219 afree(x, ATEMP); 487 s = pushs(SSTRINGCMDLINE, ATEMP); 506 s = pushs(SFILE, ATEMP); 534 s = pushs(SSTDIN, ATEMP); 767 s = pushs(SFILE, ATEMP); 769 strdupx(s->file, name, ATEMP); 787 s = pushs(SSTRING, ATEMP); 989 cp = alloc(sizeof(struct env) - sizeof(ALLOC_ITEM), ATEMP); 1087 afree(cp + sizeof(ALLOC_ITEM), ATEMP); [all...] |
shf.c | 60 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 61 shf->areap = ATEMP; 138 shf->buf = alloc(bsize, ATEMP); 143 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 147 shf->areap = ATEMP; 206 shf = alloc(sizeof(struct shf), ATEMP); 209 shf->areap = ATEMP;
|
histrap.c | 112 editor = alloc(len + 4, ATEMP); 171 strdupx(pat, *wp, ATEMP); 190 strdupx(line, *hp, ATEMP); 200 Xinit(xs, xp, 128, ATEMP); 223 return (hist_execute(line, ATEMP)); 295 tf = maketemp(ATEMP, TT_HIST_EDIT, &e->temps); 854 afree(nhname, ATEMP); 1190 strdupx(as, cs, ATEMP); 1215 afree(as, ATEMP); [all...] |
edit.c | 358 afree(s, ATEMP); 400 s = pushs(SWSTR, ATEMP); 409 afree(s, ATEMP); 518 alloc2(nwords, sizeof(struct path_order_info), ATEMP); 533 afree(info, ATEMP); 544 afree(words[i], ATEMP); 638 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); 683 afree(toglob, ATEMP); 728 afree(words[--nwords], ATEMP); 729 afree(words, ATEMP); [all...] |
exec.c | 115 afree(dp, ATEMP); 134 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); 1233 afree(npath.rw, ATEMP); 1341 Xinit(xs, xp, 128, ATEMP); [all...] |
tree.c | 96 afree(cp, ATEMP); 668 * quote characters (" ' \) stripped. (string is allocated from ATEMP) 785 buf = alloc(sz + 16, ATEMP); 819 afree(buf, ATEMP);
|
sh.h | 774 #define ATEMP &e->area [all...] |