Home
last modified time | relevance | path

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

/external/mksh/src/
Dvar.c248 vp->areap = ATEMP; in global()
326 vp->areap = ATEMP; in local()
453 afree(vq->val.s, vq->areap); in setstr()
462 strdupx(vq->val.s, s, vq->areap); in setstr()
485 vp->areap = ATEMP; in setint()
616 afree(vq->val.s, vq->areap); in setint_n()
721 xp = alloc(namelen + 1 + vallen, vp->areap); in exportprep()
728 afree(op, vp->areap); in exportprep()
883 afree(tmp->val.s, tmp->areap); in typeset()
884 afree(tmp, tmp->areap); in typeset()
[all …]
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()
206 shf->areap = ATEMP; in shf_sopen()
211 buf = alloc(bsize, shf->areap); in shf_sopen()
238 afree(shf, shf->areap); in shf_close()
240 afree(shf->buf, shf->areap); in shf_close()
280 afree(shf, shf->areap); in shf_sclose()
352 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf()
Dlex.c291 source->areap); in yylex()
668 source->areap); in yylex()
790 s = pushs(SREREAD, source->areap); in yylex()
1077 s = pushs(SALIAS, source->areap); in yylex()
1226 pushs(int type, Area *areap) in pushs() argument
1230 s = alloc(sizeof(Source), areap); in pushs()
1234 s->areap = areap; in pushs()
1236 XinitN(s->xs, 256, s->areap); in pushs()
1705 s = pushs(SREREAD, source->areap); in ungetsc_i()
Dsh.h1133 Area *areap; /* area shf/buf were allocated in */ member
1150 Area *areap; /* area to allocate entries */ member
1159 Area *areap; member
1467 Area *areap; /* area to allocate/free from */ member
1475 (xs).areap = (area); \
1476 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
1498 #define Xfree(xs, xp) afree((xs).beg, (xs).areap)
1501 #define Xclose(xs, xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap)
1566 Area *areap; member
Dmain.c1689 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow()
1719 afree(tblp, tp->areap); in tgrow()
1722 afree(otblp, tp->areap); in tgrow()
1728 tp->areap = ap; in ktinit()
1780 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
1783 p->areap = tp->areap; in ktenter()
Dhistrap.c350 Xinit(xs, xp, n, hist_source->areap); in c_fc()
366 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
372 hist_execute(char *cmd, Area *areap) in hist_execute() argument
388 afree(cmd, areap); in hist_execute()
Djobs.c1259 vp_pipest->areap); in j_waitj()
1265 vp->areap = vp_pipest->areap; in j_waitj()
Dexec.c831 tfree(tp->val.t, tp->areap); in comexec()
1088 tfree(tp->val.t, tp->areap); in define()
1097 tp->val.t = tcopy(t->left, tp->areap); in define()
Dexpr.c729 vp->areap = ATEMP; in tempvar()
Dmisc.c118 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap); in Xcheck_grow()