Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dkernel_timeout.h144 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 Dfutex.h115 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 Dwsi_common_queue.h125 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 Dkern_condvar.c42 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 Dsafe_pthread.c223 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 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()
/third_party/ffmpeg/compat/
H A Dw32pthreads.h165 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 Dos2threads.h172 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 Dtst_safe_pthread.h93 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 Dthread.h120 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 Danv_bo_sync.c178 struct timespec abstime = { in anv_bo_sync_wait() local
185 &device->mutex, &abstime); in anv_bo_sync_wait()
/third_party/python/Python/
H A Dthread_pthread_stubs.h58 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 Dpthread_stubs.h58 const struct timespec *restrict abstime);
/third_party/libwebsockets/lib/misc/threadpool/
H A Dthreadpool.c396 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 Dos_unix.c109 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 Dos_unix.c115 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 Dnet.h344 * 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 Dmod.rs696 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 Dtu_drm.c585 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 Dmod.rs1585 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 Dmod.rs3719 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 Dmod.rs2824 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 Dmod.rs3253 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 Dmod.rs2799 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 Dmod.rs1482 abstime: *const ::timespec, in pthread_cond_timedwait()

Completed in 57 milliseconds

12