Lines Matching refs:timeout
153 struct timeval *timeout = userp; in curlTimerCallback() local
162 *timeout = tutil_tvnow(); in curlTimerCallback()
163 timeout->tv_usec += (int)timeout_ms * 1000; in curlTimerCallback()
166 timeout->tv_sec = -1; in curlTimerCallback()
200 static int getMicroSecondTimeout(struct timeval *timeout) in getMicroSecondTimeout() argument
205 result = (ssize_t)((timeout->tv_sec - now.tv_sec) * 1000000 + in getMicroSecondTimeout()
206 timeout->tv_usec - now.tv_usec); in getMicroSecondTimeout()
264 struct timeval timeout = {-1, 0}; in testone() local
294 multi_setopt(m, CURLMOPT_TIMERDATA, &timeout); in testone()
313 if(timeout.tv_sec != -1) { in testone()
314 int usTimeout = getMicroSecondTimeout(&timeout); in testone()
336 if(timeout.tv_sec != -1 && getMicroSecondTimeout(&timeout) == 0) { in testone()