Lines Matching defs:tm
32 #include <tm.h>
98 Tm_t tm;
238 memset(&tm, 0, sizeof(tm));
239 tm.tm_year = ((dosdate >> 9) & 0x7f) + 80;
240 tm.tm_mon = ((dosdate >> 5) & 0x0f) - 1;
241 tm.tm_mday = ((dosdate ) & 0x1f);
242 tm.tm_hour = ((dostime >> 11) & 0x1f);
243 tm.tm_min = ((dostime >> 5) & 0x3f);
244 tm.tm_sec = ((dostime ) & 0x1f) * 2;
246 tm.tm_sec += 15 * 60 * doszone;
248 tm.tm_sec += 15 * 60 * (doszone - 256);
249 f->st->st_mtime = f->st->st_ctime = f->st->st_atime = tmtime(&tm, TM_LOCALZONE);