Searched refs:actualAlign (Results 1 – 2 of 2) sorted by relevance
21 size_t actualAlign = std::max(align, sizeof(void*)); in aligned_buf_alloc() local23 void* res = _aligned_malloc(size, actualAlign); in aligned_buf_alloc()30 if (posix_memalign(&res, actualAlign, size)) { in aligned_buf_alloc()
122 size_t actualAlign = std::max(align, sizeof(void*)); in reallocImpl() local124 return _aligned_malloc(sizeBytes, actualAlign); in reallocImpl()127 if (posix_memalign(&res, actualAlign, sizeBytes)) { in reallocImpl()