Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc162 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>((&zip64EocdLocator)), in FindCentralDirectoryInfoForZip64()
184 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&zip64EocdRecord), in FindCentralDirectoryInfoForZip64()
218 if (!archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start)) { in FindCentralDirectoryInfo()
542 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&lfh_start_bytes), in ParseZipArchive()
640 if (!mapped_zip.ReadAtOffset(ddBuf, sizeof(ddBuf), offset)) { in ValidateDataDescriptor()
734 if (!archive->mapped_zip.ReadAtOffset(lfh_buf, sizeof(lfh_buf), local_header_offset)) { in FindEntry()
762 if (!archive->mapped_zip.ReadAtOffset(name_buf.data(), nameLen, name_offset)) { in FindEntry()
789 if (!archive->mapped_zip.ReadAtOffset(local_extra_field.data(), lfh_extra_field_size, in FindEntry()
1172 virtual bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const { in ReadAtOffset() function in EntryReader
1173 return zip_file_.ReadAtOffset(buf, len, entry_->offset + offset); in ReadAtOffset()
[all …]
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()
Dzip_archive_private.h57 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t off) const;
Dzip_archive_test.cc893 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const { in ReadAtOffset() function in VectorReader
925 bool ReadAtOffset(uint8_t*, size_t, off64_t) const { return false; } in ReadAtOffset() function in BadReader
/system/extras/simpleperf/
Drecord_file_reader.cpp342 bool RecordFileReader::ReadAtOffset(uint64_t offset, void* buf, size_t len) { in ReadAtOffset() function in RecordFileReader
376 if (!ReadAtOffset(section.offset, data->data(), data->size())) { in ReadFeatureSection()
591 if (!ReadAtOffset(aux_offset - location->aux_offset + location->file_offset, buf, size)) { in ReadAuxData()
609 if (!ReadAtOffset(offset, buf.get(), AuxTraceRecord::Size())) { in BuildAuxDataLocation()
Drecord_file.h180 bool ReadAtOffset(uint64_t offset, void* buf, size_t len);
/system/libziparchive/include/ziparchive/
Dzip_archive.h329 virtual bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const = 0;