Lines Matching refs:time
174 rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time); in TEST_F()
177 secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; in TEST_F()
178 gmtime_r(&secs, (struct tm *)&alarm.time); in TEST_F()
193 alarm.time.tm_mday, alarm.time.tm_mon + 1, in TEST_F()
194 alarm.time.tm_year + 1900, alarm.time.tm_hour, in TEST_F()
195 alarm.time.tm_min, alarm.time.tm_sec); in TEST_F()
276 rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time);
279 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
280 gmtime_r(&secs, (struct tm *)&alarm.time);
295 alarm.time.tm_mday, alarm.time.tm_mon + 1,
296 alarm.time.tm_year + 1900, alarm.time.tm_hour,
297 alarm.time.tm_min, alarm.time.tm_sec);