Searched refs:GetRightAlign (Results 1 – 3 of 3) sorted by relevance
28 uintptr_t GetRightAlign(uintptr_t start_pos, size_t alignment) { in GetRightAlign() function42 void* GetRightAlign(const void* pointer, size_t alignment) { in GetRightAlign() function50 return reinterpret_cast<void*>(GetRightAlign(start_pos, alignment)); in GetRightAlign()74 uintptr_t aligned_pos = GetRightAlign(align_start_pos, alignment); in AlignedMalloc()
36 TEST(AlignedMalloc, GetRightAlign) { in TEST() argument47 const char* realigned_ptr = GetRightAlign(misaligned_ptr, alignment); in TEST()
28 void* GetRightAlign(const void* ptr, size_t alignment);40 T* GetRightAlign(const T* ptr, size_t alignment) { in GetRightAlign() function41 return reinterpret_cast<T*>(GetRightAlign(reinterpret_cast<const void*>(ptr), in GetRightAlign()