Lines Matching defs:tm
135 struct tm tm;
136 memset(&tm, 0, sizeof tm);
137 tm.tm_sec = xt->tm_sec;
138 tm.tm_min = xt->tm_min;
139 tm.tm_hour = xt->tm_hour;
140 tm.tm_mday = xt->tm_mday;
141 tm.tm_mon = xt->tm_mon;
142 tm.tm_year = xt->tm_year;
143 tm.tm_wday = xt->tm_wday;
144 tm.tm_yday = xt->tm_yday;
145 tm.tm_isdst = xt->tm_isdst;
147 tm.tm_gmtoff = xt->tm_gmtoff;
149 tm.__tm_gmtoff = xt->tm_gmtoff;
151 (*retsize) = strftime(s, max, format, &tm);