Home
last modified time | relevance | path

Searched refs:abstime (Results 1 – 25 of 25) sorted by relevance

/external/libcups/cups/
Dthread.c57 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/
Dwsi_common_queue.h127 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/
Devthread_pthread.c144 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()
Devutil_time.c365 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/
D9-1-buildonly.c14 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/
Ddd_interceptors.cc123 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/
Dtsan_platform_mac.cc178 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()
Dtsan_platform_linux.cc319 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()
Dtsan_interceptors.cc1047 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 …]
Dtsan_platform.h764 void *abstime), void *c, void *m, void *abstime,
/external/libcxx/src/support/win32/
Dthread_win32.cpp119 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/
Dos_unix.c117 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/
Danv_queue.c1677 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/
Dmod.rs716 abstime: *const ::timespec, in sem_timedwait()
726 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1329 abstime: *const ::timespec, in pthread_mutex_timedlock()
1376 abstime: *const ::timespec, in sem_timedwait()
/external/rust/crates/libc/src/unix/uclibc/
Dmod.rs1847 abstime: *const ::timespec, in sem_timedwait()
1858 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2184 abstime: *const ::timespec, in sem_timedwait()
2217 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2140 abstime: *const ::timespec, in sem_timedwait()
2145 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2871 abstime: *const ::timespec, in sem_timedwait()
2904 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3787 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/
Dmod.rs1341 abstime: *const ::timespec, in pthread_mutex_timedlock()
/external/rust/crates/libc/src/unix/
Dmod.rs1120 abstime: *const ::timespec, in pthread_cond_timedwait()
/external/rust/crates/libc/src/vxworks/
Dmod.rs1578 abstime: *const ::timespec, in pthread_cond_timedwait()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c6151 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/
Dsanitizer_common_interceptors.inc5479 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);