Lines Matching refs:m_pBuf
4399 mz_uint8 *m_pBuf; member
4414 pNew_buf = (mz_uint8 *)MZ_REALLOC(p->m_pBuf, new_capacity); in tdefl_output_buffer_putter()
4416 p->m_pBuf = pNew_buf; in tdefl_output_buffer_putter()
4419 memcpy((mz_uint8 *)p->m_pBuf + p->m_size, pBuf, len); in tdefl_output_buffer_putter()
4437 return out_buf.m_pBuf; in tdefl_compress_mem_to_heap()
4446 out_buf.m_pBuf = (mz_uint8 *)pOut_buf; in tdefl_compress_mem_to_mem()
4520 if (NULL == (out_buf.m_pBuf = (mz_uint8 *)MZ_MALLOC(out_buf.m_capacity))) { in tdefl_write_image_to_png_file_in_memory_ex()
4539 MZ_FREE(out_buf.m_pBuf); in tdefl_write_image_to_png_file_in_memory_ex()
4590 memcpy(out_buf.m_pBuf, pnghdr, 41); in tdefl_write_image_to_png_file_in_memory_ex()
4597 MZ_FREE(out_buf.m_pBuf); in tdefl_write_image_to_png_file_in_memory_ex()
4600 c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, out_buf.m_pBuf + 41 - 4, in tdefl_write_image_to_png_file_in_memory_ex()
4603 (out_buf.m_pBuf + out_buf.m_size - 16)[i] = (mz_uint8)(c >> 24); in tdefl_write_image_to_png_file_in_memory_ex()
4607 return out_buf.m_pBuf; in tdefl_write_image_to_png_file_in_memory_ex()