Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAlignedBuf.cpp21 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()
DAlignedBuf.h123 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/
DAlignedBuf.cpp21 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/
DAlignedBuf.h120 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()