Home
last modified time | relevance | path

Searched defs:FileRegion (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp37 struct FileRegion { struct
38 FileRegion(borrowed_fd fd, off64_t offset, size_t length) in FileRegion() function
55 const char* data() const { return mapped_ ? mapped_->data() : buffer_.data(); } in data()
56 size_t size() const { return mapped_ ? mapped_->size() : buffer_.size(); } in size()
62 std::unique_ptr<android::base::MappedFile> mapped_;
63 std::string buffer_;