Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc159 : mapped_zip(std::move(map)), in ZipArchive()
167 CHECK(mapped_zip.GetFileDescriptor() >= 0 || !mapped_zip.GetBasePtr()); in ZipArchive()
168 android_fdsan_exchange_owner_tag(mapped_zip.GetFileDescriptor(), 0, GetOwnerTag(this)); in ZipArchive()
174 : mapped_zip(address, length), in ZipArchive()
182 if (close_file && mapped_zip.GetFileDescriptor() >= 0) { in ~ZipArchive()
184 android_fdsan_close_with_tag(mapped_zip.GetFileDescriptor(), GetOwnerTag(this)); in ~ZipArchive()
186 close(mapped_zip.GetFileDescriptor()); in ~ZipArchive()
223 archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>((&zip64EocdLocatorBuf)), in FindCentralDirectoryInfoForZip64()
247 archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&zip64EocdRecordBuf), in FindCentralDirectoryInfoForZip64()
285 const auto data = archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start); in FindCentralDirectoryInfo()
[all …]
Dzip_archive_private.h79 mutable MappedZipFile mapped_zip; member
Dzip_archive_stream_entry.cc95 auto res = archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_); in Read()
227 auto res = archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_); in Read()
Dzip_archive_test.cc139 const auto& mappedFile = handle->mapped_zip; in TEST()