Searched refs:sh_scoped (Results 1 – 12 of 12) sorted by relevance
/titanic_44/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 70 struct sh_scoped struct 72 struct sh_scoped *prevst; /* pointer to previous state */ argument 80 struct sh_scoped *self; /* pointer to copy of this scope*/ argument 115 struct sh_scoped st; /* scoped information */ \ argument 209 struct sh_scoped global; \ 392 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 145 cp=nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand() 151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD)); in path_expand() 188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
|
H A D | macro.c | 167 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim() 202 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand() 274 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere() 2014 np = sh_scoped(mp->shp,IFSNOD); in comsubst() 2491 if(!(cp=nv_getval(sh_scoped(shp,HOME)))) in sh_tilde() 2498 cp = nv_getval(sh_scoped(shp,PWDNOD)); in sh_tilde() 2500 cp = nv_getval(sh_scoped(shp,OLDPWDNOD)); in sh_tilde()
|
H A D | subshell.c | 481 struct sh_scoped savst; in sh_subshell() 692 Namval_t *pwdnod = sh_scoped(shp,PWDNOD); in sh_subshell()
|
H A D | xec.c | 398 struct sh_scoped savst; in sh_debug() 1643 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD)))) in sh_exec() 1685 if((cp=nv_getval(sh_scoped(shp,REPLYNOD))) && *cp==0) in sh_exec() 2309 if(!(cp=nv_getval(sh_scoped(shp,PS4NOD)))) in sh_trace() 2557 struct sh_scoped savst, *prevscope = shp->st.self; in sh_funscope() 2668 nv_getval(sh_scoped(shp,IFSNOD)); in sh_funscope() 2703 if((struct sh_scoped*)shp->topscope != shp->st.self) in sh_funct()
|
H A D | io.c | 1892 cp = sh_mactry(shp,nv_getval(sh_scoped(shp,PS1NOD))); in io_prompt() 1912 cp = nv_getval(sh_scoped(shp,PS2NOD)); in io_prompt() 1915 cp = nv_getval(sh_scoped(shp,PS3NOD)); in io_prompt() 2183 char *cp = nv_getval(sh_scoped(shp,LINES)); in sh_menu()
|
H A D | name.c | 2290 Namval_t *sh_scoped(Shell_t *shp, register Namval_t *np) in sh_scoped() function 3064 register struct sh_scoped *sp, *topmost; in sh_getscope() 3069 if ((struct sh_scoped*)sh.topscope != sh.st.self) in sh_getscope() 3070 topmost = (struct sh_scoped*)sh.topscope; in sh_getscope() 3096 sh.st = *((struct sh_scoped*)scope); in sh_setscope()
|
H A D | path.c | 487 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) in path_init() 499 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) in path_init()
|
H A D | init.c | 209 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD))) in put_ed() 211 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD))))) in put_ed()
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | hist.c | 217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
|
H A D | misc.c | 213 struct sh_scoped savst, *prevscope = shp->st.self; in b_dot_cmd()
|
H A D | read.c | 280 ifs = nv_getval(mp=sh_scoped(shp,IFSNOD)); in sh_readline()
|