Lines Matching refs:MappedFile
38 std::unique_ptr<MappedFile> MappedFile::FromFd(borrowed_fd fd, off64_t offset, size_t length, in FromFd()
47 std::unique_ptr<MappedFile> MappedFile::FromOsHandle(os_handle h, off64_t offset, size_t length, in FromOsHandle()
61 return std::unique_ptr<MappedFile>( in FromOsHandle()
62 new MappedFile(const_cast<char*>(kEmptyBuffer), 0, 0, nullptr)); in FromOsHandle()
72 return std::unique_ptr<MappedFile>( in FromOsHandle()
73 new MappedFile(static_cast<char*>(base), length, slop, handle)); in FromOsHandle()
80 return std::unique_ptr<MappedFile>(new MappedFile(const_cast<char*>(kEmptyBuffer), 0, 0)); in FromOsHandle()
84 return std::unique_ptr<MappedFile>(new MappedFile(static_cast<char*>(base), length, slop)); in FromOsHandle()
88 MappedFile::MappedFile(MappedFile&& other) in MappedFile() function in android::base::MappedFile
99 MappedFile& MappedFile::operator=(MappedFile&& other) { in operator =()
110 MappedFile::~MappedFile() { in ~MappedFile()
114 void MappedFile::Close() { in Close()