Lines Matching refs:slabSize
213 Block *block = (Block *)alignDown(blocks1[i].ptr, slabSize); in operator ()()
219 Block *block = (Block *)alignDown(blocks2[i].ptr, slabSize); in operator ()()
570 void* mem = scalable_malloc(2*slabSize); in TestObjectRecognition()
572 Block* falseBlock = (Block*)alignUp((uintptr_t)mem, slabSize); in TestObjectRecognition()
575 …REQUIRE_MESSAGE(alignDown(falseSO, slabSize)==(void*)falseBlock, "Error in test: false object offs… in TestObjectRecognition()
577 void* bufferLOH = scalable_malloc(2*slabSize + headersSize); in TestObjectRecognition()
580 (LargeObjectHdr*)alignUp((uintptr_t)bufferLOH + headersSize, slabSize); in TestObjectRecognition()
583 headerLO->memoryBlock->unalignedSize = 2*slabSize + headersSize; in TestObjectRecognition()
584 headerLO->memoryBlock->objectSize = slabSize + headersSize; in TestObjectRecognition()
587 REQUIRE_MESSAGE(scalable_msize(falseLO) == slabSize + headersSize, in TestObjectRecognition()
629 REQUIRE_MESSAGE(obtainedSize>=2*slabSize, "Correct pointer not accepted?"); in TestObjectRecognition()
1235 Block *block = (Block *)alignDown(pointers[i], slabSize); in TestSlabAlignment()