Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 9 of 9) sorted by relevance

/external/bluetooth/glib/gio/
Dgfilemonitor.c462 guint32 time_now) in rate_limiter_send_delayed_change_now() argument
470 limiter->last_sent_change_time = time_now; in rate_limiter_send_delayed_change_now()
476 guint32 time_now; member
483 guint32 time_now, in calc_min_time() argument
496 if (time_difference (time_now, expire_at) > 0) in calc_min_time()
500 time_difference (time_now, expire_at)); in calc_min_time()
508 time_difference (time_now, limiter->send_delayed_change_at)); in calc_min_time()
515 time_difference (time_now, limiter->send_virtual_changes_done_at)); in calc_min_time()
530 time_difference (data->time_now, limiter->send_delayed_change_at) == 0) in foreach_rate_limiter_fire()
531 rate_limiter_send_delayed_change_now (data->monitor, limiter, data->time_now); in foreach_rate_limiter_fire()
[all …]
/external/dbus/dbus/
Ddbus-sysdeps-pthread.c266 struct timeval time_now; in _dbus_pthread_condvar_wait_timeout() local
279 time_now.tv_sec = monotonic_timer.tv_sec; in _dbus_pthread_condvar_wait_timeout()
280 time_now.tv_usec = monotonic_timer.tv_nsec / 1000; in _dbus_pthread_condvar_wait_timeout()
285 gettimeofday (&time_now, NULL); in _dbus_pthread_condvar_wait_timeout()
287 end_time.tv_sec = time_now.tv_sec + timeout_milliseconds / 1000; in _dbus_pthread_condvar_wait_timeout()
288 end_time.tv_nsec = (time_now.tv_usec + (timeout_milliseconds % 1000) * 1000) * 1000; in _dbus_pthread_condvar_wait_timeout()
/external/qemu/
Diolooper-select.c226 struct timeval time_now; in iolooper_now() local
227 return gettimeofday(&time_now, NULL) ? -1 : (int64_t)time_now.tv_sec * 1000LL + in iolooper_now()
228 time_now.tv_usec / 1000; in iolooper_now()
/external/v8/src/
Dd8-posix.cc114 struct timeval time_now; in WaitOnFD() local
115 gettimeofday(&time_now, NULL); in WaitOnFD()
116 int seconds = time_now.tv_sec - start_time.tv_sec; in WaitOnFD()
117 gone = seconds * 1000 + (time_now.tv_usec - start_time.tv_usec) / 1000; in WaitOnFD()
144 struct timeval time_now; in TimeIsOut() local
145 gettimeofday(&time_now, NULL); in TimeIsOut()
147 int seconds = time_now.tv_sec - start_time.tv_sec; in TimeIsOut()
152 int useconds = time_now.tv_usec - start_time.tv_usec; in TimeIsOut()
Dplatform-win32.cc470 TimeStamp time_now; in SetToCurrentTime() local
471 GetSystemTimeAsFileTime(&time_now.ft_); in SetToCurrentTime()
478 needs_resync |= (time_now.t_ - init_time.t_) > kMaxClockElapsedTime; in SetToCurrentTime()
/external/chromium/net/url_request/
Durl_request_throttler_unittest.cc85 void ResetToBlank(const TimeTicks& time_now) { in ResetToBlank() argument
86 fake_time_now_ = time_now; in ResetToBlank()
87 mock_backoff_entry_.SetFakeNow(time_now); in ResetToBlank()
90 GetBackoffEntry()->SetCustomReleaseTime(time_now); in ResetToBlank()
91 set_sliding_window_release_time(time_now); in ResetToBlank()
/external/chromium/chrome/browser/extensions/
Dextension_idle_api.cc105 double time_now = base::Time::Now().ToDoubleT(); in ThrottledCalculateIdleState() local
106 double delta = time_now - polling_data.timestamp; in ThrottledCalculateIdleState()
/external/dnsmasq/src/
Dlog.c263 time_t time_now; in my_syslog() local
337 time(&time_now); in my_syslog()
342 p += sprintf(p, "%.15s dnsmasq%s[%d]: ", ctime(&time_now) + 4, func, (int)pid); in my_syslog()
/external/openssh/
Dmoduli.c150 time_t time_now; in qfileout() local
153 time(&time_now); in qfileout()
154 gtm = gmtime(&time_now); in qfileout()