Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 17 of 17) sorted by relevance

/system/core/libsparse/
Dsparse_read.cpp78 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 …]
Doutput_file.cpp77 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/
Dzip_archive_common.h94 uint32_t crc32; member
145 uint32_t crc32; member
167 uint32_t crc32; member
Dzip_writer.cc187 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()
Dzip_archive_stream_entry.cc42 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()
Dzip_archive.cc647 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 …]
Dziptool.cpp272 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne()
Dzip_archive_test.cc349 ASSERT_EQ(0x950821c5, data.crc32); in TEST()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp236 uint32_t crc32; in ParseCentralDirectoryRecord() member
314 uint32_t crc32; in CalculateLocalFileEntrySize() member
354 uint32_t crc32; in CalculateLocalFileEntrySize() member
/system/libziparchive/include/ziparchive/
Dzip_writer.h76 uint32_t crc32; member
Dzip_archive.h70 uint32_t crc32; member
/system/core/storaged/
Dstoraged.cpp189 uint32_t computed_crc = crc32(current_version, in load_proto()
208 proto->set_crc(crc32(current_version, in prepare_proto()
/system/vold/
DCheckpoint.cpp429 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/
DREADME242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
/system/core/adb/
Dprotocol.txt36 unsigned data_crc32; /* crc32 of data payload */
/system/update_engine/
Dupdate_metadata.proto83 // xz file after decompression. The xz file should only use crc32 or no crc at
/system/update_engine/update_engine/
Dupdate_metadata.proto83 // xz file after decompression. The xz file should only use crc32 or no crc at