Lines Matching refs:base
33 int z_impl___posix_clock_get_base(clockid_t clock_id, struct timespec *base) in z_impl___posix_clock_get_base() argument
37 base->tv_sec = 0; in z_impl___posix_clock_get_base()
38 base->tv_nsec = 0; in z_impl___posix_clock_get_base()
43 *base = rt_clock_base; in z_impl___posix_clock_get_base()
66 struct timespec base; in clock_gettime() local
70 base.tv_sec = 0; in clock_gettime()
71 base.tv_nsec = 0; in clock_gettime()
75 (void)__posix_clock_get_base(clock_id, &base); in clock_gettime()
91 ts->tv_sec += base.tv_sec; in clock_gettime()
92 ts->tv_nsec += base.tv_nsec; in clock_gettime()
133 struct timespec base; in clock_settime() local
150 base.tv_sec = delta / NSEC_PER_SEC; in clock_settime()
151 base.tv_nsec = delta % NSEC_PER_SEC; in clock_settime()
154 rt_clock_base = base; in clock_settime()