Lines Matching refs:tm
196 struct tm tm_local; in nmea_reader_update_utc_diff()
197 struct tm tm_utc; in nmea_reader_update_utc_diff()
253 struct tm tm; in nmea_reader_update_time() local
262 gmtime_r( &now, &tm ); in nmea_reader_update_time()
263 r->utc_year = tm.tm_year + 1900; in nmea_reader_update_time()
264 r->utc_mon = tm.tm_mon + 1; in nmea_reader_update_time()
265 r->utc_day = tm.tm_mday; in nmea_reader_update_time()
272 tm.tm_hour = hour; in nmea_reader_update_time()
273 tm.tm_min = minute; in nmea_reader_update_time()
274 tm.tm_sec = (int) seconds; in nmea_reader_update_time()
275 tm.tm_year = r->utc_year - 1900; in nmea_reader_update_time()
276 tm.tm_mon = r->utc_mon - 1; in nmea_reader_update_time()
277 tm.tm_mday = r->utc_day; in nmea_reader_update_time()
278 tm.tm_isdst = -1; in nmea_reader_update_time()
280 fix_time = mktime( &tm ) + r->utc_diff; in nmea_reader_update_time()
508 struct tm utc; in nmea_reader_parse()