Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive_private.h35 class MappedZipFile {
37 explicit MappedZipFile(const int fd) in MappedZipFile() function
40 explicit MappedZipFile(const int fd, off64_t length, off64_t offset) in MappedZipFile() function
43 explicit MappedZipFile(const void* address, size_t length) in MappedZipFile() function
90 mutable MappedZipFile mapped_zip;
102 ZipArchive(MappedZipFile&& map, bool assume_ownership);
Dzip_archive.cc101 ZipArchive::ZipArchive(MappedZipFile&& map, bool assume_ownership) in ZipArchive()
607 ZipArchive* archive = new ZipArchive(MappedZipFile(fd), assume_ownership); in OpenArchiveFd()
614 ZipArchive* archive = new ZipArchive(MappedZipFile(fd, length, offset), assume_ownership); in OpenArchiveFdRange()
632 ZipArchive* archive = new ZipArchive(MappedZipFile(fd), true); in OpenArchive()
665 static int32_t ValidateDataDescriptor(MappedZipFile& mapped_zip, const ZipEntry64* entry) { in ValidateDataDescriptor()
1227 EntryReader(const MappedZipFile& zip_file, const ZipEntry64* entry) in EntryReader()
1237 const MappedZipFile& zip_file_;
1375 static int32_t InflateEntryToWriter(MappedZipFile& mapped_zip, const ZipEntry64* entry, in InflateEntryToWriter()
1383 static int32_t CopyEntryToWriter(MappedZipFile& mapped_zip, const ZipEntry64* entry, in CopyEntryToWriter()
1531 int MappedZipFile::GetFileDescriptor() const { in GetFileDescriptor()
[all …]