Home
last modified time | relevance | path

Searched refs:areap (Results 1 – 10 of 10) sorted by relevance

/external/mksh/src/
Dshf.c61 shf->areap = ATEMP; in shf_open()
70 afree(shf, shf->areap); in shf_open()
81 afree(shf, shf->areap); in shf_open()
147 shf->areap = ATEMP; in shf_fdopen()
209 shf->areap = ATEMP; in shf_sopen()
214 buf = alloc(bsize, shf->areap); in shf_sopen()
241 afree(shf, shf->areap); in shf_close()
243 afree(shf->buf, shf->areap); in shf_close()
283 afree(shf, shf->areap); in shf_sclose()
357 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf()
Dvar.c258 vp->areap = ATEMP; in isglobal()
346 vp->areap = ATEMP; in local()
475 afree(vq->val.s, vq->areap); in setstr()
484 strdupx(vq->val.s, s, vq->areap); in setstr()
506 vtemp->areap = ATEMP; in setint()
637 afree(vq->val.s, vq->areap); in setint_n()
742 xp = alloc(namelen + 1 + vallen, vp->areap); in exportprep()
749 afree(op, vp->areap); in exportprep()
906 afree(tmp->val.s, tmp->areap); in typeset()
907 afree(tmp, tmp->areap); in typeset()
[all …]
Dlex.c651 source->areap); in yylex()
775 s = pushs(SREREAD, source->areap); in yylex()
1062 s = pushs(SALIAS, source->areap); in yylex()
1216 pushs(int type, Area *areap) in pushs() argument
1220 s = alloc(sizeof(Source), areap); in pushs()
1224 s->areap = areap; in pushs()
1226 XinitN(s->xs, 256, s->areap); in pushs()
1717 s = pushs(SREREAD, source->areap); in ungetsc_i()
Dmain.c1151 if (source && source->areap == &e->area) in reclaim()
1756 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow()
1786 afree(tblp, tp->areap); in tgrow()
1789 afree(otblp, tp->areap); in tgrow()
1795 tp->areap = ap; in ktinit()
1847 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
1850 p->areap = tp->areap; in ktenter()
Dsh.h1656 Area *areap; /* area shf/buf were allocated in */ member
1673 Area *areap; /* area to allocate entries */ member
1682 Area *areap; member
2002 Area *areap; member
2008 (xs).areap = (area); \
2009 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
2031 #define Xfree(xs, xp) afree((xs).beg, (xs).areap)
2034 #define Xclose(xs, xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap)
2098 Area *areap; member
Dhistrap.c333 Xinit(xs, xp, n, hist_source->areap); in c_fc()
349 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
355 hist_execute(char *cmd, Area *areap) in hist_execute() argument
369 afree(cmd, areap); in hist_execute()
Djobs.c1277 vp_pipest->areap); in j_waitj()
1283 vp->areap = vp_pipest->areap; in j_waitj()
Dexec.c793 tfree(tp->val.t, tp->areap); in comexec()
1089 tfree(tp->val.t, tp->areap); in define()
1098 tp->val.t = tcopy(t->left, tp->areap); in define()
Dexpr.c672 vp->areap = ATEMP; in tempvar()
Dmisc.c85 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap); in Xcheck_grow()