Lines Matching defs:cbAlignment
389 RTDECL(void *) RTHeapSimpleAlloc(RTHEAPSIMPLE hHeap, size_t cb, size_t cbAlignment)
402 if (!cbAlignment)
403 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
406 Assert(!(cbAlignment & (cbAlignment - 1)));
407 Assert((cbAlignment & ~(cbAlignment - 1)) == cbAlignment);
408 if (cbAlignment < RTHEAPSIMPLE_ALIGNMENT)
409 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
415 pBlock = rtHeapSimpleAllocBlock(pHeapInt, cb, cbAlignment);
426 RTDECL(void *) RTHeapSimpleAllocZ(RTHEAPSIMPLE hHeap, size_t cb, size_t cbAlignment)
439 if (!cbAlignment)
440 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
443 Assert(!(cbAlignment & (cbAlignment - 1)));
444 Assert((cbAlignment & ~(cbAlignment - 1)) == cbAlignment);
445 if (cbAlignment < RTHEAPSIMPLE_ALIGNMENT)
446 cbAlignment = RTHEAPSIMPLE_ALIGNMENT;
452 pBlock = rtHeapSimpleAllocBlock(pHeapInt, cb, cbAlignment);