Home
last modified time | relevance | path

Searched refs:sparse_crc32 (Results 1 – 5 of 5) sorted by relevance

/system/core/libsparse/
DAndroid.bp19 "sparse_crc32.cpp",
46 "sparse_crc32.cpp",
Dsparse_crc32.h22 uint32_t sparse_crc32(uint32_t crc, const void* buf, size_t size);
Dsparse_crc32.cpp90 uint32_t sparse_crc32(uint32_t crc_in, const void* buf, size_t size) { in sparse_crc32() function
Dsparse_read.cpp114 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in GetCrc32()
154 *crc32 = sparse_crc32(*crc32, buf, len); in GetCrc32()
238 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_fill_chunk()
259 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_skip_chunk()
Doutput_file.cpp365 while (count--) out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk()
399 out->crc32 = sparse_crc32(out->crc32, data, len); in write_sparse_data_chunk()
400 if (zero_len) out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len); in write_sparse_data_chunk()