Home
last modified time | relevance | path

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

/oneTBB/test/common/
H A Dcustom_allocators.h116 counter_type allocations; variable
126 allocations = allocs; in set_counters()
166 ++allocations; in allocate()
201 counter_type allocations; member
217 allocations(other.allocations.load()), in AllocatorCounters()
225 allocations.store(other.allocations.load());
235 lhs.allocations == rhs.allocations &&
277 ++allocations; in allocate()
309 allocations = 0; in init_counters()
358 allocations = 0; in init_counters()
[all …]
H A Dcontainer_move_support.h96 …REQUIRE_MESSAGE( static_counter_allocator_type::allocations == static_counter_allocator_type::free… in verify_no_allocator_memory_leaks()
535 …REQUIRE_MESSAGE(StaticCountingAllocatorType::allocations == StaticCountingAllocatorType::frees, "M… in verify_no_allocator_memory_leaks()
H A Dconcurrent_unordered_common.h30 REQUIRE( a.items_allocated == a.allocations); in CheckContainerAllocator()
H A Dconcurrent_associative_common.h46 REQUIRE( a.allocations == expected_allocs);
49 REQUIRE( a.allocations >= expected_allocs);
51 REQUIRE( a.allocations - a.frees == expected_allocs - expected_frees );
/oneTBB/test/tbbmalloc/
H A Dtest_scalable_allocator.cpp67 REQUIRE((allocations==frees && items_allocated==items_freed)); in ~MinimalAllocator()
68 if( allocations ) { // non-temporal copy in ~MinimalAllocator()
79 REQUIRE(allocations>frees); in deallocate()
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp285 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestResizeAndCopy()
320 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestCopyAssignment()
366 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestCapacity()
748 std::size_t allocations = v.get_allocator().allocations, in TestConcurrentGrowToAtLeastImpl() local
751 REQUIRE( allocations == frees ); in TestConcurrentGrowToAtLeastImpl()
1033 std::size_t allocations = MyAllocator::allocations, in TestConcurrentGrowBy() local
1036 REQUIRE(allocations == frees); in TestConcurrentGrowBy()
H A Dconformance_concurrent_hash_map.cpp960 REQUIRE( test_allocator_type::allocations == test_allocator_type::frees ); in TestInsertFindErase()
1045 REQUIRE( test_allocator_type::allocations == test_allocator_type::frees ); in TestConcurrency()
H A Dconformance_concurrent_queue.cpp126 CHECK(allocator_type::allocations == allocator_type::frees); in TestFullQueue()
/oneTBB/test/tbb/
H A Dtest_concurrent_vector.cpp596 REQUIRE( allocator_type::allocations == allocator_type::frees );