Lines Matching defs:RTHEAPSIMPLE_ALIGNMENT
164 #define RTHEAPSIMPLE_ALIGNMENT (sizeof(RTHEAPSIMPLEBLOCK))
178 #define ASSERT_ALIGN(a) AssertMsg(!((uintptr_t)(a) & (RTHEAPSIMPLE_ALIGNMENT - 1)), ("a=%p\n", (uintptr_t)(a)))
304 cbMemory &= ~(RTHEAPSIMPLE_ALIGNMENT - 1);
401 cb = RT_ALIGN_Z(cb, RTHEAPSIMPLE_ALIGNMENT);
403 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
408 if (cbAlignment < RTHEAPSIMPLE_ALIGNMENT)
409 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
438 cb = RT_ALIGN_Z(cb, RTHEAPSIMPLE_ALIGNMENT);
440 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
445 if (cbAlignment < RTHEAPSIMPLE_ALIGNMENT)
446 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
569 if (pFree->cb >= cb + RT_ALIGN_Z(sizeof(RTHEAPSIMPLEFREE), RTHEAPSIMPLE_ALIGNMENT))
650 Assert(RT_ALIGN_P(pv, RTHEAPSIMPLE_ALIGNMENT) == pv);
844 AssertReturn(RT_ALIGN_P(pv, RTHEAPSIMPLE_ALIGNMENT) == pv, 0);