/system/core/libsparse/ |
D | sparse_read.cpp | 78 virtual int GetCrc32(uint32_t* crc32, int64_t len) = 0; 105 int GetCrc32(uint32_t* crc32, int64_t len) override { in GetCrc32() argument 114 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in GetCrc32() 153 int GetCrc32(uint32_t* crc32, int64_t len) override { in GetCrc32() argument 154 *crc32 = sparse_crc32(*crc32, buf, len); in GetCrc32() 176 uint32_t* crc32) { in process_raw_chunk() argument 193 if (crc32) { in process_raw_chunk() 194 ret = source->GetCrc32(crc32, len); in process_raw_chunk() 207 uint32_t* crc32) { in process_fill_chunk() argument 229 if (crc32) { in process_fill_chunk() [all …]
|
D | output_file.cpp | 77 uint32_t crc32; member 364 while (count--) out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk() 398 out->crc32 = sparse_crc32(out->crc32, data, len); in write_sparse_data_chunk() 399 if (zero_len) out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len); in write_sparse_data_chunk() 422 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk() 511 out->crc32 = 0; in output_file_init()
|
/system/libziparchive/ |
D | zip_archive_common.h | 94 uint32_t crc32; member 145 uint32_t crc32; member 167 uint32_t crc32; member
|
D | zip_writer.cc | 187 dst->crc32 = 0u; in CopyFromFileEntry() 191 dst->crc32 = src.crc32; in CopyFromFileEntry() 368 current_file_entry_.crc32 = static_cast<uint32_t>( in WriteBytes() 369 crc32(current_file_entry_.crc32, reinterpret_cast<const Bytef*>(data), len32)); in WriteBytes() 481 DataDescriptor::kOptSignature, current_file_entry_.crc32, in FinishEntry() 526 cdr.crc32 = file.crc32; in Finish()
|
D | zip_archive_stream_entry.cc | 42 crc32_ = entry.crc32; in Init() 108 crc32(computed_crc32_, data_.data(), static_cast<uint32_t>(data_.size()))); in Read() 250 crc32(computed_crc32_, out_.data(), static_cast<uint32_t>(out_.size()))); in Read() 258 crc32(computed_crc32_, out_.data(), static_cast<uint32_t>(out_.size()))); in Read()
|
D | zip_archive.cc | 647 descriptor.crc32 = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor() 660 entry->crc32 != descriptor.crc32) { in ValidateDataDescriptor() 663 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor() 664 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor() 700 data->crc32 = cdr->crc32; in FindEntry() 835 data->uncompressed_length != lfh_uncompressed_size || data->crc32 != lfh->crc32) { in FindEntry() 838 data->compressed_length, data->uncompressed_length, data->crc32, lfh_compressed_size, in FindEntry() 839 lfh_uncompressed_size, lfh->crc32); in FindEntry() 1276 crc = crc32(crc, &write_buf[0], static_cast<uint32_t>(write_size)); in Inflate() 1341 crc = crc32(crc, &buf[0], block_size); in CopyEntryToWriter() [all …]
|
D | ziptool.cpp | 272 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne()
|
D | zip_archive_test.cc | 349 ASSERT_EQ(0x950821c5, data.crc32); in TEST()
|
/system/core/adb/fastdeploy/deploypatchgenerator/ |
D | apk_archive.cpp | 236 uint32_t crc32; in ParseCentralDirectoryRecord() member 314 uint32_t crc32; in CalculateLocalFileEntrySize() member 354 uint32_t crc32; in CalculateLocalFileEntrySize() member
|
/system/libziparchive/include/ziparchive/ |
D | zip_writer.h | 76 uint32_t crc32; member
|
D | zip_archive.h | 70 uint32_t crc32; member
|
/system/core/storaged/ |
D | storaged.cpp | 189 uint32_t computed_crc = crc32(current_version, in load_proto() 208 proto->set_crc(crc32(current_version, in prepare_proto()
|
/system/vold/ |
D | Checkpoint.cpp | 429 void crc32(const void* data, size_t n_bytes, uint32_t* crc) { in crc32() function 674 crc32(&buffer[i], ls.block_size, &checksum); in cp_restoreCheckpoint()
|
/system/core/libutils/ |
D | README | 242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
|
/system/core/adb/ |
D | protocol.txt | 36 unsigned data_crc32; /* crc32 of data payload */
|
/system/update_engine/ |
D | update_metadata.proto | 83 // xz file after decompression. The xz file should only use crc32 or no crc at
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 83 // xz file after decompression. The xz file should only use crc32 or no crc at
|