Lines Matching refs:secs
227 time_t secs, new; in TEST_F() local
244 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
245 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
288 ASSERT_EQ(new, secs); in TEST_F()
297 time_t secs, new; in TEST_F() local
314 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; in TEST_F()
315 gmtime_r(&secs, (struct tm *)&alarm.time); in TEST_F()
353 ASSERT_EQ(new, secs); in TEST_F()
361 time_t secs, new; variable
376 secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec;
377 gmtime_r(&secs, (struct tm *)&tm);
420 ASSERT_EQ(new, secs);
429 time_t secs, new; variable
444 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
445 gmtime_r(&secs, (struct tm *)&alarm.time);
483 ASSERT_EQ(new, secs);