Searched refs:zalloc (Results 1 – 7 of 7) sorted by relevance
141 mz_alloc_func zalloc; // optional heap allocation function (defaults to malloc) member
140 mz_alloc_func zalloc; // optional heap allocation function (defaults to malloc) member
139 mz_alloc_func zalloc; // optional heap allocation function (defaults to malloc) member
299 mz_alloc_func zalloc; /* optional heap allocation function (defaults to malloc) */ member
204 if (!pStream->zalloc) in mz_deflateInit2()205 pStream->zalloc = miniz_def_alloc_func; in mz_deflateInit2()209 pComp = (tdefl_compressor *)pStream->zalloc(pStream->opaque, 1, sizeof(tdefl_compressor)); in mz_deflateInit2()226 if ((!pStream) || (!pStream->state) || (!pStream->zalloc) || (!pStream->zfree)) in mz_deflateReset()373 if (!pStream->zalloc) in mz_inflateInit2()374 pStream->zalloc = miniz_def_alloc_func; in mz_inflateInit2()378 pDecomp = (inflate_state *)pStream->zalloc(pStream->opaque, 1, sizeof(inflate_state)); in mz_inflateInit2()