Lines Matching refs:offset
62 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load() argument
63 T* address = ComputeInternalPointer<T>(offset); in Load()
72 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store() argument
73 T* address = ComputeInternalPointer<T>(offset); in Store()
81 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned() argument
88 *ComputeInternalPointer<uint8_t>(offset + i) << (i * kBitsPerByte); in LoadUnaligned()
96 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned() argument
102 *ComputeInternalPointer<uint8_t>(offset + i) = in StoreUnaligned()
108 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo() argument
109 return ComputeInternalPointer<T>(offset); in PointerTo()
112 void CopyFrom(size_t offset, const MemoryRegion& from) const;
115 void CopyFromVector(size_t offset, Vector& vector) const { in CopyFromVector() argument
117 CopyFrom(offset, MemoryRegion(vector.data(), vector.size())); in CopyFromVector()
122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion() argument
124 CHECK_LE(offset, this->size() - size_in); in Subregion()
125 return MemoryRegion(reinterpret_cast<void*>(begin() + offset), size_in); in Subregion()
136 ALWAYS_INLINE T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer() argument
138 CHECK_LE(offset, size() - sizeof(T)); in ComputeInternalPointer()
139 return reinterpret_cast<T*>(begin() + offset); in ComputeInternalPointer()