Home
last modified time | relevance | path

Searched refs:_now (Results 1 – 8 of 8) sorted by relevance

/external/autotest/site_utils/suite_scheduler/
Dtimed_event_unittest.py49 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fake_now)
58 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fake_now)
65 timed_event.TimedEvent._now().MultipleTimes().AndReturn(self.BaseTime())
75 timed_event.TimedEvent._now().AndReturn(init_now)
76 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fire_now)
86 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fake_now)
95 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fake_now)
106 timed_event.TimedEvent._now().MultipleTimes().AndReturn(fake_now)
118 timed_event.TimedEvent._now().MultipleTimes().AndReturn(self.BaseTime())
158 timed_event.TimedEvent._now().MultipleTimes().AndReturn(self.BaseTime())
[all …]
Dtimed_event.py47 def _now(): member in TimedEvent
62 return self._now() >= self._deadline
143 now = self._now()
163 current_hour = self._now().hour
216 now = self._now()
252 current_day = self._now().weekday()
/external/autotest/server/site_tests/firmware_EventLog/
Dfirmware_EventLog.py33 now = self._now()
49 def _now(self): member in firmware_EventLog
75 self._cutoff_time = self._now()
92 self._cutoff_time = self._now()
109 self._cutoff_time = self._now()
127 self._cutoff_time = self._now()
146 self._cutoff_time = self._now()
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate.py75 def _needs_more_time(self, start_time, duration, _now=None): argument
88 if not _now:
91 time_diff = _now - start_time
Dwb_kupdate_unittest.py37 _now=datetime.datetime.now() + datetime.timedelta(seconds=60)))
/external/python/cpython2/Lib/
Dcookielib.py1119 if cookie.is_expired(self._now):
1338 self._policy._now = self._now = int(time.time())
1440 v = self._now + v
1527 elif expires <= self._now:
1629 self._policy._now = self._now = int(time.time())
1656 self._policy._now = self._now = int(time.time())
/external/libusb/libusb/
Dcore.c2297 } _now; in usbi_gettimeofday() local
2304 SystemTimeToFileTime(&st, &_now.ft); in usbi_gettimeofday()
2306 GetSystemTimeAsFileTime (&_now.ft); in usbi_gettimeofday()
2308 tp->tv_usec=(long)((_now.ns100 / 10) % 1000000 ); in usbi_gettimeofday()
2309 tp->tv_sec= (long)((_now.ns100 - _W32_FT_OFFSET) / 10000000); in usbi_gettimeofday()
/external/syslinux/core/lwip/
DCHANGELOG633 * tcp.h/.c: bug #28127 (remove call to tcp_output() from tcp_ack(_now)())