Searched refs:crc32 (Results 1 – 12 of 12) sorted by relevance
/system/core/libsparse/ |
D | sparse_read.c | 103 uint32_t *crc32) in process_raw_chunk() argument 122 if (crc32) { in process_raw_chunk() 129 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_raw_chunk() 140 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk() argument 163 if (crc32) { in process_fill_chunk() 172 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_fill_chunk() 182 unsigned int block __unused, uint32_t *crc32) in process_skip_chunk() argument 188 if (crc32) { in process_skip_chunk() 194 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_skip_chunk() 202 static int process_crc32_chunk(int fd, unsigned int chunk_size, uint32_t *crc32) in process_crc32_chunk() argument [all …]
|
D | output_file.c | 82 uint32_t crc32; member 399 out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk() 438 out->crc32 = sparse_crc32(out->crc32, data, len); in write_sparse_data_chunk() 440 out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len); in write_sparse_data_chunk() 464 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk() 557 out->crc32 = 0; in output_file_init()
|
/system/core/libziparchive/ |
D | zip_archive_common.h | 91 uint32_t crc32; member 141 uint32_t crc32; member 162 uint32_t crc32; member
|
D | zip_writer.cc | 183 dst->crc32 = 0u; in CopyFromFileEntry() 187 dst->crc32 = src.crc32; in CopyFromFileEntry() 334 current_file_entry_.crc32 = crc32(current_file_entry_.crc32, in WriteBytes() 443 dd.crc32 = current_file_entry_.crc32; in FinishEntry() 488 cdr.crc32 = file.crc32; in Finish()
|
D | zip_archive_stream_entry.cc | 47 crc32_ = entry.crc32; in Init() 105 computed_crc32_ = crc32(computed_crc32_, data_.data(), data_.size()); in Read() 237 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size()); in Read() 244 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size()); in Read()
|
D | zip_archive.cc | 510 entry->crc32 = descriptor->crc32; in UpdateEntryFromDataDescriptor() 549 data->crc32 = cdr->crc32; in FindEntry() 594 || data->crc32 != lfh->crc32) { in FindEntry() 597 data->compressed_length, data->uncompressed_length, data->crc32, in FindEntry() 598 lfh->compressed_size, lfh->uncompressed_size, lfh->crc32); in FindEntry() 1023 crc = crc32(crc, &buf[0], block_size); in CopyEntryToWriter() 1061 if (entry->crc32 != crc && false) { in ExtractToWriter() 1062 ALOGW("Zip: crc mismatch: expected %" PRIu32 ", was %" PRIu64, entry->crc32, crc); in ExtractToWriter()
|
D | zip_archive_test.cc | 288 ASSERT_EQ(0x950821c5, data.crc32); in TEST()
|
/system/core/include/ziparchive/ |
D | zip_writer.h | 73 uint32_t crc32; member
|
D | zip_archive.h | 83 uint32_t crc32; member
|
/system/core/libutils/ |
D | README | 242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
|
/system/update_engine/ |
D | update_metadata.proto | 78 // xz file after decompression. The xz file should only use crc32 or no crc at
|
/system/core/adb/ |
D | protocol.txt | 36 unsigned data_crc32; /* crc32 of data payload */
|