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/
Dpthread_impl.h227 static inline void __absolute_timespec_from_timespec(struct timespec *abs_ts, in __absolute_timespec_from_timespec() argument
230 if (abs_ts == NULL || ts == NULL) { in __absolute_timespec_from_timespec()
233 clock_gettime(clock, abs_ts); in __absolute_timespec_from_timespec()
234 abs_ts->tv_sec += ts->tv_sec; in __absolute_timespec_from_timespec()
235 abs_ts->tv_nsec += ts->tv_nsec; in __absolute_timespec_from_timespec()
236 if (abs_ts->tv_nsec >= NS_PER_S) { in __absolute_timespec_from_timespec()
237 abs_ts->tv_nsec -= NS_PER_S; in __absolute_timespec_from_timespec()
238 abs_ts->tv_sec++; in __absolute_timespec_from_timespec()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
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()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpchunkstream.c147 guint32 abs_ts, old_abs_ts, delta_32 = 0; in dts_diff_to_delta_ts() local
160 abs_ts = gst_util_uint64_scale_round (dts, 1, GST_MSECOND); in dts_diff_to_delta_ts()
164 delta_32 = abs_ts - old_abs_ts; in dts_diff_to_delta_ts()
169 GST_TIME_ARGS (dts), abs_ts, delta_32); in dts_diff_to_delta_ts()