Lines Matching refs:m_pAlloc
2328 if (!pZip->m_pAlloc) pZip->m_pAlloc = def_alloc_func; in mz_zip_reader_init_internal()
2337 …if (NULL == (pZip->m_pState = (mz_zip_internal_state *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, si… in mz_zip_reader_init_internal()
2863 if (NULL == (pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)read_buf_size))) in mz_zip_reader_extract_to_mem_no_alloc()
2943 if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)alloc_size))) in mz_zip_reader_extract_to_heap()
3016 if (NULL == (pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)read_buf_size))) in mz_zip_reader_extract_to_callback()
3071 if (NULL == (pWrite_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, TINFL_LZ_DICT_SIZE))) in mz_zip_reader_extract_to_callback()
3167 …if ((!pZip) || (!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || (pZip->m_zip_mode != … in mz_zip_reader_end()
3223 if (!pZip->m_pAlloc) pZip->m_pAlloc = def_alloc_func; in mz_zip_writer_init()
3232 …if (NULL == (pZip->m_pState = (mz_zip_internal_state *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, si… in mz_zip_writer_init()
3273 …if (NULL == (pZip->m_pState->m_pMem = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, initial_allocation_… in mz_zip_writer_init_heap()
3561 …if (NULL == (pComp = (tdefl_compressor *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(tdefl_com… in mz_zip_writer_add_mem_ex()
3720 void *pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, MZ_ZIP_MAX_IO_BUF_SIZE); in mz_zip_writer_add_file()
3748 …tdefl_compressor *pComp = (tdefl_compressor *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(tdef… in mz_zip_writer_add_file()
3874 …if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)MZ_MAX(sizeof(mz_uint32) * 4,… in mz_zip_writer_add_from_zip_reader()
4021 …if ((!pZip) || (!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || ((pZip->m_zip_mode !=… in mz_zip_writer_end()