Home
last modified time | relevance | path

Searched refs:sh_scoped (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h67 struct sh_scoped struct
69 struct sh_scoped *prevst; /* pointer to previous state */ argument
77 struct sh_scoped *self; /* pointer to copy of this scope*/ argument
150 struct sh_scoped st; /* scoped information */ \
240 struct sh_scoped global; \
433 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dexpand.c145 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 Dmacro.c177 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim()
212 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand()
285 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere()
2162 np = sh_scoped(mp->shp,IFSNOD); in comsubst()
2677 if(!(cp=nv_getval(sh_scoped(shp,HOME)))) in sh_tilde()
2684 cp = nv_getval(sh_scoped(shp,PWDNOD)); in sh_tilde()
2686 cp = nv_getval(sh_scoped(shp,OLDPWDNOD)); in sh_tilde()
H A Dpath.c466 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) in path_init()
476 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) in path_init()
496 if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) in path_get()
1629 if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) in path_addpath()
H A Dsubshell.c486 struct sh_scoped savst; in sh_subshell()
746 Namval_t *pwdnod = sh_scoped(shp,PWDNOD); in sh_subshell()
H A Dxec.c504 struct sh_scoped savst; in sh_debug()
2307 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD)))) in sh_exec()
2358 if((cp=nv_getval(sh_scoped(shp,REPLYNOD))) && *cp==0) in sh_exec()
3035 if(!(cp=nv_getval(sh_scoped(shp,PS4NOD)))) in sh_trace()
3342 struct sh_scoped savst, *prevscope = shp->st.self; in sh_funscope()
3463 nv_getval(sh_scoped(shp,IFSNOD)); in sh_funscope()
3502 if((struct sh_scoped*)shp->topscope != shp->st.self) in sh_funct()
H A Dio.c2184 cp = sh_mactry(shp,nv_getval(sh_scoped(shp,PS1NOD))); in io_prompt()
2204 cp = nv_getval(sh_scoped(shp,PS2NOD)); in io_prompt()
2207 cp = nv_getval(sh_scoped(shp,PS3NOD)); in io_prompt()
2483 char *cp = nv_getval(sh_scoped(shp,LINES)); in sh_menu()
H A Dname.c2629 Namval_t *sh_scoped(Shell_t *shp, register Namval_t *np) in sh_scoped() function
3517 register struct sh_scoped *sp, *topmost; in sh_getscope()
3522 if ((struct sh_scoped*)shp->topscope != shp->st.self) in sh_getscope()
3523 topmost = (struct sh_scoped*)shp->topscope; in sh_getscope()
3550 shp->st = *((struct sh_scoped*)scope); in sh_setscope()
H A Dinit.c260 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD))) in put_ed()
262 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD))))) in put_ed()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c218 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
H A Dcd_pwd.c101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp)) in b_cd()
H A Dmisc.c213 struct sh_scoped savst, *prevscope = shp->st.self; in b_dot_cmd()
H A Dread.c297 ifs = nv_getval(mp=sh_scoped(shp,IFSNOD)); in sh_readline()