Searched refs:Shscope_t (Results 1 – 5 of 5) sorted by relevance
129 } Shscope_t; typedef142 Shscope_t *topscope; /* pointer to top-level scope */211 extern Shscope_t *sh_getscope(int,int);212 extern Shscope_t *sh_setscope(Shscope_t*);
275 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()
3514 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()
455 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()
1554 shp->topscope = (Shscope_t*)shp->st.self; in sh_init()