Searched refs:time_to_expire (Results 1 – 2 of 2) sorted by relevance
193 int64_t time_to_expire = 0; in TEST_F() local195 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("", &time_to_expire)); in TEST_F()196 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("a", &time_to_expire)); in TEST_F()197 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("-1", &time_to_expire)); in TEST_F()199 EXPECT_TRUE(reader_.ParseTimeToExpireSeconds("100", &time_to_expire)); in TEST_F()200 EXPECT_EQ(100, time_to_expire); in TEST_F()
547 struct itimerspec time_to_expire; in reschedule_root_alarm() local548 timer_gettime(timer, &time_to_expire); in reschedule_root_alarm()549 if (time_to_expire.it_value.tv_sec == 0 && in reschedule_root_alarm()550 time_to_expire.it_value.tv_nsec == 0) { in reschedule_root_alarm()