Lines Matching refs:shp
49 register Shell_t *shp = context->shp; in b_sleep() local
53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF))) in b_sleep()
78 else if(*last=='.' && shp->decomma && d==(unsigned long)d) in b_sleep()
116 shp->lastsig=0; in b_sleep()
118 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig) in b_sleep()
120 sh_sigcheck(shp); in b_sleep()
124 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in b_sleep()
125 sh_timetraps(shp); in b_sleep()
138 Shell_t *shp = sh_getinterp(); in sleep() local
142 shp->lastsig = 0; in sleep()
146 if(!shp->gd->waitevent || (*shp->gd->waitevent)(-1,-1L,0)==0) in sleep()
148 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in sleep()
149 sh_timetraps(shp); in sleep()
153 shp->lastsig = 0; in sleep()
154 shp->trapnote &= ~SH_SIGSET; in sleep()
162 while(!expired && shp->lastsig==0); in sleep()
165 sh_sigcheck(shp); in sleep()
173 Shell_t *shp = sh_getinterp(); in sh_delay() local
180 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()