Home
last modified time | relevance | path

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

/external/mksh/src/
Dshf.c59 shf->areap = ATEMP; in shf_open()
68 afree(shf, shf->areap); in shf_open()
79 afree(shf, shf->areap); in shf_open()
145 shf->areap = ATEMP; in shf_fdopen()
207 shf->areap = ATEMP; in shf_sopen()
212 buf = alloc(bsize, shf->areap); in shf_sopen()
239 afree(shf, shf->areap); in shf_close()
241 afree(shf->buf, shf->areap); in shf_close()
281 afree(shf, shf->areap); in shf_sclose()
355 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()
473 afree(vq->val.s, vq->areap); in setstr()
482 strdupx(vq->val.s, s, vq->areap); in setstr()
504 vtemp->areap = ATEMP; in setint()
635 afree(vq->val.s, vq->areap); in setint_n()
740 xp = alloc(namelen + 1 + vallen, vp->areap); in exportprep()
747 afree(op, vp->areap); in exportprep()
903 afree(tmp->val.s, tmp->areap); in typeset()
904 afree(tmp, tmp->areap); in typeset()
[all …]
Dlex.c291 source->areap); in yylex()
657 source->areap); in yylex()
779 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()
1716 s = pushs(SREREAD, source->areap); in ungetsc_i()
Dmain.c1161 if (source && source->areap == &e->area) in reclaim()
1766 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow()
1796 afree(tblp, tp->areap); in tgrow()
1799 afree(otblp, tp->areap); in tgrow()
1805 tp->areap = ap; in ktinit()
1857 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
1860 p->areap = tp->areap; in ktenter()
Dsh.h1446 Area *areap; /* area shf/buf were allocated in */ member
1463 Area *areap; /* area to allocate entries */ member
1472 Area *areap; member
1792 Area *areap; member
1798 (xs).areap = (area); \
1799 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
1821 #define Xfree(xs, xp) afree((xs).beg, (xs).areap)
1824 #define Xclose(xs, xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap)
1888 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.c1258 vp_pipest->areap); in j_waitj()
1264 vp->areap = vp_pipest->areap; in j_waitj()
Dexec.c790 tfree(tp->val.t, tp->areap); in comexec()
1078 tfree(tp->val.t, tp->areap); in define()
1087 tp->val.t = tcopy(t->left, tp->areap); in define()
Dexpr.c670 vp->areap = ATEMP; in tempvar()
Dmisc.c113 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap); in Xcheck_grow()