Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc234 if (!archive->mapped_zip.ReadAtOffset(scan_buffer, read_amount, search_start)) { in MapCentralDirectory0()
449 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&lfh_start_bytes), in ParseZipArchive()
525 if (!mapped_zip.ReadAtOffset(ddBuf, sizeof(ddBuf), offset)) { in ValidateDataDescriptor()
594 if (!archive->mapped_zip.ReadAtOffset(lfh_buf, sizeof(lfh_buf), local_header_offset)) { in FindEntry()
662 if (!archive->mapped_zip.ReadAtOffset(name_buf.data(), nameLen, name_offset)) { in FindEntry()
933 virtual bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const { in ReadAtOffset() function in EntryReader
934 return zip_file_.ReadAtOffset(buf, len, entry_->offset + offset); in ReadAtOffset()
1009 if (!reader.ReadAtOffset(read_buf.data(), read_size, offset)) { in Inflate()
1088 if (!mapped_zip.ReadAtOffset(buf.data(), block_size, offset)) { in CopyEntryToWriter()
1228 bool MappedZipFile::ReadAtOffset(uint8_t* buf, size_t len, off64_t off) const { in ReadAtOffset() function in MappedZipFile
Dzip_archive_private.h109 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t off) const;
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()
Dzip_archive_test.cc697 bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const { in ReadAtOffset() function in VectorReader
729 bool ReadAtOffset(uint8_t*, size_t, uint32_t) const { return false; } in ReadAtOffset() function in BadReader
/system/core/libziparchive/include/ziparchive/
Dzip_archive.h252 virtual bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const = 0;