Lines Matching refs:shp
49 register Shell_t *shp = context->shp;
53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF)))
78 else if(*last=='.' && shp->decomma && d==(unsigned long)d)
116 shp->lastsig=0;
118 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig)
120 sh_sigcheck(shp);
124 if(shp->sigflag[SIGALRM]&SH_SIGTRAP)
125 sh_timetraps(shp);
138 Shell_t *shp = sh_getinterp();
142 shp->lastsig = 0;
146 if(!shp->gd->waitevent || (*shp->gd->waitevent)(-1,-1L,0)==0)
148 if(shp->sigflag[SIGALRM]&SH_SIGTRAP)
149 sh_timetraps(shp);
153 shp->lastsig = 0;
154 shp->trapnote &= ~SH_SIGSET;
162 while(!expired && shp->lastsig==0);
165 sh_sigcheck(shp);
176 Shell_t *shp = sh_getinterp();
188 if(!shp->gd->waitevent || (*shp->gd->waitevent)(-1,(long)n,0)==0)
196 if(n=(int)(1000*t) && shp->gd->waitevent && (*shp->gd->waitevent)(-1,(long)n,0))
214 if(!shp->gd->waitevent || (*shp->gd->waitevent)(-1,(long)n,0)==0)
228 t *= shp->gd->lim.clk_tck;