/external/libcups/cups/ |
D | thread.c | 57 struct timespec abstime; /* Timeout */ in _cupsCondWait() local 59 clock_gettime(CLOCK_REALTIME, &abstime); in _cupsCondWait() 61 abstime.tv_sec += (long)timeout; in _cupsCondWait() 62 abstime.tv_nsec += (long)(1000000000 * (timeout - (long)timeout)); in _cupsCondWait() 64 while (abstime.tv_nsec >= 1000000000) in _cupsCondWait() 66 abstime.tv_nsec -= 1000000000; in _cupsCondWait() 67 abstime.tv_sec ++; in _cupsCondWait() 70 pthread_cond_timedwait(cond, mutex, &abstime); in _cupsCondWait()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_queue.h | 127 struct timespec abstime; in wsi_queue_pull() local 128 abstime.tv_nsec = abs_nsec; in wsi_queue_pull() 129 abstime.tv_sec = MIN2(abs_sec, INT_TYPE_MAX(abstime.tv_sec)); in wsi_queue_pull() 132 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime); in wsi_queue_pull()
|
/external/libevent/ |
D | evthread_pthread.c | 144 struct timeval now, abstime; in evthread_posix_cond_wait() local 147 evutil_timeradd(&now, tv, &abstime); in evthread_posix_cond_wait() 148 ts.tv_sec = abstime.tv_sec; in evthread_posix_cond_wait() 149 ts.tv_nsec = abstime.tv_usec*1000; in evthread_posix_cond_wait()
|
D | evutil_time.c | 365 ev_uint64_t abstime, usec; in evutil_gettime_monotonic_() local 373 abstime = mach_absolute_time(); in evutil_gettime_monotonic_() 374 usec = (abstime * base->mach_timebase_units.numer) in evutil_gettime_monotonic_()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
D | 9-1-buildonly.c | 14 struct timespec abstime; in test_mq_timedreceive_prototype() local 24 size = mq_timedreceive(mqdes, msgp, msg_len, &msg_prio, &abstime); in test_mq_timedreceive_prototype()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 123 const timespec *abstime) { in INTERCEPTOR() argument 125 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); in INTERCEPTOR() 148 const timespec *abstime) { in INTERCEPTOR() argument 150 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime); in INTERCEPTOR() 194 const timespec *abstime) { in INTERCEPTOR() argument 199 int res = REAL(pthread_cond_timedwait)(cond, m, abstime); in INTERCEPTOR()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_mac.cc | 178 void *abstime), void *c, void *m, void *abstime, in call_pthread_cancel_with_cleanup() argument 184 res = fn(c, m, abstime); in call_pthread_cancel_with_cleanup()
|
D | tsan_platform_linux.cc | 319 void *abstime), void *c, void *m, void *abstime, in call_pthread_cancel_with_cleanup() argument 325 res = fn(c, m, abstime); in call_pthread_cancel_with_cleanup()
|
D | tsan_interceptors.cc | 1047 int (*fn)(void *c, void *m, void *abstime), void *c, in cond_wait() argument 1069 return cond_wait(thr, pc, &si, (int (*)(void *c, void *m, void *abstime))REAL( in INTERCEPTOR() 1074 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() argument 1076 SCOPED_TSAN_INTERCEPTOR(pthread_cond_timedwait, cond, m, abstime); in INTERCEPTOR() 1078 abstime); in INTERCEPTOR() 1154 TSAN_INTERCEPTOR(int, pthread_mutex_timedlock, void *m, void *abstime) { in TSAN_INTERCEPTOR() argument 1155 SCOPED_TSAN_INTERCEPTOR(pthread_mutex_timedlock, m, abstime); in TSAN_INTERCEPTOR() 1156 int res = REAL(pthread_mutex_timedlock)(m, abstime); in TSAN_INTERCEPTOR() 1246 TSAN_INTERCEPTOR(int, pthread_rwlock_timedrdlock, void *m, void *abstime) { in TSAN_INTERCEPTOR() argument 1247 SCOPED_TSAN_INTERCEPTOR(pthread_rwlock_timedrdlock, m, abstime); in TSAN_INTERCEPTOR() [all …]
|
D | tsan_platform.h | 764 void *abstime), void *c, void *m, void *abstime,
|
/external/libcxx/src/support/win32/ |
D | thread_win32.cpp | 119 auto abstime = in __libcpp_condvar_timedwait() local 121 auto timeout_ms = duration_cast<milliseconds>(abstime - system_clock::now()); in __libcpp_condvar_timedwait()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 117 uint64_t abstime, nano; in os_get_reltime() 125 abstime = mach_absolute_time(); in os_get_reltime() 126 nano = (abstime * info.numer) / info.denom; in os_get_reltime()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_queue.c | 1677 struct timespec abstime = { in anv_wait_for_bo_fences() local 1684 &device->mutex, &abstime); in anv_wait_for_bo_fences() 2547 struct timespec abstime = { in anv_timeline_wait_locked() local 2553 &device->mutex, &abstime); in anv_timeline_wait_locked() 2622 struct timespec abstime = { in anv_timelines_wait() local 2628 &device->mutex, &abstime); in anv_timelines_wait()
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/ |
D | mod.rs | 716 abstime: *const ::timespec, in sem_timedwait() 726 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1329 abstime: *const ::timespec, in pthread_mutex_timedlock() 1376 abstime: *const ::timespec, in sem_timedwait()
|
/external/rust/crates/libc/src/unix/uclibc/ |
D | mod.rs | 1847 abstime: *const ::timespec, in sem_timedwait() 1858 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2184 abstime: *const ::timespec, in sem_timedwait() 2217 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/solarish/ |
D | mod.rs | 2140 abstime: *const ::timespec, in sem_timedwait() 2145 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 2871 abstime: *const ::timespec, in sem_timedwait() 2904 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3787 abstime: *const ::timespec, in pthread_cond_timedwait() 4388 abstime: *const ::timespec, in sem_timedwait() 4419 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1341 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/external/rust/crates/libc/src/unix/ |
D | mod.rs | 1120 abstime: *const ::timespec, in pthread_cond_timedwait()
|
/external/rust/crates/libc/src/vxworks/ |
D | mod.rs | 1578 abstime: *const ::timespec, in pthread_cond_timedwait()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 6151 struct timespec abstime; in radv_timeline_wait() local 6152 timespec_from_nsec(&abstime, abs_timeout); in radv_timeline_wait() 6154 pthread_cond_timedwait(&device->timeline_cond, &timeline->mutex, &abstime); in radv_timeline_wait()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 5479 INTERCEPTOR(int, sem_timedwait, __sanitizer_sem_t *s, void *abstime) { 5481 COMMON_INTERCEPTOR_ENTER(ctx, sem_timedwait, s, abstime); 5482 COMMON_INTERCEPTOR_READ_RANGE(ctx, abstime, struct_timespec_sz); 5483 int res = COMMON_INTERCEPTOR_BLOCK_REAL(sem_timedwait)(s, abstime);
|