Searched refs:actualAlign (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | AlignedBuf.cpp | 21 size_t actualAlign = std::max(align, sizeof(void*)); in aligned_buf_alloc() local 23 void* res = _aligned_malloc(size, actualAlign); in aligned_buf_alloc() 30 if (posix_memalign(&res, actualAlign, size)) { in aligned_buf_alloc()
|
D | AlignedBuf.h | 123 size_t actualAlign = std::max(align, sizeof(void*)); in reallocImpl() local 125 return _aligned_malloc(sizeBytes, actualAlign); in reallocImpl() 128 if (posix_memalign(&res, actualAlign, sizeBytes)) { in reallocImpl()
|
/hardware/google/aemu/base/ |
D | AlignedBuf.cpp | 21 size_t actualAlign = std::max(align, sizeof(void*)); in aligned_buf_alloc() local 23 void* res = _aligned_malloc(size, actualAlign); in aligned_buf_alloc() 30 if (posix_memalign(&res, actualAlign, size)) { in aligned_buf_alloc()
|
/hardware/google/aemu/base/include/aemu/base/ |
D | AlignedBuf.h | 120 size_t actualAlign = std::max(align, sizeof(void*)); in reallocImpl() local 122 return _aligned_malloc(sizeBytes, actualAlign); in reallocImpl() 125 if (posix_memalign(&res, actualAlign, sizeBytes)) { in reallocImpl()
|