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

/ast/src/lib/libtksh/src/
H A Dshcompat.c7 Shscope_t *sp = sh_getscope(0, 1);
H A Deval.c394 static Shscope_t *globalframe;
395 Shscope_t *oldframe;
408 static Shscope_t *globalframe;
409 Shscope_t *oldframe;
/ast/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*);
/ast/src/lib/libtksh/include/
H A Dshcompat.h61 typedef Shscope_t CallFrame;
/ast/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;
/ast/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 31 milliseconds