Lines Matching defs:tm
43 static apr_int32_t get_offset(struct tm *tm)
46 return tm->tm_gmtoff;
48 return tm->__tm_gmtoff;
59 if (tm->tm_isdst)
84 struct tm tm;
90 localtime_r(&tt, &tm);
92 gmtime_r(&tt, &tm);
95 tm = *localtime(&tt);
97 tm = *gmtime(&tt);
100 xt->tm_sec = tm.tm_sec;
101 xt->tm_min = tm.tm_min;
102 xt->tm_hour = tm.tm_hour;
103 xt->tm_mday = tm.tm_mday;
104 xt->tm_mon = tm.tm_mon;
105 xt->tm_year = tm.tm_year;
106 xt->tm_wday = tm.tm_wday;
107 xt->tm_yday = tm.tm_yday;
108 xt->tm_isdst = tm.tm_isdst;
109 xt->tm_gmtoff = get_offset(&tm);
255 struct tm tmpdate;
276 struct tm *lt;
300 in struct tm.
313 passing in a struct tm made by gmtime() let's us calculate
324 struct tm t;