Lines Matching defs:secs
117 time_t secs, new;
123 secs = timegm((struct tm *)&tm) + ALARM_DELTA;
124 gmtime_r(&secs, (struct tm *)&tm);
162 ASSERT_EQ(new, secs);
171 time_t secs, new;
177 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA;
178 gmtime_r(&secs, (struct tm *)&alarm.time);
211 ASSERT_EQ(new, secs);
219 time_t secs, new;
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;
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);