Lines Matching defs:timeout
2035 struct timeval *timeout)
2053 timeout ? (s32_t)timeout->tv_sec : (s32_t) - 1,
2054 timeout ? (s32_t)timeout->tv_usec : (s32_t) - 1));
2077 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) {
2078 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: no timeout, returning 0\n"));
2150 if (timeout == 0) {
2154 long msecs_long = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500) / 1000));
2215 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: timeout expired\n"));
2396 lwip_poll(struct pollfd *fds, nfds_t nfds, int timeout)
2406 (void*)fds, (int)nfds, timeout));
2425 if (timeout == 0) {
2426 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_poll: no timeout, returning 0\n"));
2460 if (timeout < 0) {
2464 /* timeout == 0 would have been handled earlier. */
2465 LWIP_ASSERT("timeout > 0", timeout > 0);
2466 msectimeout = timeout;
2498 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_poll: timeout expired\n"));