Lines Matching refs:tv_sec
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
55 …pDst->EndTime.tv_sec = Now.tv_sec + pDst->Timeout.tv_sec; // Check necessary in 2038… in sigwrap_InitTimeout()
60 pDst->EndTime.tv_sec += (pDst->EndTime.tv_nsec / OneSecondasNS); in sigwrap_InitTimeout()
75 …if (Now.tv_sec > pTo->EndTime.tv_sec) // Can become a problem already in 2038 due to signed intege… in sigwrap_CheckTimeout()
79 pTo->Timeout.tv_sec = pTo->EndTime.tv_sec - Now.tv_sec; in sigwrap_CheckTimeout()
81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout()
89 pTo->Timeout.tv_sec--; in sigwrap_CheckTimeout()
144 Timeout.tv_sec = timeout / 1000; in sigwrap_epoll_wait()
166 timeout = To.Timeout.tv_sec * 1000 + To.Timeout.tv_nsec / 1000000; in sigwrap_epoll_wait()
179 Timeout.tv_sec = timeout / 1000; in sigwrap_epoll_pwait()
201 timeout = To.Timeout.tv_sec * 1000 + To.Timeout.tv_nsec / 1000000; in sigwrap_epoll_pwait()
296 Timeout.tv_sec = usec / 1000000; in sigwrap_usleep()
312 usec = To.Timeout.tv_sec * 1000000 + To.Timeout.tv_nsec / 1000; in sigwrap_usleep()
325 Timeout.tv_sec = timeout / 1000; in sigwrap_poll()
349 timeout = To.Timeout.tv_sec * 1000 + To.Timeout.tv_nsec / 1000000; in sigwrap_poll()