Lines Matching refs:mz_crc32
222 mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) in mz_crc32() function
2061 …c=(mz_uint32)mz_crc32(MZ_CRC32_INIT,pnghdr+12,17); for (i=0; i<4; ++i, c<<=8) ((mz_uint8*)(pnghdr+… in tdefl_write_image_to_png_file_in_memory_ex()
2066 …c = (mz_uint32)mz_crc32(MZ_CRC32_INIT,out_buf.m_pBuf+41-4, *pLen_out+4); for (i=0; i<4; ++i, c<<=8… in tdefl_write_image_to_png_file_in_memory_ex()
2830 …return ((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) != 0) || (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)… in mz_zip_reader_extract_to_mem_no_alloc()
2894 …if ((out_buf_ofs != file_stat.m_uncomp_size) || (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf, (… in mz_zip_reader_extract_to_mem_no_alloc()
3036 …file_crc32 = (mz_uint32)mz_crc32(file_crc32, (const mz_uint8 *)pRead_buf, (size_t)file_stat.m_comp… in mz_zip_reader_extract_to_callback()
3053 … file_crc32 = (mz_uint32)mz_crc32(file_crc32, (const mz_uint8 *)pRead_buf, (size_t)read_buf_avail); in mz_zip_reader_extract_to_callback()
3104 file_crc32 = (mz_uint32)mz_crc32(file_crc32, pWrite_buf_cur, out_buf_size); in mz_zip_reader_extract_to_callback()
3584 uncomp_crc32 = (mz_uint32)mz_crc32(MZ_CRC32_INIT, (const mz_uint8*)pBuf, buf_size); in mz_zip_writer_add_mem_ex()
3738 uncomp_crc32 = (mz_uint32)mz_crc32(uncomp_crc32, (const mz_uint8 *)pRead_buf, n); in mz_zip_writer_add_file()
3776 uncomp_crc32 = (mz_uint32)mz_crc32(uncomp_crc32, (const mz_uint8 *)pRead_buf, in_buf_size); in mz_zip_writer_add_file()