Searched refs:crc32 (Results 1 - 10 of 10) sorted by relevance

/system/core/libziparchive/
H A Dzip_archive_common.h92 uint32_t crc32; member in struct:CentralDirectoryRecord
143 uint32_t crc32; member in struct:LocalFileHeader
165 uint32_t crc32; member in struct:DataDescriptor
H A Dzip_archive_stream_entry.cc47 crc32_ = entry.crc32;
105 computed_crc32_ = crc32(computed_crc32_, data_.data(), data_.size());
236 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size());
243 computed_crc32_ = crc32(computed_crc32_, out_.data(), out_.size());
H A Dzip_writer.cc185 dst->crc32 = 0u;
189 dst->crc32 = src.crc32;
335 current_file_entry_.crc32 =
336 crc32(current_file_entry_.crc32, reinterpret_cast<const Bytef*>(data), len);
444 dd.crc32 = current_file_entry_.crc32;
489 cdr.crc32 = file.crc32;
[all...]
H A Dzip_archive.cc466 entry->crc32 != descriptor->crc32) {
467 ALOGW("Zip: size/crc32 mismatch. expected {%" PRIu32 ", %" PRIu32 ", %" PRIx32
469 entry->compressed_length, entry->uncompressed_length, entry->crc32,
470 descriptor->compressed_size, descriptor->uncompressed_size, descriptor->crc32);
502 // Fill out the compression method, modification time, crc32
507 data->crc32 = cdr->crc32;
561 data->uncompressed_length != lfh->uncompressed_size || data->crc32 != lfh->crc32) {
[all...]
H A Dunzip.cpp209 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32,
H A Dzip_archive_test.cc280 ASSERT_EQ(0x950821c5, data.crc32);
641 //[sig---------------], [crc32---------------], [csize---------------], [size----------------]
/system/core/libsparse/
H A Dsparse_read.cpp78 uint32_t *crc32)
97 if (crc32) {
104 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
115 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
138 if (crc32) {
147 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
157 unsigned int block __unused, uint32_t *crc32)
163 if (crc32) {
76 process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, int64_t offset, unsigned int blocks, unsigned int block, uint32_t *crc32) argument
114 process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) argument
155 process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, int fd __unused, unsigned int blocks, unsigned int block __unused, uint32_t *crc32) argument
177 process_crc32_chunk(int fd, unsigned int chunk_size, uint32_t *crc32) argument
256 uint32_t crc32 = 0; local
[all...]
H A Doutput_file.c82 uint32_t crc32; member in struct:output_file
399 out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t));
438 out->crc32 = sparse_crc32(out->crc32, data, len);
440 out->crc32 = sparse_crc32(out->crc32, out->zero_buf, zero_len);
464 out->ops->write(out, &out->crc32, 4);
557 out->crc32 = 0;
/system/core/libziparchive/include/ziparchive/
H A Dzip_writer.h75 uint32_t crc32; member in struct:ZipWriter::FileEntry
H A Dzip_archive.h90 uint32_t crc32; member in struct:ZipEntry
156 * It's important to note that |data->crc32|, |data->compLen| and

Completed in 194 milliseconds