Lines Matching defs:tm
61 static struct tm *
66 struct tm *tm = NULL;
130 while ((tm = (*(local ? localtime : gmtime))(&ts)) == NULL)
142 /* 'tm' surely not NULL here! */
143 INSIST(tm != NULL);
145 tm->tm_year += folds * SOLAR_CYCLE_YEARS;
146 if (tm->tm_year <= 0 || tm->tm_year >= 200)
150 return tm;
165 struct tm *tm;
185 tm = get_struct_tm(&sec, local);
186 if (!tm) {
201 daynames[tm->tm_wday], months[tm->tm_mon],
202 tm->tm_mday, 1900 + tm->tm_year, tm->tm_hour,
203 tm->tm_min, tm->tm_sec, msec);
226 struct tm *