Home
last modified time | relevance | path

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

/openbsd-src/gnu/gcc/gcc/config/i386/
H A Dgmm_malloc.h37 void * aligned_ptr; in _mm_malloc() local
61 aligned_ptr = (void *) (((size_t) malloc_ptr + align) in _mm_malloc()
65 ((void **) aligned_ptr) [-1] = malloc_ptr; in _mm_malloc()
67 return aligned_ptr; in _mm_malloc()
71 _mm_free (void * aligned_ptr) in _mm_free() argument
73 if (aligned_ptr) in _mm_free()
74 free (((void **) aligned_ptr) [-1]); in _mm_free()
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp278 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
282 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
298 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
316 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
335 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
339 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
346 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/openbsd-src/gnu/llvm/libcxx/src/
H A Dmemory_resource.cpp434 void* aligned_ptr = align_down(align, bytes, new_ptr, new_capacity); in __try_allocate_from_chunk() local
435 if (aligned_ptr != nullptr) in __try_allocate_from_chunk()
437 return aligned_ptr; in __try_allocate_from_chunk()
443 void* aligned_ptr = align_down(align, bytes, new_ptr, new_capacity); in __try_allocate_from_chunk() local
444 if (aligned_ptr != nullptr) in __try_allocate_from_chunk()
446 return aligned_ptr; in __try_allocate_from_chunk()