Lines Matching refs:m_central_dir

2217   mz_zip_array m_central_dir;  member
2340 MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir, sizeof(mz_uint8)); in mz_zip_reader_init_internal()
2370 const mz_zip_array *pCentral_dir = &pState->m_central_dir; in mz_zip_reader_sort_central_dir_offsets_by_filename()
2463 if ((!mz_zip_array_resize(pZip, &pZip->m_pState->m_central_dir, cdir_size, MZ_FALSE)) || in mz_zip_reader_read_central_dir()
2473 …if (pZip->m_pRead(pZip->m_pIO_opaque, cdir_ofs, pZip->m_pState->m_central_dir.m_p, cdir_size) != c… in mz_zip_reader_read_central_dir()
2477 p = (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p; in mz_zip_reader_read_central_dir()
2483 …_dir_offsets, mz_uint32, i) = (mz_uint32)(p - (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p); in mz_zip_reader_read_central_dir()
2600 …return &MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(&pZip-… in mz_zip_reader_get_cdh()
2719 const mz_zip_array *pCentral_dir = &pState->m_central_dir; in mz_zip_reader_locate_file_binary_search()
2748 …const mz_uint8 *pHeader = &MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir, mz_uint8, MZ_ZIP_A… in mz_zip_reader_locate_file()
3173 mz_zip_array_clear(pZip, &pState->m_central_dir); in mz_zip_reader_end()
3235 MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir, sizeof(mz_uint8)); in mz_zip_writer_init()
3438 mz_uint32 central_dir_ofs = (mz_uint32)pState->m_central_dir.m_size; in mz_zip_writer_add_to_central_dir()
3439 size_t orig_central_dir_size = pState->m_central_dir.m_size; in mz_zip_writer_add_to_central_dir()
3443 …if ((local_header_ofs > 0xFFFFFFFF) || (((mz_uint64)pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_… in mz_zip_writer_add_to_central_dir()
3449 …if ((!mz_zip_array_push_back(pZip, &pState->m_central_dir, central_dir_header, MZ_ZIP_CENTRAL_DIR_… in mz_zip_writer_add_to_central_dir()
3450 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pFilename, filename_size)) || in mz_zip_writer_add_to_central_dir()
3451 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pExtra, extra_size)) || in mz_zip_writer_add_to_central_dir()
3452 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pComment, comment_size)) || in mz_zip_writer_add_to_central_dir()
3456 mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); in mz_zip_writer_add_to_central_dir()
3556 …if ((!mz_zip_array_ensure_room(pZip, &pState->m_central_dir, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + arch… in mz_zip_writer_add_mem_ex()
3923 orig_central_dir_size = pState->m_central_dir.m_size; in mz_zip_writer_add_from_zip_reader()
3927 …if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, central_header, MZ_ZIP_CENTRAL_DIR_HEADE… in mz_zip_writer_add_from_zip_reader()
3931 …if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pSrc_central_header + MZ_ZIP_CENTRAL_DIR… in mz_zip_writer_add_from_zip_reader()
3933 mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); in mz_zip_writer_add_from_zip_reader()
3937 if (pState->m_central_dir.m_size > 0xFFFFFFFF) in mz_zip_writer_add_from_zip_reader()
3942 mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); in mz_zip_writer_add_from_zip_reader()
3964 …if ((pZip->m_total_files > 0xFFFF) || ((pZip->m_archive_size + pState->m_central_dir.m_size + MZ_Z… in mz_zip_writer_finalize_archive()
3973 central_dir_size = pState->m_central_dir.m_size; in mz_zip_writer_finalize_archive()
3975 …if (pZip->m_pWrite(pZip->m_pIO_opaque, central_dir_ofs, pState->m_central_dir.m_p, (size_t)central… in mz_zip_writer_finalize_archive()
4026 mz_zip_array_clear(pZip, &pState->m_central_dir); in mz_zip_writer_end()