Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc192 : mapped_zip(fd), in ZipArchive()
208 : mapped_zip(address, length), in ZipArchive()
218 if (close_file && mapped_zip.GetFileDescriptor() >= 0) { in ~ZipArchive()
220 android_fdsan_close_with_tag(mapped_zip.GetFileDescriptor(), GetOwnerTag(this)); in ~ZipArchive()
222 close(mapped_zip.GetFileDescriptor()); in ~ZipArchive()
234 if (!archive->mapped_zip.ReadAtOffset(scan_buffer, read_amount, search_start)) { in MapCentralDirectory0()
322 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory()
449 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&lfh_start_bytes), in ParseZipArchive()
516 static int32_t ValidateDataDescriptor(MappedZipFile& mapped_zip, ZipEntry* entry) { in ValidateDataDescriptor() argument
525 if (!mapped_zip.ReadAtOffset(ddBuf, sizeof(ddBuf), offset)) { in ValidateDataDescriptor()
[all …]
Dzip_archive_private.h161 mutable MappedZipFile mapped_zip; member
Dzip_archive_stream_entry.cc87 if (!archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_)) { in Read()
209 if (!archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_)) { in Read()