Lines Matching refs:ts
197 itimerspec ts; in SetTime() local
198 ts.it_value.tv_sec = value_s; in SetTime()
199 ts.it_value.tv_nsec = value_ns; in SetTime()
200 ts.it_interval.tv_sec = interval_s; in SetTime()
201 ts.it_interval.tv_nsec = interval_ns; in SetTime()
202 ASSERT_EQ(0, timer_settime(t, 0, &ts, NULL)); in SetTime()
251 itimerspec ts; in TEST() local
252 ts.it_value.tv_sec = 0; in TEST()
253 ts.it_value.tv_nsec = 1; in TEST()
254 ts.it_interval.tv_sec = 0; in TEST()
255 ts.it_interval.tv_nsec = 0; in TEST()
256 ASSERT_EQ(0, timer_settime(timer_id, 0, &ts, NULL)); in TEST()
488 itimerspec ts; in TEST() local
489 ts.it_value.tv_sec = 1; in TEST()
490 ts.it_value.tv_nsec = 0; in TEST()
491 ts.it_interval.tv_sec = 0; in TEST()
492 ts.it_interval.tv_nsec = 0; in TEST()
493 ASSERT_EQ(0, timer_settime(tdd.timer_id, 0, &ts, NULL)); in TEST()
550 timespec ts; in TEST() local
551 ASSERT_EQ(0, clock_gettime(clockid, &ts)); in TEST()
555 ASSERT_EQ(0, clock_gettime(clockid, &ts)); in TEST()
566 timespec ts; in TEST() local
567 ASSERT_EQ(-1, clock_settime(-1, &ts)); in TEST()