Home
last modified time | relevance | path

Searched refs:ATEMP (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/bin/ksh/
H A Dexpand.h69 vp__ = (void**) alloc(sizeofN(void*, n), ATEMP); \
78 sizeofN(void*, n*2), ATEMP); \
89 sizeofN(void*, XPsize(x)), ATEMP)
91 #define XPfree(x) afree((void*) (x).beg, ATEMP)
H A Dsyn.c219 ATEMP);
227 afree((void*) iops, ATEMP);
268 afree(t, ATEMP);
308 XPput(args, wdcopy(let_cmd, ATEMP));
342 t->str = str_save(ident, ATEMP);
403 afree((void*) iops, ATEMP);
408 sizeofN(struct ioword *, iopn), ATEMP);
585 t->left->args = (char **) alloc(sizeof(char *) * 2, ATEMP);
586 t->left->args[0] = alloc(sizeof(char) * 3, ATEMP);
591 t->left->vars = (char **) alloc(sizeof(char *), ATEMP);
[all …]
H A Dmain.c290 s = pushs(SSTRING, ATEMP); in main()
296 s = pushs(SFILE, ATEMP); in main()
306 s = pushs(SSTDIN, ATEMP); in main()
476 s = pushs(SFILE, ATEMP);
478 s->file = str_save(name, ATEMP);
496 s = pushs(SSTRING, ATEMP);
499 afree(s, ATEMP);
658 ep = (struct env *) alloc(sizeof(*ep), ATEMP);
714 afree(ep, ATEMP); in quitenv()
H A Dlex.c125 Xinit(ws, wp, 64, ATEMP);
185 afree(tmp, ATEMP);
633 (struct ioword *) alloc(sizeof(*iop), ATEMP);
740 afree(yylval.cp, ATEMP);
757 afree(yylval.cp, ATEMP);
796 Xinit(xs, xp, 256, ATEMP);
968 afree(s->u.freeme, ATEMP); in getsc__()
1129 saved_atemp = ATEMP;
1248 afree(tmp, ATEMP);
1288 Xinit(ws, wp, 32, ATEMP);
[all …]
H A Dexpr.c505 tvar = str_nsave(es->tokp, cp - es->tokp, ATEMP);
507 afree(tvar, ATEMP);
513 tvar = str_nsave(es->tokp, --cp - es->tokp, ATEMP);
520 afree(tvar, ATEMP);
577 vp = (struct tbl*) alloc(sizeof(struct tbl), ATEMP); in tempvar()
580 vp->areap = ATEMP; in tempvar()
H A Dc_ksh.c94 fdir = dir = alloc(ilen + nlen + elen, ATEMP);
104 Xinit(xs, xp, PATH, ATEMP);
130 afree(fdir, ATEMP);
167 afree(fdir, ATEMP);
215 afree(freep, ATEMP);
317 Xinit(xs, xp, 128, ATEMP);
946 alias = str_nsave(alias, val++ - alias, ATEMP);
988 afree(alias, ATEMP);
H A Dc_sh.c325 Xinit(xs, xp, 128, ATEMP);
327 Xinit(cs, cp, 128, ATEMP);
437 s = pushs(SWORDS, ATEMP);
468 afree(s, ATEMP);
805 afree(wp[i], ATEMP);
H A Dshf.c47 shf = (struct shf *) alloc(sizeof(struct shf) + bsize, ATEMP);
48 shf->areap = ATEMP;
107 shf->buf = (unsigned char *) alloc(bsize, ATEMP);
112 shf = (struct shf *) alloc(sizeof(struct shf) + bsize, ATEMP);
116 shf->areap = ATEMP;
195 shf = (struct shf *) alloc(sizeof(struct shf), ATEMP);
198 shf->areap = ATEMP;
H A Dpath.c202 afree(p, ATEMP);
213 Xinit(xs, xp, strlen(pathx) + 1, ATEMP);
H A Dexec.c136 e->savefd = (short *) alloc(sizeofN(short, NUFILE), ATEMP);
970 afree(npath, ATEMP);
1065 Xinit(xs, xp, 128, ATEMP);
1275 h = maketemp(ATEMP, TT_HEREDOC_EXP, &e->temps);
1297 s = pushs(SSTRING, ATEMP);
H A Dtable.c188 p = (struct tbl **)alloc(sizeofN(struct tbl *, tp->size+1), ATEMP);
H A Dsh.h199 #define ATEMP &e->area macro
H A Dc_test.c309 char *p = str_nsave(opnd1, len + 1, ATEMP);
H A Demacs.c1416 m2 = m1 = x_mapin(a1, ATEMP);
1427 afree(m2, ATEMP);