Home
last modified time | relevance | path

Searched refs:stakalloc (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dstak.h50 #define stakalloc(n) stkalloc(stkstd,n) macro
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtee.c170 if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) in b_tee()
H A Dpaste.c256 if (!(streams = (Sfio_t**)stakalloc(n*sizeof(Sfio_t*)))) in b_paste()
H A Dchgrp.c366 if (!(m = (Map_t*)stakalloc(sizeof(Map_t)))) in b_chgrp()
H A Dwclib.c66 if (!(wp = (Wc_t*)stakalloc(sizeof(Wc_t)))) in wc_init()
H A Dcut.c140 if (!(cut = (Cut_t*)stakalloc(sizeof(Cut_t) + strlen(cp) * sizeof(int)))) in cutinit()
H A Dtail.c626 if (!(fp = (Tail_t*)stakalloc(argc * sizeof(Tail_t)))) in b_tail()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c303 string = stakalloc(c+1); in hist_subst()
H A Dtest.c624 groups = (gid_t*)stakalloc((maxgroups+1)*sizeof(gid_t)); in sh_access()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dglob.c748 …top = ap = (globlist_t*)stakalloc((optlen ? 2 : 1) * strlen(pattern) + sizeof(globlist_t) + suflen… in glob()
786 argv = (char**)stakalloc((gp->gl_pathc + extra) * sizeof(char*)); in glob()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dparse.c92 #define getnode(type) ((Shnode_t*)stakalloc(sizeof(struct type)))
628 r = (struct regnod*)stakalloc(sizeof(struct regnod)); in syncase()
861 slp = (struct slnod*)stakalloc(sizeof(struct slnod)+sizeof(struct functnod)); in funct()
881 struct dolnod *dp = (struct dolnod*)stakalloc(size); in funct()
898 ap = (struct argnod*)stakalloc(flag); in funct()
1864 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in qscan()
H A Dxec.c805 np = (Namval_t*)stakalloc(sizeof(Dtlink_t)+sizeof(char*)); in sh_coaddfile()
2089 exitval = job.exitval = (int*)stakalloc(job.waitall*sizeof(int)); in sh_exec()
2978 register struct comnod *t = (struct comnod*)stakalloc(sizeof(struct comnod)); in sh_run()
2986 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in sh_run()
3399 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_funscope()
H A Dstreval.c184 sp = (Sfdouble_t*)stakalloc(ep->staksize*(sizeof(Sfdouble_t)+1)); in arith_exec()
H A Dio.c1201 struct argnod *ap = (struct argnod*)stakalloc(ARGVAL+strlen(iop->ioname)); in sh_redirect()
1209 struct argnod *ap = (struct argnod*)stakalloc(ARGVAL+strlen(iop->ioname)); in sh_redirect()
H A Dname.c2139 q = stakalloc(strlen(nv_name(np))+(value?strlen(value):0)+2); in staknam()
2265 er = (char**)stakalloc((namec+4)*sizeof(char*)); in sh_envgen()
2270 *data.argnam = (char*)stakalloc(data.attsize); in sh_envgen()
H A Dnvtree.c1054 argv = (char**)stakalloc((n+1)*sizeof(char*)); in walk_tree()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dedit.c1680 cp = stakalloc(m=strlen(pattern)+6);
1718 mp = (Histmatch_t*)stakalloc(sizeof(Histmatch_t)+l);
1732 argv = av = (char**)stakalloc((ac+1)*sizeof(char*));
H A Dcompletion.c232 comptr = (struct comnod*)stakalloc(sizeof(struct comnod)); in ed_expand()