Home
last modified time | relevance | path

Searched refs:reallocPtr (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp1324 void* reallocPtr = rml::internal::reallocAligned(defaultMemPool, origPtr, reallocSize, 0); in reallocAndRetrieve() local
1327 …rml::internal::LargeMemoryBlock* reallocLmb = ((rml::internal::LargeObjectHdr *)reallocPtr - 1)->m… in reallocAndRetrieve()
1330 return reallocPtr; in reallocAndRetrieve()
1341 void* reallocPtr = nullptr; in TestReallocDecreasing() local
1346reallocPtr = reallocAndRetrieve(origPtr, startSize - 1 * 1024 * 1024, origBlockSize, reallocBlockS… in TestReallocDecreasing()
1348 REQUIRE_MESSAGE(reallocPtr == origPtr, "Original pointer shouldn't change"); in TestReallocDecreasing()
1363 reallocPtr = reallocAndRetrieve(origPtr, reallocSize, origBlockSize, reallocBlockSize); in TestReallocDecreasing()
1375 origPtr = reallocPtr; in TestReallocDecreasing()
1378 scalable_free(reallocPtr); in TestReallocDecreasing()