Lines Matching refs:secs
183 time_t secs, new; in TEST_F() local
189 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
190 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
228 ASSERT_EQ(new, secs); in TEST_F()
237 time_t secs, new; in TEST_F() local
243 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; in TEST_F()
244 gmtime_r(&secs, (struct tm *)&alarm.time); in TEST_F()
277 ASSERT_EQ(new, secs); in TEST_F()
285 time_t secs, new; variable
291 secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec;
292 gmtime_r(&secs, (struct tm *)&tm);
330 ASSERT_EQ(new, secs);
339 time_t secs, new; variable
345 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
346 gmtime_r(&secs, (struct tm *)&alarm.time);
379 ASSERT_EQ(new, secs);