Lines Matching defs:shp
38 Shell_t *shp = *(Shell_t**)(dp+1);
39 Stk_t *stkp = shp->stk;
41 if((shp->namespace && sh_fsearch(shp,s,0)) || nv_search(s,shp->fun_tree,0))
43 if(nv_search(s,shp->fun_tree,0))
51 sfputr(sp,sh_mactry(shp,stkfreeze(stkp,1)),-1);
62 register Shell_t *shp = context->shp;
74 disc.sh = shp;
96 np = nv_open(argv[1],shp->var_tree,NV_NOASSIGN|NV_VARNAME);
104 argv = shp->st.dolv;
105 argc = shp->st.dolc;
107 opt_info.index = shp->st.optindex;
108 opt_info.offset = shp->st.optchar;
112 sh_pushcontext(shp,&buff,1);
116 sh_popcontext(shp,&buff);
117 shp->st.opterror = 1;
120 pp = (struct checkpt*)shp->jmplist;
145 shp->st.opterror = 1;
153 if(shp->st.opterror)
177 shp->st.optindex = opt_info.index;
178 shp->st.optchar = opt_info.offset;
181 np = nv_open(nv_name(OPTARGNOD),shp->var_tree,0);
199 sh_popcontext(shp,&buff);