Searched refs:mappableFile (Results 1 – 9 of 9) sorted by relevance
74 case Memory::Tag::mappableFile: { in clone()75 const auto& memFd = memory.get<Memory::Tag::mappableFile>(); in clone()83 return Memory::make<Memory::Tag::mappableFile>(std::move(handle)); in clone()
381 case Tag::mappableFile: { in unvalidatedConvert()382 const auto& mappableFile = memory.get<Tag::mappableFile>(); in unvalidatedConvert() local383 VERIFY_NON_NEGATIVE(mappableFile.length) << "Memory size must not be negative"; in unvalidatedConvert()384 VERIFY_NON_NEGATIVE(mappableFile.offset) << "Memory offset must not be negative"; in unvalidatedConvert()385 if (mappableFile.length > std::numeric_limits<size_t>::max()) { in unvalidatedConvert()388 if (mappableFile.offset > std::numeric_limits<size_t>::max()) { in unvalidatedConvert()392 const size_t size = static_cast<size_t>(mappableFile.length); in unvalidatedConvert()393 const int prot = mappableFile.prot; in unvalidatedConvert()394 const int fd = mappableFile.fd.get(); in unvalidatedConvert()395 const size_t offset = static_cast<size_t>(mappableFile.offset); in unvalidatedConvert()[all …]
38 android.hardware.common.MappableFile mappableFile;
35 MappableFile mappableFile;
697 case Memory::Tag::mappableFile: in getSize()698 return memory.get<Memory::Tag::mappableFile>().length; in getSize()