Lines Matching defs:secs
198 time_t secs, new;
208 secs = timegm((struct tm *)&tm) + ALARM_DELTA;
209 gmtime_r(&secs, (struct tm *)&tm);
247 ASSERT_EQ(new, secs);
256 time_t secs, new;
266 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA;
267 gmtime_r(&secs, (struct tm *)&alarm.time);
300 ASSERT_EQ(new, secs);
308 time_t secs, new;
318 secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec;
319 gmtime_r(&secs, (struct tm *)&tm);
357 ASSERT_EQ(new, secs);
366 time_t secs, new;
376 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
377 gmtime_r(&secs, (struct tm *)&alarm.time);
410 ASSERT_EQ(new, secs);