Searched refs:aligned_size (Results 1 – 2 of 2) sorted by relevance
108 size_t aligned_size = (size + alignment_in_bytes - 1) & ~(alignment_in_bytes - 1); in AlignedAlloc() local111 int r = posix_memalign(reinterpret_cast<void **>(&ret), alignment_in_bytes, aligned_size); in AlignedAlloc()117 auto ret = aligned_alloc(alignment_in_bytes, aligned_size); in AlignedAlloc()
285 size_t aligned_size = (size + alignment_in_bytes - 1) & ~(alignment_in_bytes - 1); in AlignedAlloc() local287 auto ret = _aligned_malloc(aligned_size, alignment_in_bytes); in AlignedAlloc()