Lines Matching refs:ms
387 long ms; /* timeout, run the timeout function when reached */ member
410 ev->ms = timeout_ms; in events_timer()
584 fprintf(stderr, "poll(numfds=%d, timeout=%ldms)\n", numfds, ev->ms); in wait_or_timeout()
586 pollrc = Curl_poll(fds, (unsigned int)numfds, ev->ms); in wait_or_timeout()
589 numfds, ev->ms, pollrc); in wait_or_timeout()
596 fprintf(stderr, "poll, but no fds, wait timeout=%ldms\n", ev->ms); in wait_or_timeout()
599 if(ev->ms > 0) in wait_or_timeout()
600 Curl_wait_ms(ev->ms); in wait_or_timeout()
607 ev->ms = 0; in wait_or_timeout()
635 if(!ev->msbump && ev->ms >= 0) { in wait_or_timeout()
643 "time spent %ldms\n", ev->ms, (long)timediff); in wait_or_timeout()
645 if(timediff > ev->ms) in wait_or_timeout()
646 ev->ms = 0; in wait_or_timeout()
648 ev->ms -= (long)timediff; in wait_or_timeout()