Lines Matching defs:tm
149 evutil_date_rfc1123(char *date, const size_t datelen, const struct tm *tm)
159 struct tm sys;
162 /* If `tm` is null, set system's current time. */
163 if (tm == NULL) {
166 tm = gmtime(&t);
169 tm = &sys;
175 DAYS[tm->tm_wday], tm->tm_mday, MONTHS[tm->tm_mon],
176 1900 + tm->tm_year, tm->tm_hour, tm->tm_min, tm->tm_sec);