Lines Matching refs:offset
55 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load() argument
56 T* address = ComputeInternalPointer<T>(offset); in Load()
65 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store() argument
66 T* address = ComputeInternalPointer<T>(offset); in Store()
74 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned() argument
81 *ComputeInternalPointer<uint8_t>(offset + i) << (i * kBitsPerByte); in LoadUnaligned()
89 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned() argument
95 *ComputeInternalPointer<uint8_t>(offset + i) = in StoreUnaligned()
101 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo() argument
102 return ComputeInternalPointer<T>(offset); in PointerTo()
148 void CopyFrom(size_t offset, const MemoryRegion& from) const;
151 MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion() argument
153 CHECK_LE(offset, this->size() - size_in); in Subregion()
154 return MemoryRegion(reinterpret_cast<void*>(start() + offset), size_in); in Subregion()
165 ALWAYS_INLINE T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer() argument
167 CHECK_LE(offset, size() - sizeof(T)); in ComputeInternalPointer()
168 return reinterpret_cast<T*>(start() + offset); in ComputeInternalPointer()