Home
last modified time | relevance | path

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

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_pools.cpp512 static size_t putMemAll, getMemAll, getMemSuccessful; variable
516 getMemAll++; in getMemMalloc()
540 getMemAll = putMemAll = 0; in TestPoolKeepTillDestroy()
560 size_t getCallsBefore = getMemAll; in TestPoolKeepTillDestroy()
564 REQUIRE_MESSAGE(getCallsBefore == getMemAll, "Must not lead to new getMem call"); in TestPoolKeepTillDestroy()
573 REQUIRE_MESSAGE(getMemAll == totalPutMemCalls, "Memory leak detected."); in TestPoolKeepTillDestroy()
634 putMemAll = getMemAll = getMemSuccessful = 0; in CreateUsablePool()
637 REQUIRE_MESSAGE((!getMemAll && !putMemAll), "No callbacks after fail."); in CreateUsablePool()
647 … REQUIRE_MESSAGE((getMemSuccessful == 1 || getMemSuccessful == 5 || getMemAll > getMemSuccessful), in CreateUsablePool()
689 putMemAll = getMemAll = getMemSuccessful = 0; in TestPoolCreation()
[all …]