Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_writer.cc268 FileInfo& currentFile = files_.back(); in WriteBytes() local
270 if (currentFile.compression_method & kCompressDeflated) { in WriteBytes()
271 result = CompressBytes(&currentFile, data, len); in WriteBytes()
273 result = StoreBytes(&currentFile, data, len); in WriteBytes()
280 currentFile.crc32 = crc32(currentFile.crc32, reinterpret_cast<const Bytef*>(data), len); in WriteBytes()
281 currentFile.uncompressed_size += len; in WriteBytes()
372 FileInfo& currentFile = files_.back(); in FinishEntry() local
373 if (currentFile.compression_method & kCompressDeflated) { in FinishEntry()
374 int32_t result = FlushCompressedBytes(&currentFile); in FinishEntry()
387 dd.crc32 = currentFile.crc32; in FinishEntry()
[all …]