Lines Matching defs:timeout
153 int ff_network_wait_fd_timeout(int fd, int write, int64_t timeout, AVIOInterruptCB *int_cb)
164 if (timeout > 0) {
167 else if (av_gettime_relative() - wait_start > timeout)
216 static int ff_poll_interrupt(struct pollfd *p, nfds_t nfds, int timeout,
219 int runs = timeout / POLLING_TIME;
228 } while (timeout <= 0 || runs-- > 0);
258 socklen_t addrlen, int timeout, URLContext *h)
274 ret = ff_poll_interrupt(&lp, 1, timeout, &h->interrupt_callback);
291 socklen_t addrlen, int timeout, URLContext *h,
310 ret = ff_poll_interrupt(&p, 1, timeout, &h->interrupt_callback);