Lines Matching refs:putMemAll
512 static size_t putMemAll, getMemAll, getMemSuccessful; variable
525 putMemAll++; in putMemFree()
540 getMemAll = putMemAll = 0; in TestPoolKeepTillDestroy()
549 REQUIRE(!putMemAll); in TestPoolKeepTillDestroy()
553 size_t totalPutMemCalls = putMemAll; in TestPoolKeepTillDestroy()
555 REQUIRE(!putMemAll); in TestPoolKeepTillDestroy()
557 REQUIRE(putMemAll); in TestPoolKeepTillDestroy()
558 putMemAll = 0; in TestPoolKeepTillDestroy()
565 size_t putCallsBefore = putMemAll; in TestPoolKeepTillDestroy()
568 REQUIRE_MESSAGE(putCallsBefore == putMemAll, "Pool is not releasing memory during reset."); in TestPoolKeepTillDestroy()
571 REQUIRE(putMemAll); in TestPoolKeepTillDestroy()
572 totalPutMemCalls += putMemAll; in TestPoolKeepTillDestroy()
634 putMemAll = getMemAll = getMemSuccessful = 0; in CreateUsablePool()
637 REQUIRE_MESSAGE((!getMemAll && !putMemAll), "No callbacks after fail."); in CreateUsablePool()
649 REQUIRE(!putMemAll); in CreateUsablePool()
689 putMemAll = getMemAll = getMemSuccessful = 0; in TestPoolCreation()
700 REQUIRE_MESSAGE((!putMemAll && !getMemAll), "no callback calls are expected"); in TestPoolCreation()
705 REQUIRE_MESSAGE(putMemAll == getMemSuccessful, "no leaks after pool_destroy"); in TestPoolCreation()
789 REQUIRE_MESSAGE(getMemSuccessful == putMemAll, "No leak."); in TestLazyBootstrap()