Searched refs:Shnode_t (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/include/
H A Dshnodes.h86 Shnode_t *forktre;
94 Shnode_t *iftre;
95 Shnode_t *thtre;
96 Shnode_t *eltre;
102 Shnode_t *whtre;
103 Shnode_t *dotre;
111 Shnode_t *fortre;
128 Shnode_t *regcom;
136 Shnode_t *partre;
142 Shnode_t *lstle
[all...]
H A Dshell.h59 typedef union Shnode_u Shnode_t; typedef in typeref:union:Shnode_u
213 extern int sh_exec(const Shnode_t*,int);
H A Dshlex.h161 extern Shnode_t *sh_dolparen(Lex_t*);
H A Ddefs.h395 extern void sh_deparse(Sfio_t*,const Shnode_t*,int);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dparse.c51 static Shnode_t *makeparent(Lex_t*, int, Shnode_t*);
52 static Shnode_t *makelist(Lex_t*, int, Shnode_t*, Shnode_t*);
55 static Shnode_t *sh_cmd(Lex_t*,int,int);
56 static Shnode_t *term(Lex_t*,int);
57 static Shnode_t *list(Lex_t*,int);
59 static Shnode_t *item(Lex_t*,int);
60 static Shnode_t *simpl
[all...]
H A Dtdump.c40 static int p_tree(const Shnode_t*);
45 int sh_tdump(Sfio_t *out, const Shnode_t *t)
67 static int p_tree(register const Shnode_t *t)
96 if(p_tree((Shnode_t*)(t->wh.whinc))<0)
125 return(p_tree((Shnode_t*)t->for_.forlst));
139 return(p_tree((Shnode_t*)t->funct.functargs));
H A Dshcomp.c75 Shnode_t *t;
138 if(t = (Shnode_t*)sh_parse(shp,in,0))
H A Dtrestore.c39 static Shnode_t *r_tree(Shell_t*);
45 #define getnode(s,type) ((Shnode_t*)stkalloc((s),sizeof(struct type)))
47 Shnode_t *sh_trestore(Shell_t *shp,Sfio_t *in)
49 Shnode_t *t;
57 static Shnode_t *r_tree(Shell_t *shp)
61 register Shnode_t *t=0;
167 t->lst.lstlef = (Shnode_t*)r_arg(shp);
169 t->lst.lstrit = (Shnode_t*)r_arg(shp);
H A Ddeparse.c54 static void p_tree(const Shnode_t*,int);
65 extern void sh_deparse(Sfio_t*, const Shnode_t*,int);
67 void sh_deparse(Sfio_t *out, const Shnode_t *t,int tflags)
75 static void p_tree(register const Shnode_t *t,register int tflags)
175 Shnode_t *tr = t->lst.lstrit;
219 Shnode_t *tt = t->lst.lstrit;
H A Dmacro.c108 static void comsubst(Mac_t*, Shnode_t*, int);
346 comsubst(mp,(Shnode_t*)0,0);
368 comsubst(mp,(Shnode_t*)0,2);
391 comsubst(mp,(Shnode_t*)0,1);
597 comsubst(mp,(Shnode_t*)0,0);
1037 Shnode_t node;
1168 comsubst(mp,(Shnode_t*)0,1);
1979 comsubst(mp,(Shnode_t*)0,2);
1993 static void comsubst(Mac_t *mp,register Shnode_t* t, int type)
2071 t = (Shnode_t*)sh_pars
[all...]
H A Dxec.c67 static pid_t sh_ntfork(Shell_t*,const Shnode_t*,char*[],int*,int);
271 static int sh_tclear(register Shnode_t *t)
293 n=sh_tclear((Shnode_t*)(t->wh.whinc));
307 return(n+sh_tclear((Shnode_t*)t->for_.forlst));
313 return(n+sh_tclear((Shnode_t*)t->funct.functargs));
334 sh_tclear((Shnode_t*)arg->argchn.ap);
537 register Shnode_t *t;
565 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL);
710 sh_deparse(sfstdout,(Shnode_t*)(nv_funtree(np)),0);
775 static int sh_coexec(Shell_t *shp,const Shnode_t *
[all...]
H A Dmain.c392 Shnode_t *t;
590 t = (Shnode_t*)sh_parse(shp,iop,0);
H A Dargs.c830 sh_exec((Shnode_t*)argp->argchn.ap,(int)sh_isstate(SH_ERREXIT));
835 sh_exec((Shnode_t*)argp->argchn.ap,(int)sh_isstate(SH_ERREXIT));
H A Dfault.c467 sh_exec((Shnode_t*)trap,sh_isstate(SH_ERREXIT));
H A Dsubshell.c460 Sfio_t *sh_subshell(Shell_t *shp,Shnode_t *t, int flags, int comsub)
H A Dname.c347 register Shnode_t *tp=fp->fortre;
/osnet-11/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h68 typedef union Shnode_u Shnode_t; typedef in typeref:union:Shnode_u
223 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
/osnet-11/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h68 typedef union Shnode_u Shnode_t; typedef in typeref:union:Shnode_u
223 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
/osnet-11/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h68 typedef union Shnode_u Shnode_t; typedef in typeref:union:Shnode_u
223 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h68 typedef union Shnode_u Shnode_t; typedef in typeref:union:Shnode_u
223 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dmisc.c289 sh_exec((Shnode_t*)(nv_funtree(np)),sh_isstate(SH_ERREXIT));

Completed in 89 milliseconds