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

/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/include/
H A Dshell.h129 } Shscope_t; typedef in typeref:struct:sh_scope
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*);
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/bltins/
H A Dmisc.c275 shp->topscope = (Shscope_t*)shp->st.self;
313 /* only restore the top Shscope_t portion for posix functions */
314 memcpy((void*)&shp->st, (void*)prevscope, sizeof(Shscope_t));
315 shp->topscope = (Shscope_t*)prevscope;
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dname.c3496 Shscope_t *sh_getscope(int index, int whence)
3519 return((Shscope_t*)0);
3521 return((Shscope_t*)sp);
3527 Shscope_t *sh_setscope(Shscope_t *scope)
3530 Shscope_t *old = (Shscope_t*)shp->st.self;
H A Dxec.c452 Shscope_t *sp;
3348 shp->topscope = (Shscope_t*)shp->st.self;
3430 if(shp->topscope != (Shscope_t*)shp->st.self)
3443 shp->topscope = (Shscope_t*)prevscope;
3514 Shscope_t *sp = sh_getscope(0,SEEK_END);
H A Dinit.c1547 shp->topscope = (Shscope_t*)shp->st.self;

Completed in 287 milliseconds