Searched refs:mz_crc32 (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.h | 66 mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len); 273 #define crc32 mz_crc32
|
D | miniz.c | 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() [all …]
|