Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc102 : mapped_zip(map), in ZipArchive()
110 CHECK(mapped_zip.HasFd()); in ZipArchive()
111 android_fdsan_exchange_owner_tag(mapped_zip.GetFileDescriptor(), 0, GetOwnerTag(this)); in ZipArchive()
117 : mapped_zip(address, length), in ZipArchive()
125 if (close_file && mapped_zip.GetFileDescriptor() >= 0) { in ~ZipArchive()
127 android_fdsan_close_with_tag(mapped_zip.GetFileDescriptor(), GetOwnerTag(this)); in ~ZipArchive()
129 close(mapped_zip.GetFileDescriptor()); in ~ZipArchive()
165 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>((&zip64EocdLocator)), in FindCentralDirectoryInfoForZip64()
187 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&zip64EocdRecord), in FindCentralDirectoryInfoForZip64()
223 if (!archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start)) { in FindCentralDirectoryInfo()
[all …]
Dzip_archive_private.h90 mutable MappedZipFile mapped_zip; member
Dzip_archive_stream_entry.cc94 if (!archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_)) { in Read()
225 if (!archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_)) { in Read()