Searched refs:aligned_ptr (Results 1 – 4 of 4) sorted by relevance
238 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local242 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()258 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()276 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()295 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()299 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()306 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
372 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); in allocate() local373 assert(is_max_aligned(aligned_ptr)); in allocate()375 char* unaligned_ptr = aligned_ptr + alignof(T); in allocate()386 char* aligned_ptr = ((char*)p) - alignof(T); in deallocate() local387 assert(is_max_aligned(aligned_ptr)); in deallocate()391 return ::operator delete(static_cast<void*>(aligned_ptr)); in deallocate()
455 auto &aligned_ptr = ArgSelector<arg>::Select(p1ref, p2ref);456 auto offset = offset_to_next_aligned<Alignment>(aligned_ptr);461 aligned_ptr = assume_aligned<Alignment>(aligned_ptr);
1170 void *aligned_ptr; // Pointer within base allocation which is aligned to1172 size_t offset; // Offset from aligned_ptr from where to get values