Lines Matching full:if
12 #if defined(__linux__)
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout()
68 …if (pTo->OnePoll == TRUE) // Make sure, that in the case that a single poll is requested at least … in sigwrap_CheckTimeout()
75 …if (Now.tv_sec > pTo->EndTime.tv_sec) // Can become a problem already in 2038 due to signed intege… in sigwrap_CheckTimeout()
81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout()
83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout()
86 else if (pTo->Timeout.tv_nsec < 0) in sigwrap_CheckTimeout()
101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop()
104 if (errno != EINTR) in sigwrap_semop()
113 if (timeout != -1) in sigwrap_epoll_wait()
127 if (Result != -1) in sigwrap_epoll_wait()
130 if (errno != EINTR) in sigwrap_epoll_wait()
133 if (timeout == -1) in sigwrap_epoll_wait()
136 if (sigwrap_CheckTimeout(&To)) in sigwrap_epoll_wait()
148 if (timeout != -1) in sigwrap_epoll_pwait()
162 if (Result != -1) in sigwrap_epoll_pwait()
165 if (errno != EINTR) in sigwrap_epoll_pwait()
168 if (timeout == -1) in sigwrap_epoll_pwait()
171 if (sigwrap_CheckTimeout(&To)) in sigwrap_epoll_pwait()
185 if (Result != -1) in sigwrap_sigwaitinfo()
188 if (errno != EINTR) in sigwrap_sigwaitinfo()
204 if (Result != -1) in sigwrap_sigtimedwait()
207 if (errno != EINTR) in sigwrap_sigtimedwait()
210 if (sigwrap_CheckTimeout(&To)) in sigwrap_sigtimedwait()
220 if (!rem) in sigwrap_nanosleep()
227 if (nanosleep(&Wait, rem) == 0) in sigwrap_nanosleep()
230 if (errno != EINTR) in sigwrap_nanosleep()
242 if (!remain) in sigwrap_clock_nanosleep()
251 if (Result == 0) in sigwrap_clock_nanosleep()
254 if (Result != EINTR) in sigwrap_clock_nanosleep()
257 if (flags != TIMER_ABSTIME) in sigwrap_clock_nanosleep()
276 if (usleep(usec) == 0) in sigwrap_usleep()
279 if (errno != EINTR) in sigwrap_usleep()
282 if (sigwrap_CheckTimeout(&To)) in sigwrap_usleep()
294 if (timeout > 0) in sigwrap_poll()
308 if (Result != -1) in sigwrap_poll()
311 if (errno != EINTR) in sigwrap_poll()
314 if (timeout < 0) // Specifying a negative value in timeout means an infinite/no timeout. in sigwrap_poll()
316 else if (timeout == 0) in sigwrap_poll()
319 if (sigwrap_CheckTimeout(&To)) in sigwrap_poll()
332 if (Result != -1) in sigwrap_select()
335 if (errno != EINTR) in sigwrap_select()
346 if (timeout != NULL) in sigwrap_pselect()
356 if (Result != -1) in sigwrap_pselect()
359 if (errno != EINTR) in sigwrap_pselect()
362 if (timeout == NULL) in sigwrap_pselect()
365 if (sigwrap_CheckTimeout(&To)) in sigwrap_pselect()
377 if (Result != -1) in sigwrap_msgsnd()
380 if (errno != EINTR) in sigwrap_msgsnd()
392 if (Result != -1) in sigwrap_msgrcv()
395 if (errno != EINTR) in sigwrap_msgrcv()
407 if (Result != -1) in sigwrap_connect()
410 if (errno != EINTR) in sigwrap_connect()
422 if (Result != -1) in sigwrap_send()
425 if (errno != EINTR) in sigwrap_send()
438 if (Result != -1) in sigwrap_sendto()
441 if (errno != EINTR) in sigwrap_sendto()
453 if (Result != -1) in sigwrap_sendsendmsg()
456 if (errno != EINTR) in sigwrap_sendsendmsg()
468 if (Result != -1) in sigwrap_accept()
471 if (errno != EINTR) in sigwrap_accept()
485 if (Result != -1) in sigwrap_read()
488 if (errno != EINTR) in sigwrap_read()
501 //* (A disk is not a slow device according to this definition.) If an I/O call on a slow device has…
511 if (Transfered == 0) // EOF reached? in sigwrap_blocking_read()
514 if (Transfered != -1) in sigwrap_blocking_read()
521 if (errno != EINTR) in sigwrap_blocking_read()
535 if (Result != -1) in sigwrap_readv()
538 if (errno != EINTR) in sigwrap_readv()
550 if (Result != -1) in sigwrap_recv()
553 if (errno != EINTR) in sigwrap_recv()
565 if (Result != -1) in sigwrap_recvfrom()
568 if (errno != EINTR) in sigwrap_recvfrom()
580 if (Result != -1) in sigwrap_recvmsg()
583 if (errno != EINTR) in sigwrap_recvmsg()
598 if (Result != -1) in sigwrap_write()
601 if (errno != EINTR) in sigwrap_write()
613 //* (A disk is not a slow device according to this definition.) If an I/O call on a slow device has…
623 if (Written != -1) in sigwrap_blocking_write()
630 if (errno != EINTR) in sigwrap_blocking_write()
644 if (Result != -1) in sigwrap_writev()
647 if (errno != EINTR) in sigwrap_writev()
657 if (errno != EINTR) in sigwrap_close()
671 if(hFile != -1) in sigwrap_open_mode()
674 if (errno != EINTR) in sigwrap_open_mode()
685 if(hFile != -1) in sigwrap_open()
688 if (errno != EINTR) in sigwrap_open()
700 if(Result != -1) in sigwrap_wait()
703 if(errno != EINTR) in sigwrap_wait()
715 if(Result != -1) in sigwrap_waitpid()
718 if(errno != EINTR) in sigwrap_waitpid()
730 if(Result != -1) in sigwrap_waitid()
733 if(errno != EINTR) in sigwrap_waitid()
745 if(Result != -1) in sigwrap_flock()
748 if(errno != EINTR) in sigwrap_flock()