Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/firmware_EventLog/
Dfirmware_EventLog.py35 now = self._now()
51 def _now(self): member in firmware_EventLog
77 self._cutoff_time = self._now()
94 self._cutoff_time = self._now()
111 self._cutoff_time = self._now()
131 self._cutoff_time = self._now()
150 self._cutoff_time = self._now()
166 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/python/cpython3/Lib/http/
Dcookiejar.py1125 if cookie.is_expired(self._now):
1354 self._policy._now = self._now = int(time.time())
1456 v = self._now + v
1543 elif expires <= self._now:
1645 self._policy._now = self._now = int(time.time())
1672 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()