/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | kernel_timeout.h | 144 struct timespec abstime; in MakeAbsTimespec() local 147 abstime.tv_sec = static_cast<time_t>(seconds); in MakeAbsTimespec() 148 abstime.tv_nsec = static_cast<decltype(abstime.tv_nsec)>(n % kNanosPerSecond); in MakeAbsTimespec() 149 return abstime; in MakeAbsTimespec()
|
H A D | futex.h | 115 const struct timespec *abstime) { in WaitBitsetAbsoluteTimeout() 117 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG, val, abstime, in WaitBitsetAbsoluteTimeout() 113 WaitBitsetAbsoluteTimeout(std::atomic<int32_t> *v, int32_t val, int32_t bits, const struct timespec *abstime) WaitBitsetAbsoluteTimeout() argument
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_queue.h | 125 struct timespec abstime; in wsi_queue_pull() local 126 abstime.tv_nsec = abs_nsec; in wsi_queue_pull() 127 abstime.tv_sec = MIN2(abs_sec, INT_TYPE_MAX(abstime.tv_sec)); in wsi_queue_pull() 130 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime); in wsi_queue_pull()
|
/third_party/FreeBSD/sys/kern/ |
H A D | kern_condvar.c | 42 struct timespec abstime; in cv_timedwait() local 44 abstime.tv_sec = tw_ms / MSEC_PER_SEC; in cv_timedwait() 45 abstime.tv_nsec = (tw_ms%MSEC_PER_SEC) * NSEC_PER_MSEC; in cv_timedwait() 46 return (pthread_cond_timedwait(cv, mtx, &abstime)); in cv_timedwait()
|
/third_party/ltp/lib/ |
H A D | safe_pthread.c | 223 pthread_mutex_t *mutex, const struct timespec *abstime) in safe_pthread_mutex_timedlock() 227 ret = pthread_mutex_timedlock(mutex, abstime); in safe_pthread_mutex_timedlock() 232 mutex, (long long)abstime->tv_sec, abstime->tv_nsec, in safe_pthread_mutex_timedlock() 222 safe_pthread_mutex_timedlock(const char *file, const int lineno, pthread_mutex_t *mutex, const struct timespec *abstime) safe_pthread_mutex_timedlock() argument
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
H A 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()
|
/third_party/ffmpeg/compat/ |
H A D | w32pthreads.h | 165 const struct timespec *abstime) in pthread_cond_timedwait() 167 int64_t abs_milli = abstime->tv_sec * 1000LL + abstime->tv_nsec / 1000000; in pthread_cond_timedwait() 164 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) pthread_cond_timedwait() argument
|
H A D | os2threads.h | 172 const struct timespec *abstime) in pthread_cond_timedwait() 174 int64_t abs_milli = abstime->tv_sec * 1000LL + abstime->tv_nsec / 1000000; in pthread_cond_timedwait() 170 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) pthread_cond_timedwait() argument
|
/third_party/ltp/include/ |
H A D | tst_safe_pthread.h | 93 pthread_mutex_t *mutex, const struct timespec *abstime); 94 #define SAFE_PTHREAD_MUTEX_TIMEDLOCK(mutex, abstime) \ 95 safe_pthread_mutex_timedlock(__FILE__, __LINE__, (mutex), (abstime))
|
/third_party/ffmpeg/libavutil/ |
H A D | thread.h | 120 const struct timespec *abstime) in strict_pthread_cond_timedwait() 122 int ret = pthread_cond_timedwait(cond, mutex, abstime); in strict_pthread_cond_timedwait() 119 strict_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) strict_pthread_cond_timedwait() argument
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_bo_sync.c | 178 struct timespec abstime = { in anv_bo_sync_wait() local 185 &device->mutex, &abstime); in anv_bo_sync_wait()
|
/third_party/python/Python/ |
H A D | thread_pthread_stubs.h | 58 const struct timespec *restrict abstime) in pthread_cond_timedwait() 56 pthread_cond_timedwait(pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime) pthread_cond_timedwait() argument
|
/third_party/python/Include/cpython/ |
H A D | pthread_stubs.h | 58 const struct timespec *restrict abstime);
|
/third_party/libwebsockets/lib/misc/threadpool/ |
H A D | threadpool.c | 396 struct timespec abstime; in lws_threadpool_worker_sync() local 435 abstime.tv_sec = time(NULL) + 3; in lws_threadpool_worker_sync() 436 abstime.tv_nsec = 0; in lws_threadpool_worker_sync() 457 &abstime) == ETIMEDOUT) { in lws_threadpool_worker_sync()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_unix.c | 109 uint64_t abstime, nano; in os_get_reltime() 117 abstime = mach_absolute_time(); in os_get_reltime() 118 nano = (abstime * info.numer) / info.denom; in os_get_reltime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_unix.c | 115 uint64_t abstime, nano; in os_get_reltime() 123 abstime = mach_absolute_time(); in os_get_reltime() 124 nano = (abstime * info.numer) / info.denom; in os_get_reltime()
|
/third_party/NuttX/include/nuttx/net/ |
H A D | net.h | 344 * abstime - The absolute time to wait until a timeout is declared. 353 int net_timedwait(sem_t *sem, FAR const struct timespec *abstime);
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 696 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 705 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 585 struct timespec abstime = { in tu_timeline_sync_wait() local 592 &dev->submit_mutex, &abstime); in tu_timeline_sync_wait()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1585 abstime: *const ::timespec, in pthread_mutex_timedlock() 1646 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3719 abstime: *const ::timespec, in pthread_cond_timedwait() 4116 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 4143 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 2824 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 2839 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 3253 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 3282 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 2799 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 2803 abstime: *const ::timespec, in pthread_mutex_timedlock()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1482 abstime: *const ::timespec, in pthread_cond_timedwait()
|