Searched refs:_now (Results 1 – 4 of 4) sorted by relevance
106 } _now; in qemu_gettimeofday() local109 GetSystemTimeAsFileTime (&_now.ft); in qemu_gettimeofday()110 tp->tv_usec=(long)((_now.ns100 / 10ULL) % 1000000ULL ); in qemu_gettimeofday()111 tp->tv_sec= (long)((_now.ns100 - _W32_FT_OFFSET) / 10000000ULL); in qemu_gettimeofday()
154 def _now(self): member in QueueEngine159 wake_time = self._now() + timedelta(seconds=self.seconds_to_sleep)
193 self.assertTrue(isinstance(engine._now(), datetime.datetime))197 engine._now = lambda: datetime.datetime(2010, 1, 1)
1493 Typo in _now(), add a unittest to prove I fixed it.