Lines Matching refs:secs
117 time_t secs, new; in TEST_F() local
123 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
124 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
162 ASSERT_EQ(new, secs); in TEST_F()
171 time_t secs, new; in TEST_F() local
177 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; in TEST_F()
178 gmtime_r(&secs, (struct tm *)&alarm.time); in TEST_F()
211 ASSERT_EQ(new, secs); in TEST_F()
219 time_t secs, new; variable
225 secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec;
226 gmtime_r(&secs, (struct tm *)&tm);
264 ASSERT_EQ(new, secs);
273 time_t secs, new; variable
279 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
280 gmtime_r(&secs, (struct tm *)&alarm.time);
313 ASSERT_EQ(new, secs);