Home
last modified time | relevance | path

Searched refs:dostm (Results 1 – 4 of 4) sorted by relevance

/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/archivers/lha/
H A Dheader.c300 struct tm dostm; in generic_to_unix_stamp() local
309 dostm.tm_sec = (t & 0x1f) * 2; in generic_to_unix_stamp()
310 dostm.tm_min = t >> 5 & 0x3f; in generic_to_unix_stamp()
311 dostm.tm_hour = t >> 11 & 0x1f; in generic_to_unix_stamp()
312 dostm.tm_mday = t >> 16 & 0x1f; in generic_to_unix_stamp()
313 dostm.tm_mon = ((t >> 16) + 5 & 0x0f) - 1; /* 0..11 */ in generic_to_unix_stamp()
314 dostm.tm_year = ((t >> 16) + 9 & 0x7f) + 80; in generic_to_unix_stamp()
316 dostm.tm_isdst = 0; /* correct? */ in generic_to_unix_stamp()
318 dostm.tm_isdst = -1; /* correct? */ in generic_to_unix_stamp()
320 return (time_t) mktime(&dostm); in generic_to_unix_stamp()
[all …]
/dports/archivers/lha/lha-114i/src/
H A Dheader.c310 struct tm dostm; local
319 dostm.tm_sec = (t & 0x1f) * 2;
320 dostm.tm_min = t >> 5 & 0x3f;
321 dostm.tm_hour = t >> 11 & 0x1f;
322 dostm.tm_mday = t >> 16 & 0x1f;
323 dostm.tm_mon = (t >> (16 + 5) & 0x0f) - 1; /* 0..11 */
324 dostm.tm_year = (t >> (16 + 9) & 0x7f) + 80;
326 dostm.tm_isdst = 0; /* correct? */
328 dostm.tm_isdst = -1; /* correct? */
330 return (time_t) mktime(&dostm);
[all …]
H A Dheader.c.orig310 struct tm dostm;
319 dostm.tm_sec = (t & 0x1f) * 2;
320 dostm.tm_min = t >> 5 & 0x3f;
321 dostm.tm_hour = t >> 11 & 0x1f;
322 dostm.tm_mday = t >> 16 & 0x1f;
323 dostm.tm_mon = (t >> 16 + 5 & 0x0f) - 1; /* 0..11 */
324 dostm.tm_year = (t >> 16 + 9 & 0x7f) + 80;
326 dostm.tm_isdst = 0; /* correct? */
328 dostm.tm_isdst = -1; /* correct? */
330 return (time_t) mktime(&dostm);
[all …]
/dports/devel/clazy/clazy-1.5/src/
H A DLoopUtils.cpp62 if (auto dostm = dyn_cast<DoStmt>(loop)) in bodyFromLoop() local
63 return dostm->getBody(); in bodyFromLoop()