Home
last modified time | relevance | path

Searched refs:aligned_ptr (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp238 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
242 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()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontrolled_allocators.h372 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); in allocate() local
373 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() local
387 assert(is_max_aligned(aligned_ptr)); in deallocate()
391 return ::operator delete(static_cast<void*>(aligned_ptr)); in deallocate()
/llvm-project-15.0.7/libc/src/string/memory_utils/
H A Delements.h455 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);
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DSPIR-V.md1170 void *aligned_ptr; // Pointer within base allocation which is aligned to
1172 size_t offset; // Offset from aligned_ptr from where to get values