Lines Matching refs:Shnode_t
64 static pid_t sh_ntfork(Shell_t*,const Shnode_t*,char*[],int*,int);
304 static int sh_tclear(register Shnode_t *t)
326 n=sh_tclear((Shnode_t*)(t->wh.whinc));
340 return(n+sh_tclear((Shnode_t*)t->for_.forlst));
346 return(n+sh_tclear((Shnode_t*)t->funct.functargs));
367 sh_tclear((Shnode_t*)arg->argchn.ap);
570 register Shnode_t *t;
600 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL);
743 sh_deparse(sfstdout,(Shnode_t*)(nv_funtree(np)),0);
808 static int sh_coexec(Shell_t *shp,const Shnode_t *t, int filt)
966 int sh_exec(register const Shnode_t *t, int flags)
1394 ((Shnode_t*)t)->com.comstate = shp->bltindata.data;
1472 ((Shnode_t*)t)->com.comset = 0;
2040 Shnode_t *tt;
2072 const Shnode_t* tn=t;
2147 ((Shnode_t*)t)->tre.tretyp |= showme;
2375 Shnode_t *tt = t->wh.whtre;
2404 sh_exec((Shnode_t*)t->wh.whinc,0);
2445 sh_exec((Shnode_t*)t->wh.whinc,first);
2523 Shnode_t *tt = (Shnode_t*)t;
2526 t= (Shnode_t*)(tt->sw.swlst);
2564 (t=(Shnode_t*)t->reg.regnxt));
2572 t=(Shnode_t*)t->reg.regnxt;
2976 argn=sh_exec((Shnode_t*)t,sh_isstate(SH_ERREXIT));
3426 sh_exec((Shnode_t*)(nv_funtree((fp->node))),execflg|SH_ERREXIT);
3657 static int run_subshell(Shell_t *shp,const Shnode_t *t,pid_t grp)
3746 static pid_t sh_ntfork(Shell_t *shp,const Shnode_t *t,char *argv[],int *jobid,int flag)
3765 register Shnode_t *tchild = t->fork.forktre;