Home
last modified time | relevance | path

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

/third_party/mksh/
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.c265 vp->areap = ATEMP; in isglobal()
353 vp->areap = ATEMP; in local()
492 vq->val.s : NULL, n, vq->areap); in setstr()
516 vtemp->areap = ATEMP; in setint()
647 afree(vq->val.s, vq->areap); in setint_n()
750 vp->val.s = aresizeif(cursz, cp, vp->type + vallen, vp->areap); in exportprep()
930 afree(tmp->val.s, tmp->areap); in vtypeset()
931 afree(tmp, tmp->areap); in vtypeset()
1008 afree(t->val.s, t->areap); in vtypeset()
1013 afree(free_me, t->areap); in vtypeset()
[all …]
Dlex.c671 source->areap); in yylex()
795 s = pushs(SREREAD, source->areap); in yylex()
1082 s = pushs(SALIAS, source->areap); in yylex()
1236 pushs(int type, Area *areap) in pushs() argument
1240 s = alloc(sizeof(Source), areap); in pushs()
1244 s->areap = areap; in pushs()
1246 XinitN(s->xs, 256, s->areap); in pushs()
1737 s = pushs(SREREAD, source->areap); in ungetsc_i()
Dmain.c1199 if (source && source->areap == &e->area) in reclaim()
1838 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow()
1868 afree(tblp, tp->areap); in tgrow()
1871 afree(otblp, tp->areap); in tgrow()
1877 tp->areap = ap; in ktinit()
1929 p = alloc(offsetof(struct tbl, name[0]) + ++len, tp->areap); in ktenter()
1932 p->areap = tp->areap; in ktenter()
Dsh.h1730 Area *areap; /* area shf/buf were allocated in */ member
1747 Area *areap; /* area to allocate entries */ member
1756 Area *areap; member
2086 Area *areap; member
2092 (xs).areap = (area); \
2093 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
2115 #define Xfree(xs,xp) afree((xs).beg, (xs).areap)
2118 #define Xclose(xs,xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap)
2182 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.c1276 vp_pipest->areap);
1282 vp->areap = vp_pipest->areap;
Dexec.c791 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.c86 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap); in Xcheck_grow()
Dedit.c2466 if (!x_bind_show_xs.areap) in x_bind_showone()
5737 shf.areap = AEDIT; in x_quote_region_helper()