Lines Matching defs:mz_crc32
663 mz_crc32() so it doesn't compute the wrong CRC-32's when mz_ulong is 64-bit.
965 // mz_crc32() returns the initial CRC-32 value to use when called with
967 mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
1253 #define crc32 mz_crc32
1999 mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) {
4587 c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, pnghdr + 12, 17);
4600 c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, out_buf.m_pBuf + 41 - 4,
5529 (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf,
5595 (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf,
5757 (mz_uint32)mz_crc32(file_crc32, (const mz_uint8 *)pRead_buf,
5772 file_crc32 = (mz_uint32)mz_crc32(
5826 (mz_uint32)mz_crc32(file_crc32, pWrite_buf_cur, out_buf_size);
6367 (mz_uint32)mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf, buf_size);
6533 (mz_uint32)mz_crc32(uncomp_crc32, (const mz_uint8 *)pRead_buf, n);
6571 uncomp_crc32 = (mz_uint32)mz_crc32(