/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/ |
D | SDL_syscond.c | 105 struct timespec abstime; in SDL_CondWaitTimeout() local 112 clock_gettime(CLOCK_REALTIME, &abstime); in SDL_CondWaitTimeout() 114 abstime.tv_nsec += (ms % 1000) * 1000000; in SDL_CondWaitTimeout() 115 abstime.tv_sec += ms / 1000; in SDL_CondWaitTimeout() 119 abstime.tv_sec = delta.tv_sec + (ms / 1000); in SDL_CondWaitTimeout() 120 abstime.tv_nsec = (delta.tv_usec + (ms % 1000) * 1000) * 1000; in SDL_CondWaitTimeout() 122 if (abstime.tv_nsec > 1000000000) { in SDL_CondWaitTimeout() 123 abstime.tv_sec += 1; in SDL_CondWaitTimeout() 124 abstime.tv_nsec -= 1000000000; in SDL_CondWaitTimeout() 128 retval = pthread_cond_timedwait(&cond->cond, &mutex->id, &abstime); in SDL_CondWaitTimeout()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
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()
|
D | futex.h | 115 const struct timespec *abstime) { in WaitBitsetAbsoluteTimeout() argument 117 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG, val, abstime, in WaitBitsetAbsoluteTimeout()
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 143 struct timespec abstime; in MakeAbsTimespec() local 146 abstime.tv_sec = static_cast<time_t>(seconds); in MakeAbsTimespec() 147 abstime.tv_nsec = static_cast<decltype(abstime.tv_nsec)>(n % kNanosPerSecond); in MakeAbsTimespec() 148 return abstime; in MakeAbsTimespec()
|
/third_party/mesa3d/src/vulkan/wsi/ |
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/ |
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/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()
|
/third_party/ffmpeg/compat/ |
D | w32pthreads.h | 165 const struct timespec *abstime) in pthread_cond_timedwait() argument 167 int64_t abs_milli = abstime->tv_sec * 1000LL + abstime->tv_nsec / 1000000; in pthread_cond_timedwait()
|
D | os2threads.h | 172 const struct timespec *abstime) in pthread_cond_timedwait() argument 174 int64_t abs_milli = abstime->tv_sec * 1000LL + abstime->tv_nsec / 1000000; in pthread_cond_timedwait()
|
/third_party/ffmpeg/libavutil/ |
D | thread.h | 116 const struct timespec *abstime) in strict_pthread_cond_timedwait() argument 118 int ret = pthread_cond_timedwait(cond, mutex, abstime); in strict_pthread_cond_timedwait()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
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/ |
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/libwebsockets/lib/misc/threadpool/ |
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/mesa3d/src/intel/vulkan/ |
D | anv_queue.c | 1830 struct timespec abstime = { in anv_wait_for_bo_fences() local 1837 &device->mutex, &abstime); in anv_wait_for_bo_fences() 2577 struct timespec abstime = { in anv_timeline_wait_locked() local 2583 &device->mutex, &abstime); in anv_timeline_wait_locked() 2652 struct timespec abstime = { in anv_timelines_wait() local 2658 &device->mutex, &abstime); in anv_timelines_wait()
|
/third_party/NuttX/include/nuttx/net/ |
D | net.h | 353 int net_timedwait(sem_t *sem, FAR const struct timespec *abstime);
|
/third_party/gstreamer/gstplugins_good/sys/osxvideo/ |
D | osxvideosink.m | 151 gint64 abstime; 158 abstime = g_get_monotonic_time () + 100 * 1000; 160 &_run_loop_mutex, abstime);
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 1687 struct timespec abstime; in tu_timeline_wait_locked() local 1688 timespec_from_nsec(&abstime, abs_timeout); in tu_timeline_wait_locked() 1691 &abstime); in tu_timeline_wait_locked()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 6017 struct timespec abstime; in radv_timeline_wait() local 6018 timespec_from_nsec(&abstime, abs_timeout); in radv_timeline_wait() 6020 u_cnd_monotonic_timedwait(&device->timeline_cond, &timeline->mutex, &abstime); in radv_timeline_wait()
|
/third_party/NuttX/ |
D | ReleaseNotes | 7602 timeout value to past time, for example abstime={ .tv_sec=0,
|