Searched refs:aligned_ptr (Results 1 – 2 of 2) sorted by relevance
368 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); in allocate() local369 assert(is_max_aligned(aligned_ptr)); in allocate()371 char* unaligned_ptr = aligned_ptr + alignof(T); in allocate()382 char* aligned_ptr = ((char*)p) - alignof(T); in deallocate() local383 assert(is_max_aligned(aligned_ptr)); in deallocate()387 return ::operator delete(static_cast<void*>(aligned_ptr)); in deallocate()
80 size_t aligned_ptr = reinterpret_cast<size_t>(user_ptr) + alignment; in PrepareChunk() local81 user_ptr = reinterpret_cast<void*>(aligned_ptr & ~(alignment - 1)); in PrepareChunk()