Searched refs:fixed_tm (Results 1 – 3 of 3) sorted by relevance
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/minizip/src/ |
H A D | mz_zip.c | 2583 struct tm fixed_tm; in mz_zip_tm_to_dosdate() local 2592 memcpy(&fixed_tm, ptm, sizeof(struct tm)); in mz_zip_tm_to_dosdate() 2593 if (fixed_tm.tm_year >= 1980) /* range [1980, 2107] */ in mz_zip_tm_to_dosdate() 2594 fixed_tm.tm_year -= 1980; in mz_zip_tm_to_dosdate() 2595 else if (fixed_tm.tm_year >= 80) /* range [80, 207] */ in mz_zip_tm_to_dosdate() 2596 fixed_tm.tm_year -= 80; in mz_zip_tm_to_dosdate() 2598 fixed_tm.tm_year += 20; in mz_zip_tm_to_dosdate() 2600 if (mz_zip_invalid_date(&fixed_tm)) in mz_zip_tm_to_dosdate() 2603 …return (((uint32_t)fixed_tm.tm_mday + (32 * ((uint32_t)fixed_tm.tm_mon + 1)) + (512 * (uint32_t)fi… in mz_zip_tm_to_dosdate() 2604 …(((uint32_t)fixed_tm.tm_sec / 2) + (32 * (uint32_t)fixed_tm.tm_min) + (2048 * (uint32_t)fixed_tm.t… in mz_zip_tm_to_dosdate()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/minizip/src/ |
H A D | mz_zip.c | 2583 struct tm fixed_tm; in mz_zip_tm_to_dosdate() local 2592 memcpy(&fixed_tm, ptm, sizeof(struct tm)); in mz_zip_tm_to_dosdate() 2593 if (fixed_tm.tm_year >= 1980) /* range [1980, 2107] */ in mz_zip_tm_to_dosdate() 2594 fixed_tm.tm_year -= 1980; in mz_zip_tm_to_dosdate() 2595 else if (fixed_tm.tm_year >= 80) /* range [80, 207] */ in mz_zip_tm_to_dosdate() 2596 fixed_tm.tm_year -= 80; in mz_zip_tm_to_dosdate() 2598 fixed_tm.tm_year += 20; in mz_zip_tm_to_dosdate() 2600 if (mz_zip_invalid_date(&fixed_tm)) in mz_zip_tm_to_dosdate() 2603 …return (((uint32_t)fixed_tm.tm_mday + (32 * ((uint32_t)fixed_tm.tm_mon + 1)) + (512 * (uint32_t)fi… in mz_zip_tm_to_dosdate() 2604 …(((uint32_t)fixed_tm.tm_sec / 2) + (32 * (uint32_t)fixed_tm.tm_min) + (2048 * (uint32_t)fixed_tm.t… in mz_zip_tm_to_dosdate()
|
/dports/audio/spectmorph/spectmorph-0.5.2/3rdparty/minizip/ |
H A D | mz_zip.c | 2583 struct tm fixed_tm; in mz_zip_tm_to_dosdate() local 2592 memcpy(&fixed_tm, ptm, sizeof(struct tm)); in mz_zip_tm_to_dosdate() 2593 if (fixed_tm.tm_year >= 1980) /* range [1980, 2107] */ in mz_zip_tm_to_dosdate() 2594 fixed_tm.tm_year -= 1980; in mz_zip_tm_to_dosdate() 2595 else if (fixed_tm.tm_year >= 80) /* range [80, 207] */ in mz_zip_tm_to_dosdate() 2596 fixed_tm.tm_year -= 80; in mz_zip_tm_to_dosdate() 2598 fixed_tm.tm_year += 20; in mz_zip_tm_to_dosdate() 2600 if (mz_zip_invalid_date(&fixed_tm)) in mz_zip_tm_to_dosdate() 2603 …return (((uint32_t)fixed_tm.tm_mday + (32 * ((uint32_t)fixed_tm.tm_mon + 1)) + (512 * (uint32_t)fi… in mz_zip_tm_to_dosdate() 2604 …(((uint32_t)fixed_tm.tm_sec / 2) + (32 * (uint32_t)fixed_tm.tm_min) + (2048 * (uint32_t)fixed_tm.t… in mz_zip_tm_to_dosdate()
|