Lines Matching refs:timeout_ms
99 long *timeout_ms);
1248 int timeout_ms, argument
1277 if(timeout_ms < 0)
1351 if((timeout_internal >= 0) && (timeout_internal < (long)timeout_ms))
1352 timeout_ms = (int)timeout_internal;
1366 pollrc = Curl_poll(cpfds.pfds, cpfds.n, timeout_ms); /* wait... */
1378 WSAWaitForMultipleEvents(1, &multi->wsa_event, FALSE, (DWORD)timeout_ms,
1478 if(sleep_ms > timeout_ms)
1479 sleep_ms = timeout_ms;
1483 sleep_ms = timeout_ms;
1496 int timeout_ms, argument
1499 return multi_wait(multi, extra_fds, extra_nfds, timeout_ms, ret, FALSE,
1506 int timeout_ms, argument
1509 return multi_wait(multi, extra_fds, extra_nfds, timeout_ms, ret, TRUE,
1679 timediff_t timeout_ms = Curl_timeleft(data, now, connect_timeout); local
1680 if(timeout_ms < 0) {
3732 long *timeout_ms) argument
3737 *timeout_ms = 0;
3759 *timeout_ms = (long)diff;
3763 *timeout_ms = 0;
3768 *timeout_ms = -1;
3775 long *timeout_ms) argument
3787 return multi_timeout(multi, &expire_time, timeout_ms);
3799 long timeout_ms; local
3805 if(multi_timeout(multi, &expire_ts, &timeout_ms)) {
3809 if(timeout_ms < 0 && multi->last_timeout_ms < 0) {
3814 else if(timeout_ms < 0) {
3820 timeout_ms = -1; /* normalize */
3849 fprintf(stderr, "Curl_update_timer(), set timeout %ldms\n", timeout_ms);
3852 multi->last_timeout_ms = timeout_ms;
3854 rc = multi->timer_cb(multi, timeout_ms, multi->timer_userp);