Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse_read.c103 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 …]
Doutput_file.c82 uint32_t crc32; member
392 out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk()
431 out->crc32 = sparse_crc32(out->crc32, data, len); in write_sparse_data_chunk()
433 out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len); in write_sparse_data_chunk()
457 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
550 out->crc32 = 0; in output_file_init()
/system/core/libziparchive/
Dzip_archive_common.h91 uint32_t crc32; member
141 uint32_t crc32; member
162 uint32_t crc32; member
Dzip_writer.cc280 currentFile.crc32 = crc32(currentFile.crc32, reinterpret_cast<const Bytef*>(data), len); in WriteBytes()
387 dd.crc32 = currentFile.crc32; in FinishEntry()
412 cdr.crc32 = file.crc32; in Finish()
Dzip_archive_stream_entry.cc45 crc32_ = entry.crc32; in Init()
102 computed_crc32_ = crc32(computed_crc32_, data_.data(), data_.size()); in Read()
233 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size()); in Read()
240 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size()); in Read()
Dzip_archive.cc490 entry->crc32 = descriptor->crc32; in UpdateEntryFromDataDescriptor()
547 data->crc32 = cdr->crc32; in FindEntry()
581 || data->crc32 != lfh->crc32) { in FindEntry()
584 data->compressed_length, data->uncompressed_length, data->crc32, in FindEntry()
585 lfh->compressed_size, lfh->uncompressed_size, lfh->crc32); in FindEntry()
1002 crc = crc32(crc, &buf[0], block_size); in CopyEntryToWriter()
1040 if (entry->crc32 != crc && false) { in ExtractToWriter()
1041 ALOGW("Zip: crc mismatch: expected %" PRIu32 ", was %" PRIu64, entry->crc32, crc); in ExtractToWriter()
Dzip_archive_test.cc275 ASSERT_EQ(0x950821c5, data.crc32); in TEST()
/system/core/include/ziparchive/
Dzip_writer.h136 uint32_t crc32; member
Dzip_archive.h86 uint32_t crc32; member
/system/core/libutils/
DREADME242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
/system/update_engine/
Dupdate_metadata.proto78 // xz file after decompression. The xz file should only use crc32 or no crc at
/system/core/adb/
Dprotocol.txt36 unsigned data_crc32; /* crc32 of data payload */