Lines Matching refs:m_pBuf
1977 mz_uint8 *m_pBuf; member
1989 pNew_buf = (mz_uint8*)MZ_REALLOC(p->m_pBuf, new_capacity); if (!pNew_buf) return MZ_FALSE; in tdefl_output_buffer_putter()
1990 p->m_pBuf = pNew_buf; p->m_capacity = new_capacity; in tdefl_output_buffer_putter()
1992 memcpy((mz_uint8*)p->m_pBuf + p->m_size, pBuf, len); p->m_size = new_size; in tdefl_output_buffer_putter()
2002 *pOut_len = out_buf.m_size; return out_buf.m_pBuf; in tdefl_compress_mem_to_heap()
2009 out_buf.m_pBuf = (mz_uint8*)pOut_buf; out_buf.m_capacity = out_buf_len; in tdefl_compress_mem_to_mem()
2047 …RUE; out_buf.m_capacity = 57+MZ_MAX(64, (1+bpl)*h); if (NULL == (out_buf.m_pBuf = (mz_uint8*)MZ_MA… in tdefl_write_image_to_png_file_in_memory_ex()
2053 …L, 0, TDEFL_FINISH) != TDEFL_STATUS_DONE) { MZ_FREE(pComp); MZ_FREE(out_buf.m_pBuf); return NULL; } in tdefl_write_image_to_png_file_in_memory_ex()
2062 memcpy(out_buf.m_pBuf, pnghdr, 41); in tdefl_write_image_to_png_file_in_memory_ex()
2065 …2\x60\x82", 16, &out_buf)) { *pLen_out = 0; MZ_FREE(pComp); MZ_FREE(out_buf.m_pBuf); return NULL; } in tdefl_write_image_to_png_file_in_memory_ex()
2066 …(mz_uint32)mz_crc32(MZ_CRC32_INIT,out_buf.m_pBuf+41-4, *pLen_out+4); for (i=0; i<4; ++i, c<<=8) (o… in tdefl_write_image_to_png_file_in_memory_ex()
2068 *pLen_out += 57; MZ_FREE(pComp); return out_buf.m_pBuf; in tdefl_write_image_to_png_file_in_memory_ex()