Lines Matching refs:timespec
20 static const struct timespec ref_ts = {1514821501, NSEC_PER_SEC / 2U};
31 static inline int64_t ts_to_ns(const struct timespec *ts) in ts_to_ns()
36 static inline void tv_to_ts(const struct timeval *tv, struct timespec *ts) in tv_to_ts()
45 static inline _type _name(const struct timespec *_a, const struct timespec *_b) \
58 static inline bool tp_diff_in_range_ns(const struct timespec *a, const struct timespec *b, in tp_diff_in_range_ns()
68 struct timespec ts; in ZTEST()
85 ts = (struct timespec){-1, -1}; in ZTEST()
95 struct timespec ts; in ZTEST()
96 struct timespec rts; in ZTEST()
120 struct timespec ts = {0}; in ZTEST()
138 ts = (struct timespec){0, NSEC_PER_SEC}; in ZTEST()
142 ts = (struct timespec){0, -1}; in ZTEST()
168 struct timespec then, now; in ZTEST()
233 struct timespec res; in ZTEST()
234 const struct timespec one_ns = { in ZTEST()
241 struct timespec *res; in ZTEST()
261 res = (struct timespec){0}; in ZTEST()