Lines Matching refs:tm
33 #define timegm(tm) _mkgmtime(tm) argument
37 timegm (const struct tm * const tm);
39 timegm (const struct tm * const tm) in timegm() argument
41 int y = tm->tm_year + 1900; in timegm()
42 int m = tm->tm_mon + 1; in timegm()
43 int d = tm->tm_mday; in timegm()
53 return 60*(60*(24L*days_since_1970+tm->tm_hour)+tm->tm_min)+tm->tm_sec; in timegm()
88 static inline struct tm *
89 gmtime_y2038_kludge32 (unix_time64_t t, struct tm *result);
90 static inline struct tm *
91 gmtime_y2038_kludge32 (unix_time64_t t, struct tm *result) in gmtime_y2038_kludge32()
124 static inline struct tm *
125 localtime_y2038_kludge32 (unix_time64_t t, struct tm *result);
126 static inline struct tm *
127 localtime_y2038_kludge32 (unix_time64_t t, struct tm *result) in localtime_y2038_kludge32()