/titanic_51/usr/src/lib/libshell/common/include/ |
H A D | shnodes.h | 85 Shnode_t *forktre; 93 Shnode_t *iftre; 94 Shnode_t *thtre; 95 Shnode_t *eltre; 101 Shnode_t *whtre; 102 Shnode_t *dotre; 110 Shnode_t *fortre; 127 Shnode_t *regcom; 135 Shnode_t *partre; 141 Shnode_t *lstlef; [all …]
|
H A D | shell.h | 56 typedef union Shnode_u Shnode_t; typedef 210 extern int sh_exec(const Shnode_t*,int);
|
H A D | shlex.h | 159 extern Shnode_t *sh_dolparen(Lex_t*);
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | shnodes.h | 86 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 D | shell.h | 61 typedef union Shnode_u Shnode_t; typedef 218 extern int sh_exec(const Shnode_t*,int);
|
H A D | shlex.h | 161 extern Shnode_t *sh_dolparen(Lex_t*);
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | parse.c | 55 static Shnode_t *makeparent(Lex_t*, int, Shnode_t*); 56 static Shnode_t *makelist(Lex_t*, int, Shnode_t*, Shnode_t*); 59 static Shnode_t *sh_cmd(Lex_t*,int,int); 60 static Shnode_t *term(Lex_t*,int); 61 static Shnode_t *list(Lex_t*,int); 63 static Shnode_t *item(Lex_t*,int); 64 static Shnode_t *simpl [all...] |
H A D | tdump.c | 40 static int p_tree(const Shnode_t*); 45 int sh_tdump(Sfio_t *out, const Shnode_t *t) in sh_tdump() 67 static int p_tree(register const Shnode_t *t) in p_tree() 96 if(p_tree((Shnode_t*)(t->wh.whinc))<0) in p_tree() 125 return(p_tree((Shnode_t*)t->for_.forlst)); in p_tree() 139 return(p_tree((Shnode_t*)t->funct.functargs)); in p_tree() 185 p_tree((Shnode_t*)arg->argchn.ap); in p_arg()
|
H A D | trestore.c | 39 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) in sh_trestore() 49 Shnode_t *t; in sh_trestore() 57 static Shnode_t *r_tree(Shell_t *shp) in r_tree() 61 register Shnode_t *t=0; in r_tree() 167 t->lst.lstlef = (Shnode_t*)r_arg(shp); in r_tree() 169 t->lst.lstrit = (Shnode_t*)r_arg(shp); in r_tree()
|
H A D | deparse.c | 54 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) in sh_deparse() 75 static void p_tree(register const Shnode_t *t,register int tflags) in p_tree() 175 Shnode_t *tr = t->lst.lstrit; in p_tree() 219 Shnode_t *tt = t->lst.lstrit; in p_tree() 409 p_tree((Shnode_t*)arg->argchn.ap,0); in p_arg()
|
H A D | shcomp.c | 75 Shnode_t *t; in main() 138 if(t = (Shnode_t*)sh_parse(shp,in,0)) in main()
|
H A D | xec.c | 64 static pid_t sh_ntfork(Shell_t*,const Shnode_t*,char*[],int*,int); 307 static int sh_tclear(register Shnode_t *t) in sh_tclear() 329 n=sh_tclear((Shnode_t*)(t->wh.whinc)); in sh_tclear() 343 return(n+sh_tclear((Shnode_t*)t->for_.forlst)); in sh_tclear() 349 return(n+sh_tclear((Shnode_t*)t->funct.functargs)); in sh_tclear() 370 sh_tclear((Shnode_t*)arg->argchn.ap); in p_arg() 573 register Shnode_t *t; in sh_eval() 603 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL); in sh_eval() 749 sh_deparse(sfstdout,(Shnode_t*)(nv_funtree(np)),0); in print_fun() 814 static int sh_coexec(Shell_t *shp,const Shnode_t * [all...] |
H A D | macro.c | 110 static void comsubst(Mac_t*, Shnode_t*, int); 348 comsubst(mp,(Shnode_t*)0,0); in sh_machere() 371 comsubst(mp,(Shnode_t*)0,2); in sh_machere() 394 comsubst(mp,(Shnode_t*)0,1); in sh_machere() 601 comsubst(mp,(Shnode_t*)0,0); in copyto() 1040 Shnode_t node; in sh_macfun() 1172 comsubst(mp,(Shnode_t*)0,1); in varsub() 2014 comsubst(mp,(Shnode_t*)0,2); in varsub() 2028 static void comsubst(Mac_t *mp,register Shnode_t* t, int type) in comsubst() 2109 t = (Shnode_t*)sh_pars in comsubst() [all...] |
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | parse.c | 51 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 *simple(Lex_t*,int, struct ionod*); 62 static Shnode_t *test_expr(Lex_t*,int); 63 static Shnode_t *test_and(Lex_t*); 64 static Shnode_t *test_or(Lex_t*); [all …]
|
H A D | tdump.c | 40 static int p_tree(const Shnode_t*); 45 int sh_tdump(Sfio_t *out, const Shnode_t *t) in sh_tdump() 67 static int p_tree(register const Shnode_t *t) in p_tree() 96 if(p_tree((Shnode_t*)(t->wh.whinc))<0) in p_tree() 125 return(p_tree((Shnode_t*)t->for_.forlst)); in p_tree() 139 return(p_tree((Shnode_t*)t->funct.functargs)); in p_tree()
|
H A D | trestore.c | 39 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) in sh_trestore() 49 Shnode_t *t; in sh_trestore() 57 static Shnode_t *r_tree(Shell_t *shp) in r_tree() 61 register Shnode_t *t=0; in r_tree() 167 t->lst.lstlef = (Shnode_t*)r_arg(shp); in r_tree() 169 t->lst.lstrit = (Shnode_t*)r_arg(shp); in r_tree()
|
H A D | shcomp.c | 75 Shnode_t *t; in main() 138 if(t = (Shnode_t*)sh_parse(shp,in,0)) in main()
|
H A D | deparse.c | 54 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) in sh_deparse() 75 static void p_tree(register const Shnode_t *t,register int tflags) in p_tree() 175 Shnode_t *tr = t->lst.lstrit; in p_tree()
|
H A D | xec.c | 63 static pid_t sh_ntfork(Shell_t*,const Shnode_t*,char*[],int*,int); 202 static int sh_tclear(register Shnode_t *t) in sh_tclear() 224 n=sh_tclear((Shnode_t*)(t->wh.whinc)); in sh_tclear() 238 return(n+sh_tclear((Shnode_t*)t->for_.forlst)); in sh_tclear() 244 return(n+sh_tclear((Shnode_t*)t->funct.functargs)); in sh_tclear() 265 sh_tclear((Shnode_t*)arg->argchn.ap); in p_arg() 466 register Shnode_t *t; in sh_eval() 494 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL); in sh_eval() 531 static int pipe_exec(Shell_t* shp,int pv[], Shnode_t *t, int errorflg) in pipe_exec() 534 register Shnode_t *tchild = t->fork.forktre; in pipe_exec() [all …]
|
H A D | macro.c | 100 static void comsubst(Mac_t*, Shnode_t*, int); 337 comsubst(mp,(Shnode_t*)0,0); in sh_machere() 359 comsubst(mp,(Shnode_t*)0,2); in sh_machere() 382 comsubst(mp,(Shnode_t*)0,1); in sh_machere() 586 comsubst(mp,(Shnode_t*)0,0); in copyto() 979 Shnode_t *tp; in sh_macfun() 985 tp = (Shnode_t*)&node; in sh_macfun() 1106 comsubst(mp,(Shnode_t*)0,1); in varsub() 1877 comsubst(mp,(Shnode_t*)0,2); in varsub() 1891 static void comsubst(Mac_t *mp,register Shnode_t* t, int type) in comsubst() [all …]
|
H A D | main.c | 386 Shnode_t *t; in exfile() 582 t = (Shnode_t*)sh_parse(shp,iop,0); in exfile()
|
/titanic_51/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 65 typedef union Shnode_u Shnode_t; typedef 220 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
|
/titanic_51/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 65 typedef union Shnode_u Shnode_t; typedef 220 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
|
/titanic_51/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 65 typedef union Shnode_u Shnode_t; typedef 220 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
|
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 65 typedef union Shnode_u Shnode_t; typedef 220 extern __MANGLE__ int sh_exec __PROTO__((const Shnode_t*,int));
|