Lines Matching refs:out_buf

2045     tdefl_output_buffer out_buf;  in tdefl_compress_mem_to_heap()  local
2046 MZ_CLEAR_OBJ(out_buf); in tdefl_compress_mem_to_heap()
2051 out_buf.m_expandable = MZ_TRUE; in tdefl_compress_mem_to_heap()
2052 …if (!tdefl_compress_mem_to_output(pSrc_buf, src_buf_len, tdefl_output_buffer_putter, &out_buf, fla… in tdefl_compress_mem_to_heap()
2054 *pOut_len = out_buf.m_size; in tdefl_compress_mem_to_heap()
2055 return out_buf.m_pBuf; in tdefl_compress_mem_to_heap()
2060 tdefl_output_buffer out_buf; in tdefl_compress_mem_to_mem() local
2061 MZ_CLEAR_OBJ(out_buf); in tdefl_compress_mem_to_mem()
2064 out_buf.m_pBuf = (mz_uint8 *)pOut_buf; in tdefl_compress_mem_to_mem()
2065 out_buf.m_capacity = out_buf_len; in tdefl_compress_mem_to_mem()
2066 …if (!tdefl_compress_mem_to_output(pSrc_buf, src_buf_len, tdefl_output_buffer_putter, &out_buf, fla… in tdefl_compress_mem_to_mem()
2068 return out_buf.m_size; in tdefl_compress_mem_to_mem()
2107 tdefl_output_buffer out_buf; in tdefl_write_image_to_png_file_in_memory_ex() local
2113 MZ_CLEAR_OBJ(out_buf); in tdefl_write_image_to_png_file_in_memory_ex()
2114 out_buf.m_expandable = MZ_TRUE; in tdefl_write_image_to_png_file_in_memory_ex()
2115 out_buf.m_capacity = 57 + MZ_MAX(64, (1 + bpl) * h); in tdefl_write_image_to_png_file_in_memory_ex()
2116 if (NULL == (out_buf.m_pBuf = (mz_uint8 *)MZ_MALLOC(out_buf.m_capacity))) in tdefl_write_image_to_png_file_in_memory_ex()
2123 tdefl_output_buffer_putter(&z, 1, &out_buf); in tdefl_write_image_to_png_file_in_memory_ex()
2125 …tdefl_init(pComp, tdefl_output_buffer_putter, &out_buf, s_tdefl_png_num_probes[MZ_MIN(10, level)] … in tdefl_write_image_to_png_file_in_memory_ex()
2134 MZ_FREE(out_buf.m_pBuf); in tdefl_write_image_to_png_file_in_memory_ex()
2138 *pLen_out = out_buf.m_size - 41; in tdefl_write_image_to_png_file_in_memory_ex()
2162 memcpy(out_buf.m_pBuf, pnghdr, 41); in tdefl_write_image_to_png_file_in_memory_ex()
2165 … if (!tdefl_output_buffer_putter("\0\0\0\0\0\0\0\0\x49\x45\x4e\x44\xae\x42\x60\x82", 16, &out_buf)) in tdefl_write_image_to_png_file_in_memory_ex()
2169 MZ_FREE(out_buf.m_pBuf); in tdefl_write_image_to_png_file_in_memory_ex()
2172 c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, out_buf.m_pBuf + 41 - 4, *pLen_out + 4); in tdefl_write_image_to_png_file_in_memory_ex()
2174 (out_buf.m_pBuf + out_buf.m_size - 16)[i] = (mz_uint8)(c >> 24); in tdefl_write_image_to_png_file_in_memory_ex()
2178 return out_buf.m_pBuf; in tdefl_write_image_to_png_file_in_memory_ex()