Lines Matching refs:timeout
721 int timeout = (statp->retrans << ns);
723 timeout /= statp->nscount;
725 if (timeout <= 0) {
726 timeout = 1;
729 __libc_format_log(ANDROID_LOG_DEBUG, "libc", "using timeout of %d sec\n", timeout);
732 return timeout;
948 struct timespec now, timeout, finish;
960 timeout = evConsTime((long)sec, 0L);
961 finish = evAddTime(now, timeout);
983 struct timespec now, timeout;
1003 timeout = evSubTime(*finish, now);
1005 timeout = evConsTime(0L, 0L);
1007 n = pselect(sock + 1, readset, writeset, NULL, &timeout, NULL);
1011 " %d retrying_select timeout\n", sock);
1055 struct timespec now, timeout, finish;
1142 timeout = evConsTime((long)seconds, 0L);
1143 finish = evAddTime(now, timeout);
1148 Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));