Lines Matching refs:timeout
126 struct timeval *timeout = userp; in curlTimerCallback() local
130 *timeout = tutil_tvnow(); in curlTimerCallback()
131 timeout->tv_usec += (int)timeout_ms * 1000; in curlTimerCallback()
134 timeout->tv_sec = -1; in curlTimerCallback()
168 static int getMicroSecondTimeout(struct timeval *timeout) in getMicroSecondTimeout() argument
173 result = (ssize_t)((timeout->tv_sec - now.tv_sec) * 1000000 + in getMicroSecondTimeout()
174 timeout->tv_usec - now.tv_usec); in getMicroSecondTimeout()
230 struct timeval timeout = {-1, 0}; in test() local
295 multi_setopt(m, CURLMOPT_TIMERDATA, &timeout); in test()
309 if(timeout.tv_sec != -1) { in test()
310 int usTimeout = getMicroSecondTimeout(&timeout); in test()
325 if(timeout.tv_sec != -1 && getMicroSecondTimeout(&timeout) == 0) { in test()