Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/android-emu/android/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.h122 size_t actualAlign = std::max(align, sizeof(void*)); in reallocImpl() local
124 return _aligned_malloc(sizeBytes, actualAlign); in reallocImpl()
127 if (posix_memalign(&res, actualAlign, sizeBytes)) { in reallocImpl()