Searched refs:areap (Results 1 – 10 of 10) sorted by relevance
/external/mksh/src/ |
D | var.c | 248 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 …]
|
D | shf.c | 59 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()
|
D | lex.c | 291 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()
|
D | sh.h | 1133 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
|
D | main.c | 1689 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()
|
D | histrap.c | 350 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()
|
D | jobs.c | 1259 vp_pipest->areap); in j_waitj() 1265 vp->areap = vp_pipest->areap; in j_waitj()
|
D | exec.c | 831 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()
|
D | expr.c | 729 vp->areap = ATEMP; in tempvar()
|
D | misc.c | 118 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap); in Xcheck_grow()
|