Lines Matching refs:m_pWrite

3213   if ((!pZip) || (pZip->m_pState) || (!pZip->m_pWrite) || (pZip->m_zip_mode != MZ_ZIP_MODE_INVALID))  in mz_zip_writer_init()
3267 pZip->m_pWrite = mz_zip_heap_write_func; in mz_zip_writer_init_heap()
3296 pZip->m_pWrite = mz_zip_file_write_func; in mz_zip_writer_init_file()
3312 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_ofs, buf, n) != n) in mz_zip_writer_init_file()
3345 pZip->m_pWrite = mz_zip_file_write_func; in mz_zip_writer_init_from_reader()
3360 pZip->m_pWrite = mz_zip_heap_write_func; in mz_zip_writer_init_from_reader()
3363 else if (!pZip->m_pWrite) in mz_zip_writer_init_from_reader()
3389 …if ((int)pState->m_pZip->m_pWrite(pState->m_pZip->m_pIO_opaque, pState->m_cur_archive_file_ofs, pB… in mz_zip_writer_add_put_buf_callback()
3493 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_file_ofs, buf, s) != s) in mz_zip_writer_write_zeros()
3575 …if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != … in mz_zip_writer_add_mem_ex()
3595 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pBuf, buf_size) != buf_size) in mz_zip_writer_add_mem_ex()
3638 …if (pZip->m_pWrite(pZip->m_pIO_opaque, local_dir_header_ofs, local_dir_header, sizeof(local_dir_he… in mz_zip_writer_add_mem_ex()
3710 …if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != … in mz_zip_writer_add_file()
3732 …if ((MZ_FREAD(pRead_buf, 1, n, pSrc_file) != n) || (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive… in mz_zip_writer_add_file()
3816 …if (pZip->m_pWrite(pZip->m_pIO_opaque, local_dir_header_ofs, local_dir_header, sizeof(local_dir_he… in mz_zip_writer_add_file()
3867 …if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SI… in mz_zip_writer_add_from_zip_reader()
3887 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pBuf, n) != n) in mz_zip_writer_add_from_zip_reader()
3908 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pBuf, n) != n) in mz_zip_writer_add_from_zip_reader()
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()
3988 if (pZip->m_pWrite(pZip->m_pIO_opaque, pZip->m_archive_size, hdr, sizeof(hdr)) != sizeof(hdr)) in mz_zip_writer_finalize_archive()
4005 if (pZip->m_pWrite != mz_zip_heap_write_func) in mz_zip_writer_finalize_heap_archive()
4038 if ((pZip->m_pWrite == mz_zip_heap_write_func) && (pState->m_pMem)) in mz_zip_writer_end()