Lines Matching refs:offset
47 template<typename T> T Load(uintptr_t offset) const { in Load() argument
48 return *ComputeInternalPointer<T>(offset); in Load()
51 template<typename T> void Store(uintptr_t offset, T value) const { in Store() argument
52 *ComputeInternalPointer<T>(offset) = value; in Store()
55 template<typename T> T* PointerTo(uintptr_t offset) const { in PointerTo() argument
56 return ComputeInternalPointer<T>(offset); in PointerTo()
77 void CopyFrom(size_t offset, const MemoryRegion& from) const;
80 MemoryRegion Subregion(uintptr_t offset, uintptr_t size) const { in Subregion() argument
82 CHECK_LE(offset, this->size() - size); in Subregion()
83 return MemoryRegion(reinterpret_cast<void*>(start() + offset), size); in Subregion()
93 template<typename T> T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer() argument
95 CHECK_LE(offset, size() - sizeof(T)); in ComputeInternalPointer()
96 return reinterpret_cast<T*>(start() + offset); in ComputeInternalPointer()