Home
last modified time | relevance | path

Searched refs:abs_time (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/util/
Dcnd_monotonic.h110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, const struct timespec *abs_time) in u_cnd_monotonic_timedwait() argument
114 assert(abs_time != NULL); in u_cnd_monotonic_timedwait()
117 const uint64_t future = (abs_time->tv_sec * 1000) + (abs_time->tv_nsec / 1000000); in u_cnd_monotonic_timedwait()
124 int rt = pthread_cond_timedwait(&cond->cond, mtx, abs_time); in u_cnd_monotonic_timedwait()
/third_party/mesa3d/src/c11/impl/
Dthreads_win32.c103 static DWORD impl_abs2relmsec(const struct timespec *abs_time) in impl_abs2relmsec() argument
105 const time_t abs_ms = impl_timespec2msec(abs_time); in impl_abs2relmsec()
221 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() argument
225 assert(abs_time != NULL); in cnd_timedwait()
226 const DWORD timeout = impl_abs2relmsec(abs_time); in cnd_timedwait()
Dthreads_posix.c115 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() argument
121 assert(abs_time != NULL); in cnd_timedwait()
123 rt = pthread_cond_timedwait(cond, mtx, abs_time); in cnd_timedwait()
/third_party/lwip/src/core/
Dtimeouts.c183 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg, const char *handler_name) in sys_timeout_abs() argument
185 sys_timeout_abs(u32_t abs_time, sys_timeout_handler handler, void *arg) in sys_timeout_abs()
199 timeout->time = abs_time; in sys_timeout_abs()
204 (void *)timeout, abs_time, handler_name, (void *)arg)); in sys_timeout_abs()
/third_party/pulseaudio/src/pulsecore/
Dcore-rtclock.c69 uint64_t val, abs_time = mach_absolute_time(); in pa_rtclock_get() local
72 nanos = AbsoluteToNanoseconds(*(AbsoluteTime *) &abs_time); in pa_rtclock_get()