Lines Matching refs:tv_nsec
369 ts.it_value.tv_nsec = value_ns; in SetTime()
371 ts.it_interval.tv_nsec = interval_ns; in SetTime()
423 ts.it_value.tv_nsec = 1; in TEST()
425 ts.it_interval.tv_nsec = 0; in TEST()
643 ts.it_value.tv_nsec = 0; in TEST()
645 ts.it_interval.tv_nsec = 0; in TEST()
671 ts2.tv_nsec -= ts1.tv_nsec; in TEST()
672 if (ts2.tv_nsec < 0) { in TEST()
674 ts2.tv_nsec += NS_PER_S; in TEST()
679 ASSERT_LT(ts2.tv_nsec, 10'000'000); in TEST()
717 ASSERT_EQ(1, ts.tv_nsec); in TEST()
724 ASSERT_EQ(1, ts.tv_nsec); in TEST()
741 ASSERT_EQ(1, ts.tv_nsec); in TEST()
750 ASSERT_EQ(-1, ts.tv_nsec); in TEST()
813 in.tv_nsec = 0; in TEST()
819 const timespec ts = {.tv_nsec = 5000000}; in TEST()
827 const timespec ts = {.tv_nsec = 5000000}; in TEST()