Lines Matching refs:kAllocAlignment
80 const uint32_t PersistentMemoryAllocator::kAllocAlignment = 8;
211 freeptr / (sizeof(BlockHeader) + kAllocAlignment);
244 return ((base && reinterpret_cast<uintptr_t>(base) % kAllocAlignment == 0) &&
246 (size % kAllocAlignment == 0 || readonly) &&
264 static_assert(sizeof(BlockHeader) % kAllocAlignment == 0,
265 "BlockHeader is not a multiple of kAllocAlignment");
266 static_assert(sizeof(SharedMetadata) % kAllocAlignment == 0,
267 "SharedMetadata is not a multiple of kAllocAlignment");
268 static_assert(kReferenceQueue % kAllocAlignment == 0,
476 size = (size + (kAllocAlignment - 1)) & ~(kAllocAlignment - 1);
534 if (page_free - size < sizeof(BlockHeader) + kAllocAlignment)
676 if (ref % kAllocAlignment != 0)