Lines Matching refs:data_ptr
3095 static void SetImpl(ElementType* data_ptr, ElementType value,
3099 // aligned. This is relying on undefined behaviour in C++, since {data_ptr}
3102 base::WriteUnalignedValue(reinterpret_cast<Address>(data_ptr), value);
3110 if (IsAligned(reinterpret_cast<uintptr_t>(data_ptr),
3114 reinterpret_cast<std::atomic<ElementType>*>(data_ptr)->store(
3120 // {data_ptr} is at least four byte aligned, and {std::atomic<uint32_t>}
3122 // {data_ptr} to it.
3127 DCHECK(IsAligned(reinterpret_cast<uintptr_t>(data_ptr), kInt32Size));
3137 reinterpret_cast<std::atomic<uint32_t>*>(data_ptr)[word].store(
3160 static ElementType GetImpl(ElementType* data_ptr, IsSharedBuffer is_shared) {
3166 reinterpret_cast<Address>(data_ptr));
3173 if (IsAligned(reinterpret_cast<uintptr_t>(data_ptr),
3180 return reinterpret_cast<std::atomic<ElementType>*>(data_ptr)->load(
3185 // {data_ptr} is at least four byte aligned, and {std::atomic<uint32_t>}
3187 // {data_ptr} to it.
3192 DCHECK(IsAligned(reinterpret_cast<uintptr_t>(data_ptr), kInt32Size));
3201 reinterpret_cast<std::atomic<uint32_t>*>(data_ptr)[word].load(
3357 ElementType* data_ptr =
3380 AccessorClass::GetImpl(data_ptr + k, is_shared));
3397 ElementType elem_k = AccessorClass::GetImpl(data_ptr + k, is_shared);
3429 ElementType* data_ptr =
3461 ElementType elem_k = AccessorClass::GetImpl(data_ptr + k, is_shared);
3477 ElementType* data_ptr =
3517 ElementType elem_k = AccessorClass::GetImpl(data_ptr + k, is_shared);