Searched refs:time_left (Results 1 – 10 of 10) sorted by relevance
/external/iptables/iptables/ |
D | xshared.c | 251 struct timeval time_left, wait_time; in xtables_lock() local 254 time_left.tv_sec = wait; in xtables_lock() 255 time_left.tv_usec = 0; in xtables_lock() 276 else if (timercmp(&time_left, wait_interval, <)) in xtables_lock() 282 time_left.tv_sec, time_left.tv_usec); in xtables_lock() 287 timersub(&time_left, wait_interval, &time_left); in xtables_lock()
|
/external/autotest/server/cros/servo/ |
D | servo.py | 286 time_left = float(timeout) 287 while time_left > 0.0: 292 time_left = time_left - self.SHORT_DELAY 304 time_left = float(timeout) 305 while time_left > 0.0: 310 time_left = time_left - self.SHORT_DELAY
|
/external/autotest/client/bin/net/ |
D | net_utils.py | 548 time_left = timeout 550 while time_left or (timeout == 0): 556 if timeout and time_left: 557 time_left -= raw_socket.SOCKET_TIMEOUT 560 if timeout and time_left: 561 time_left -= raw_socket.SOCKET_TIMEOUT 563 return packet, time_left
|
D | net_utils_unittest.py | 1134 packet, time_left = sock.recv(1)
|
/external/curl/lib/ |
D | progress.c | 353 char time_left[10]; in Curl_pgrsUpdate() local 521 time2str(time_left, total_estimate > 0?(total_estimate - timespent):0); in Curl_pgrsUpdate() 557 time_left, /* 8 letters */ /* time left */ in Curl_pgrsUpdate()
|
/external/webrtc/webrtc/modules/video_coding/test/ |
D | rtp_player.cc | 404 int64_t time_left = (next_rtp_time_ - first_packet_rtp_time_) - in TimeUntilNextPacket() local 406 if (time_left < 0) { in TimeUntilNextPacket() 409 return static_cast<uint32_t>(time_left); in TimeUntilNextPacket()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | discovery.c | 44 static int time_left(struct timeval *diff, struct timeval *exp) in time_left() function 372 if (!time_left(&tv, &expire_at)) in waitForPADO() 557 if (!time_left(&tv, &expire_at)) in waitForPADS()
|
/external/curl/tests/ |
D | http_pipe.py | 360 time_left = self._GetTimeUntilTimeout() 362 max_poll_time = min(time_left, time_until_next_send) + MIN_POLL_TIME
|
/external/autotest/client/common_lib/ |
D | utils.py | 847 time_left = stop_time - time.time() 849 time_left = None # so that select never times out 851 while not timeout or time_left > 0: 907 time_left = stop_time - time.time()
|
/external/curl/lib/vtls/ |
D | nss.c | 1931 const long time_left = Curl_timeleft(data, NULL, TRUE); in nss_do_connect() local 1932 if(time_left < 0L) { in nss_do_connect() 1939 timeout = PR_MillisecondsToInterval((PRUint32) time_left); in nss_do_connect()
|