Searched refs:sh_scoped (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h70 struct sh_scoped struct
72 struct sh_scoped *prevst; /* pointer to previous state */
80 struct sh_scoped *self; /* pointer to copy of this scope*/
152 struct sh_scoped st; /* scoped information */ \
237 struct sh_scoped global; \
423 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dexpand.c145 cp=nv_getval(sh_scoped(shp,FIGNORENOD));
151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD));
188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD));
H A Dmacro.c175 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD)))
210 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD)))
283 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD));
2123 np = sh_scoped(mp->shp,IFSNOD);
2622 if(!(cp=nv_getval(sh_scoped(shp,HOME))))
2629 cp = nv_getval(sh_scoped(shp,PWDNOD));
2631 cp = nv_getval(sh_scoped(shp,OLDPWDNOD));
H A Dpath.c494 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp)
504 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp)
524 if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH))
1616 if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp)
H A Dsubshell.c471 struct sh_scoped savst;
692 Namval_t *pwdnod = sh_scoped(shp,PWDNOD);
H A Dxec.c468 struct sh_scoped savst;
2080 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD))))
2131 if((cp=nv_getval(sh_scoped(shp,REPLYNOD))) && *cp==0)
2832 if(!(cp=nv_getval(sh_scoped(shp,PS4NOD))))
3126 struct sh_scoped savst, *prevscope = shp->st.self;
3255 nv_getval(sh_scoped(shp,IFSNOD));
3292 if((struct sh_scoped*)shp->topscope != shp->st.self)
H A Dname.c2467 Namval_t *sh_scoped(Shell_t *shp, register Namval_t *np) function
3323 register struct sh_scoped *sp, *topmost;
3328 if ((struct sh_scoped*)shp->topscope != shp->st.self)
3329 topmost = (struct sh_scoped*)shp->topscope;
3356 shp->st = *((struct sh_scoped*)scope);
H A Dinit.c254 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD)))
256 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD)))))
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dhist.c217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD))))
H A Dcd_pwd.c101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp))
H A Dmisc.c213 struct sh_scoped savst, *prevscope = shp->st.self;
H A Dread.c286 ifs = nv_getval(mp=sh_scoped(shp,IFSNOD));

Completed in 67 milliseconds