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.c672 source->areap); in yylex()
796 s = pushs(SREREAD, source->areap); in yylex()
1083 s = pushs(SALIAS, source->areap); in yylex()
1237 pushs(int type, Area *areap) in pushs() argument
1241 s = alloc(sizeof(Source), areap); in pushs()
1245 s->areap = areap; in pushs()
1247 XinitN(s->xs, 256, s->areap); in pushs()
1738 s = pushs(SREREAD, source->areap); in ungetsc_i()
Dmain.c1152 if (source && source->areap == &e->area) in reclaim()
1757 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow()
1787 afree(tblp, tp->areap); in tgrow()
1790 afree(otblp, tp->areap); in tgrow()
1796 tp->areap = ap; in ktinit()
1848 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
1851 p->areap = tp->areap; in ktenter()
Dsh.h1660 Area *areap; /* area shf/buf were allocated in */ member
1677 Area *areap; /* area to allocate entries */ member
1686 Area *areap; member
2007 Area *areap; member
2013 (xs).areap = (area); \
2014 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
2036 #define Xfree(xs, xp) afree((xs).beg, (xs).areap)
2039 #define Xclose(xs, xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap)
2103 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.c1271 vp_pipest->areap); in j_waitj()
1277 vp->areap = vp_pipest->areap; in j_waitj()
Dexec.c800 tfree(tp->val.t, tp->areap); in comexec()
1097 tfree(tp->val.t, tp->areap); in define()
1106 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()