Lines Matching defs:shp
49 register Shell_t *shp = context->shp;
50 struct checkpt *pp = (struct checkpt*)shp->jmplist;
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10):shp->oldexit));
68 if(n<0 || n==256 || n > SH_EXITMASK+shp->gd->sigmax+1)
71 if(shp->fn_depth==0 && shp->dot_depth==0 && !sh_isstate(SH_PROFILE))
73 sh_exit(shp->savexit=n);
89 register Shell_t *shp = context->shp;
109 if(shp->st.loopcnt)
111 shp->st.execbrk = shp->st.breakcnt = n;
112 if(shp->st.breakcnt > shp->st.loopcnt)
113 shp->st.breakcnt = shp->st.loopcnt;
115 shp->st.breakcnt = -shp->st.breakcnt;