/dports/archivers/pecl-rar/rar-4.2.0/ |
H A D | rar_time.c | 41 int rar_dos_time_convert(unsigned dos_time, time_t *to) /* {{{ */ in rar_dos_time_convert() argument 45 time_s.tm_sec = (dos_time & 0x1f)*2; in rar_dos_time_convert() 46 time_s.tm_min = (dos_time>>5) & 0x3f; in rar_dos_time_convert() 47 time_s.tm_hour = (dos_time>>11) & 0x1f; in rar_dos_time_convert() 48 time_s.tm_mday = (dos_time>>16) & 0x1f; in rar_dos_time_convert() 49 time_s.tm_mon = ((dos_time>>21) & 0x0f) - 1; in rar_dos_time_convert() 50 time_s.tm_year = (dos_time>>25) + 80; in rar_dos_time_convert()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | filecontainerzip.cpp | 69 uint16_t dos_time; member 73 dos_time(0), dos_date(0) { } in DOSTimestamp() 76 dos_time(dos_time), dos_date(dos_date) { } in DOSTimestamp() 81 dos_time = ((t->tm_sec & 0x3f) >> 1) in DOSTimestamp() 93 t.tm_sec = (dos_time << 1) & 0x3f; in get_time() 94 t.tm_min = (dos_time >> 5) & 0x3f; in get_time() 95 t.tm_hour = (dos_time >> 11) & 0x1f; in get_time() 96 t.tm_mday = (dos_time >> 0) & 0x1f; in get_time() 97 t.tm_mon = (dos_time >> 5) & 0x0f; in get_time() 98 t.tm_year = (dos_time >> 9) & 0x7f; in get_time() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | filecontainerzip.cpp | 69 uint16_t dos_time; member 73 dos_time(0), dos_date(0) { } in DOSTimestamp() 76 dos_time(dos_time), dos_date(dos_date) { } in DOSTimestamp() 81 dos_time = ((t->tm_sec & 0x3f) >> 1) in DOSTimestamp() 93 t.tm_sec = (dos_time << 1) & 0x3f; in get_time() 94 t.tm_min = (dos_time >> 5) & 0x3f; in get_time() 95 t.tm_hour = (dos_time >> 11) & 0x1f; in get_time() 96 t.tm_mday = (dos_time >> 0) & 0x1f; in get_time() 97 t.tm_mon = (dos_time >> 5) & 0x0f; in get_time() 98 t.tm_year = (dos_time >> 9) & 0x7f; in get_time() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | filecontainerzip.cpp | 69 uint16_t dos_time; member 73 dos_time(0), dos_date(0) { } in DOSTimestamp() 76 dos_time(dos_time), dos_date(dos_date) { } in DOSTimestamp() 81 dos_time = ((t->tm_sec & 0x3f) >> 1) in DOSTimestamp() 93 t.tm_sec = (dos_time << 1) & 0x3f; in get_time() 94 t.tm_min = (dos_time >> 5) & 0x3f; in get_time() 95 t.tm_hour = (dos_time >> 11) & 0x1f; in get_time() 96 t.tm_mday = (dos_time >> 0) & 0x1f; in get_time() 97 t.tm_mon = (dos_time >> 5) & 0x0f; in get_time() 98 t.tm_year = (dos_time >> 9) & 0x7f; in get_time() [all …]
|
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/ |
H A D | scan_rar.cpp | 168 uncompressed_size(), compressed_size(), file_attributes(), dos_time(), in RarComponentInfo() 179 dos_time(dos_time_), host_os(host_os_), crc(crc_) {} in RarComponentInfo() 211 return dos_date_to_iso(dos_time); in iso_timestamp() 221 uint32_t dos_time; member in RarComponentInfo 446 output.dos_time = sbuf.get32u(OFFSET_FTIME); in process_component()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/zip_archiver/ |
H A D | test_zip_archiver_util.cc | 45 base::Time::Exploded ExplodeDosTime(const uint32_t dos_time) { in ExplodeDosTime() argument 47 uint32_t remain_part = dos_time; in ExplodeDosTime()
|
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/contrib/zip/src/ |
H A D | zip.c | 309 mz_uint16 dos_time, dos_date; in zip_entry_close() local 337 dos_time = (mz_uint16)(((tm->tm_hour) << 11) + ((tm->tm_min) << 5) + in zip_entry_close() 352 dos_time, dos_date)) { in zip_entry_close() 367 zip->entry.uncomp_crc32, zip->entry.method, 0, dos_time, dos_date, in zip_entry_close()
|
/dports/www/nginx-full/mod_zip-cfd0be4/ |
H A D | ngx_http_zip_file.c | 202 ngx_uint_t dos_time = 0; in ngx_http_zip_generate_pieces() local 297 dos_time = ngx_dos_time(unix_time); in ngx_http_zip_generate_pieces() 302 file->dos_time = dos_time; in ngx_http_zip_generate_pieces() 464 local_file_header.mtime = htole32(file->dos_time); in ngx_http_zip_file_header_chain_link() 676 central_directory_file_header.mtime = htole32(file->dos_time); in ngx_http_zip_write_central_directory_entry()
|
H A D | ngx_http_zip_module.h | 18 ngx_uint_t dos_time; member
|
/dports/devel/git-svn/git-2.34.1/ |
H A D | archive-zip.c | 597 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() argument 611 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 626 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/git-p4/git-2.34.1/ |
H A D | archive-zip.c | 597 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() argument 611 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 626 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/git/git-2.34.1/ |
H A D | archive-zip.c | 597 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() argument 611 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 626 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/git-gui/git-2.34.1/ |
H A D | archive-zip.c | 597 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() function 611 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 626 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/git-cvs/git-2.34.1/ |
H A D | archive-zip.c | 597 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() argument 611 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 626 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/cgit/cgit-1.2.3/git/ |
H A D | archive-zip.c | 608 static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) in dos_time() argument 622 *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; in dos_time() 637 dos_time(&args->time, &zip_date, &zip_time); in write_zip_archive()
|
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/ |
H A D | asm_esx_ide_get_lfn.asm | 118 ld (hl),d ; write dos_time
|
/dports/lang/v/v-0.1.29/thirdparty/zip/ |
H A D | zip.c | 439 mz_uint16 dos_time, dos_date; in zip_entry_close() local 472 mz_zip_time_t_to_dos_time(zip->entry.m_time, &dos_time, &dos_date); in zip_entry_close() 476 dos_time, dos_date)) { in zip_entry_close() 491 zip->entry.method, 0, dos_time, dos_date, zip->entry.header_offset, in zip_entry_close()
|
/dports/devel/upp/upp/bazaar/plugin/assimp/contrib/zip/src/ |
H A D | zip.c | 436 mz_uint16 dos_time, dos_date; in zip_entry_close() local 469 mz_zip_time_t_to_dos_time(zip->entry.m_time, &dos_time, &dos_date); in zip_entry_close() 473 dos_time, dos_date)) { in zip_entry_close() 488 zip->entry.method, 0, dos_time, dos_date, zip->entry.header_offset, in zip_entry_close()
|
/dports/security/nmap/nmap-7.91/scripts/ |
H A D | http-slowloris.nse | 309 local start, stop, dos_time 338 dos_time = datetime.format_difftime(stop, start) 344 dos_time .. "\n" .. 350 "the DoS attack took " .. dos_time .. "\n" ..
|
/dports/archivers/p5-Archive-Zip/Archive-Zip-1.68/t/ |
H A D | 02_main.t | 40 my $dos_time = Archive::Zip::Member::_unixToDosTime($unix_time); 41 my $round_trip = Archive::Zip::Member::_dosToUnixTime($dos_time);
|
/dports/www/faup/faup-1.5-48-g88dbbe2/src/lib/miniz/ |
H A D | miniz_zip.c | 359 static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) in mz_zip_dos_to_time_t() argument 367 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t() 368 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t() 369 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t() 2994 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_local_dir_header() 3016 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_central_dir_header() 3121 mz_uint16 method = 0, dos_time = 0, dos_date = 0; in mz_zip_writer_add_mem_ex_v2() local 3179 mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3185 mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3409 mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; in mz_zip_writer_add_cfile() local [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/miniz_oxide_c_api/miniz/ |
H A D | miniz_zip.c | 359 static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) in mz_zip_dos_to_time_t() argument 367 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t() 368 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t() 369 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t() 2991 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_local_dir_header() 3013 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_central_dir_header() 3118 mz_uint16 method = 0, dos_time = 0, dos_date = 0; in mz_zip_writer_add_mem_ex_v2() local 3175 mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3181 mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3405 mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; in mz_zip_writer_add_cfile() local [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/miniz_oxide_c_api/miniz_stub/ |
H A D | miniz_zip.c | 359 static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) in mz_zip_dos_to_time_t() argument 367 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t() 368 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t() 369 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t() 2991 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_local_dir_header() 3013 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_central_dir_header() 3118 mz_uint16 method = 0, dos_time = 0, dos_date = 0; in mz_zip_writer_add_mem_ex_v2() local 3175 mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3181 mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3405 mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; in mz_zip_writer_add_cfile() local [all …]
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/miniz_oxide_c_api-0.2.1/miniz/ |
H A D | miniz_zip.c | 359 static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) in mz_zip_dos_to_time_t() argument 367 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t() 368 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t() 369 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t() 2991 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_local_dir_header() 3013 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_central_dir_header() 3118 mz_uint16 method = 0, dos_time = 0, dos_date = 0; in mz_zip_writer_add_mem_ex_v2() local 3175 mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3181 mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3405 mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; in mz_zip_writer_add_cfile() local [all …]
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/miniz_oxide_c_api-0.2.1/miniz_stub/ |
H A D | miniz_zip.c | 362 static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) in mz_zip_dos_to_time_t() argument 370 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t() 371 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t() 372 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t() 2994 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_local_dir_header() 3016 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); in mz_zip_writer_create_central_dir_header() 3121 mz_uint16 method = 0, dos_time = 0, dos_date = 0; in mz_zip_writer_add_mem_ex_v2() local 3178 mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3184 mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); in mz_zip_writer_add_mem_ex_v2() 3416 mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; in mz_zip_writer_add_cfile() local [all …]
|