Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc223 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()
650 auto lfh_start_bytes = reinterpret_cast<const uint32_t*>(archive->mapped_zip.ReadAtOffset( in ParseZipArchive()
751 const auto ddPtr = mapped_zip.ReadAtOffset(ddBuf, sizeof(ddBuf), offset); in ValidateDataDescriptor()
860 archive->mapped_zip.ReadAtOffset(lfh_buf, sizeof(lfh_buf), local_header_offset)); in FindEntry()
904 const auto read_name = archive->mapped_zip.ReadAtOffset(name_buf, name_length, name_offset); in FindEntry()
942 const auto local_extra_field = archive->mapped_zip.ReadAtOffset( in FindEntry()
1340 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const override { in ReadAtOffset() function in EntryReader
1341 const auto res = zip_file_.ReadAtOffset(buf, len, entry_->offset + offset); in ReadAtOffset()
[all …]
Dzip_archive_private.h50 const uint8_t* ReadAtOffset(uint8_t* buf, size_t len, off64_t off) const;
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.cc907 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const { in ReadAtOffset() function in VectorReader
939 bool ReadAtOffset(uint8_t*, size_t, off64_t) const { return false; } in ReadAtOffset() function in BadReader
/system/extras/simpleperf/
Drecord_file_reader.cpp395 bool RecordFileReader::ReadAtOffset(uint64_t offset, void* buf, size_t len) { in ReadAtOffset() function in simpleperf::RecordFileReader
430 if (!ReadAtOffset(section.offset, data->data(), data->size())) { in ReadFeatureSection()
447 if (!ReadAtOffset(section.offset, data->data(), data->size())) { in ReadFeatureSection()
799 if (!ReadAtOffset(aux_offset - location->aux_offset + location->file_offset, buf.data(), size)) { in ReadAuxData()
815 if (!ReadAtOffset(offset, buf.get(), AuxTraceRecord::Size())) { in BuildAuxDataLocation()
Drecord_file.h164 bool ReadAtOffset(uint64_t offset, void* buf, size_t len);
Dcmd_debug_unwind.cpp488 if (!reader_->ReadAtOffset(offset, buffer.data(), nread) || in CopyDebugUnwindFile()
Dcmd_record.cpp1919 if (!reader->ReadAtOffset(offset, buf.data(), nread) || in MergeMapRecords()
/system/libziparchive/include/ziparchive/
Dzip_archive.h363 virtual bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const = 0;