Home
last modified time | relevance | path

Searched refs:abs_ts (Results 1 - 3 of 3) sorted by relevance

/third_party/musl/porting/linux/user/src/internal/
H A Dpthread_impl.h247 static inline void __absolute_timespec_from_timespec(struct timespec *abs_ts, in __absolute_timespec_from_timespec() argument
250 if (abs_ts == NULL || ts == NULL) { in __absolute_timespec_from_timespec()
253 clock_gettime(clock, abs_ts); in __absolute_timespec_from_timespec()
254 abs_ts->tv_sec += ts->tv_sec; in __absolute_timespec_from_timespec()
255 abs_ts->tv_nsec += ts->tv_nsec; in __absolute_timespec_from_timespec()
256 if (abs_ts->tv_nsec >= NS_PER_S) { in __absolute_timespec_from_timespec()
257 abs_ts->tv_nsec -= NS_PER_S; in __absolute_timespec_from_timespec()
258 abs_ts->tv_sec++; in __absolute_timespec_from_timespec()
/third_party/musl/src/internal/
H A Dpthread_impl.h244 static inline void __absolute_timespec_from_timespec(struct timespec *abs_ts, in __absolute_timespec_from_timespec() argument
247 if (abs_ts == NULL || ts == NULL) { in __absolute_timespec_from_timespec()
250 clock_gettime(clock, abs_ts); in __absolute_timespec_from_timespec()
251 abs_ts->tv_sec += ts->tv_sec; in __absolute_timespec_from_timespec()
252 abs_ts->tv_nsec += ts->tv_nsec; in __absolute_timespec_from_timespec()
253 if (abs_ts->tv_nsec >= NS_PER_S) { in __absolute_timespec_from_timespec()
254 abs_ts->tv_nsec -= NS_PER_S; in __absolute_timespec_from_timespec()
255 abs_ts->tv_sec++; in __absolute_timespec_from_timespec()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_fence.c133 struct timespec ts, abs_ts; in lp_fence_timedwait() local
138 bool ts_overflow = timespec_add_nsec(&abs_ts, &ts, timeout); in lp_fence_timedwait()
149 ret = cnd_timedwait(&f->signalled, &f->mutex, &abs_ts); in lp_fence_timedwait()

Completed in 2 milliseconds