/external/mksh/src/ |
eval.c | 119 s = pushs(SWSTR, ATEMP); 125 afree(s, ATEMP); 260 Xinit(ds, dp, 128, ATEMP); 378 end = (beg = wdcopy(sp, ATEMP)) + 384 afree(beg, ATEMP); 397 newst = alloc(sizeof(SubType), ATEMP); 437 beg = wdcopy(sp, ATEMP); 455 afree(stg, ATEMP); 459 afree(stg, ATEMP); 461 afree(beg, ATEMP); [all...] |
syn.c | 199 yylval.cp = wdcopy(IONDELIM_delim, ATEMP); 218 nextiop = alloc(sizeof(*iop), ATEMP); 220 nextiop->ioname = cp = alloc(3, ATEMP); 222 nextiop->ioname = cp = alloc(5, ATEMP); 278 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); 286 afree(iops, ATEMP); 354 XPput(args, wdcopy(setA_cmd0, ATEMP)); 355 XPput(args, wdcopy(setA_cmd1, ATEMP)); 357 XPput(args, wdcopy(setA_cmd2, ATEMP)); 370 afree(t, ATEMP); [all...] |
misc.c | 240 strndupx(cp, m, cp - m, ATEMP); 580 cp = alloc(strlen((const void *)sp) + 1, ATEMP); 637 /* return the result, allocated from ATEMP */ 669 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP); 683 afree(pnew, ATEMP); 1255 str = alloc(max_oct, ATEMP); 1299 afree(str, ATEMP); 1368 /* getcwd(3) equivalent, allocates from ATEMP but doesn't resize */ 1376 strdupx(rv, cp, ATEMP); 1383 if (!getcwd((rv = alloc(PATH_MAX + 1, ATEMP)), PATH_MAX)) [all...] |
var.c | 68 l = alloc(sizeof(struct block), ATEMP); 110 afree(l, ATEMP); 187 strndupx(vn, n, p - n, ATEMP); 190 afree(vn, ATEMP); 197 afree(ap, ATEMP); 210 strndupx(tmp, p + 1, len - 2, ATEMP); 212 afree(tmp, ATEMP); 213 strndupx(n, n, p - n, ATEMP); 216 afree(sub, ATEMP); 248 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); 285 afree(tmp, ATEMP); 654 afree(sp, ATEMP); 873 afree(sp, ATEMP); 911 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); 966 afree(iop, ATEMP); 1044 afree(yylval.cp, ATEMP); [all...] |
main.c | 161 strdupx(x, cx, ATEMP); 171 afree(x, ATEMP); 436 s = pushs(SSTRINGCMDLINE, ATEMP); 455 s = pushs(SFILE, ATEMP); 481 s = pushs(SSTDIN, ATEMP); 715 s = pushs(SFILE, ATEMP); 717 strdupx(s->file, name, ATEMP); 734 s = pushs(SSTRING, ATEMP); 929 cp = alloc(sizeof(struct env) - ALLOC_SIZE, ATEMP); 1027 afree(cp + ALLOC_SIZE, ATEMP); [all...] |
expr.c | 655 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 657 afree(tvar, ATEMP); 664 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); 675 tvar = alloc(c + /* NUL */ 1, ATEMP); 685 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); 693 afree(tvar, ATEMP); 726 vp = alloc(sizeof(struct tbl), ATEMP); 729 vp->areap = ATEMP;
|
funcs.c | 270 afree(allocd, ATEMP); 406 Xinit(xs, xp, 128, ATEMP); 1136 strndupx(xalias, alias, val++ - alias, ATEMP); 1181 afree(xalias, ATEMP); [all...] |
shf.c | 58 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 59 shf->areap = ATEMP; 136 shf->buf = alloc(bsize, ATEMP); 141 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 145 shf->areap = ATEMP; 203 shf = alloc(sizeof(struct shf), ATEMP); 206 shf->areap = ATEMP;
|
histrap.c | 118 editor = alloc(len + 4, ATEMP); 177 strdupx(pat, *wp, ATEMP); 196 strdupx(line, *hp, ATEMP); 206 Xinit(xs, xp, 128, ATEMP); 229 return (hist_execute(line, ATEMP)); 301 tf = maketemp(ATEMP, TT_HIST_EDIT, &e->temps); 838 afree(nhname, ATEMP); 1141 strdupx(as, cs, ATEMP); 1166 afree(as, ATEMP); [all...] |
exec.c | 151 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); 1209 afree(npath.rw, ATEMP); 1302 Xinit(xs, xp, 128, ATEMP); [all...] |
edit.c | 337 afree(s, ATEMP); 379 s = pushs(SWSTR, ATEMP); 388 afree(s, ATEMP); 492 alloc2(nwords, sizeof(struct path_order_info), ATEMP); 507 afree(info, ATEMP); 518 afree(words[i], ATEMP); 613 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); 657 afree(toglob, ATEMP); 702 afree(words[--nwords], ATEMP); 703 afree(words, ATEMP); [all...] |
sh.h | 716 #define ATEMP &e->area [all...] |
tree.c | 641 * quote characters (" ' \) stripped. (string is allocated from ATEMP) 758 buf = alloc(sz + 16, ATEMP); 792 afree(buf, ATEMP);
|