Home
last modified time | relevance | path

Searched refs:Shscope_t (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshell.h129 } Shscope_t; typedef
142 Shscope_t *topscope; /* pointer to top-level scope */
211 extern Shscope_t *sh_getscope(int,int);
212 extern Shscope_t *sh_setscope(Shscope_t*);
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c275 shp->topscope = (Shscope_t*)shp->st.self; in b_dot_cmd()
314 memcpy((void*)&shp->st, (void*)prevscope, sizeof(Shscope_t)); in b_dot_cmd()
315 shp->topscope = (Shscope_t*)prevscope; in b_dot_cmd()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dname.c3514 Shscope_t *sh_getscope(int index, int whence) in sh_getscope()
3537 return((Shscope_t*)0); in sh_getscope()
3539 return((Shscope_t*)sp); in sh_getscope()
3545 Shscope_t *sh_setscope(Shscope_t *scope) in sh_setscope()
3548 Shscope_t *old = (Shscope_t*)shp->st.self; in sh_setscope()
H A Dxec.c455 Shscope_t *sp; in put_level()
3365 shp->topscope = (Shscope_t*)shp->st.self; in sh_funscope()
3449 if(shp->topscope != (Shscope_t*)shp->st.self) in sh_funscope()
3462 shp->topscope = (Shscope_t*)prevscope; in sh_funscope()
3534 Shscope_t *sp = sh_getscope(0,SEEK_END); in sh_funct()
H A Dinit.c1554 shp->topscope = (Shscope_t*)shp->st.self; in sh_init()