Home
last modified time | relevance | path

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

/oneTBB/test/common/
H A Dcustom_allocators.h112 counter_type items_allocated; variable
167 items_allocated += n; in allocate()
197 counter_type items_allocated; member
213 : items_allocated(other.items_allocated.load()), in AllocatorCounters()
221 items_allocated.store(other.items_allocated.load());
231 return lhs.items_allocated == rhs.items_allocated &&
251 static counter_type items_allocated; variable
278 items_allocated += n; in allocate()
305 items_allocated = 0; in init_counters()
340 static counter_type items_allocated; member
[all …]
H A Dcontainer_move_support.h95 …REQUIRE_MESSAGE( static_counter_allocator_type::items_allocated == static_counter_allocator_type::… in verify_no_allocator_memory_leaks()
101 …REQUIRE_MESSAGE( (now.items_allocated - previous_state.items_allocated) <= expected_number_of_item… in verify_no_more_than_x_memory_items_allocated()
534 …REQUIRE_MESSAGE(StaticCountingAllocatorType::items_allocated == StaticCountingAllocatorType::items… in verify_no_allocator_memory_leaks()
544 REQUIRE_MESSAGE((now.items_allocated - previous_state.items_allocated) <= expected, in verify_no_more_than_x_memory_items_allocated()
775 std::size_t limit = allocator_type::items_allocated + fixture.container_size / 4; in test_ex_move_ctor_unequal_allocator_memory_failure()
H A Dconcurrent_unordered_common.h30 REQUIRE( a.items_allocated == a.allocations); in CheckContainerAllocator()
32 REQUIRE( a.items_allocated == a.items_freed ); in CheckContainerAllocator()
/oneTBB/test/tbbmalloc/
H A Dtest_scalable_allocator.cpp67 REQUIRE((allocations==frees && items_allocated==items_freed)); in ~MinimalAllocator()
70 REQUIRE(items_allocated>cnt_alloc_t::items_allocated); in ~MinimalAllocator()
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp284 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestResizeAndCopy()
319 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestCopyAssignment()
365 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestCapacity()
563 …LimitAllocatedItemsInScope<allocator_t> allocator_limit(allocator_t::items_allocated + planned_vic… in test_ex_assign_operator()
746 std::size_t items_allocated = v.get_allocator().items_allocated, in TestConcurrentGrowToAtLeastImpl() local
750 REQUIRE( items_allocated == items_freed ); in TestConcurrentGrowToAtLeastImpl()
1031 std::size_t items_allocated = MyAllocator::items_allocated, in TestConcurrentGrowBy() local
1035 REQUIRE(items_allocated == items_freed); in TestConcurrentGrowBy()
1077 …llocatedItemsInScope<allocator_type> allocator_limit(allocator_type::items_allocated + allocation_… in test_ex_move_assignment_memory_failure()
H A Dconformance_concurrent_queue.cpp125 CHECK(allocator_type::items_allocated == allocator_type::items_freed); in TestFullQueue()
1730 size_t q1_items_allocated = allocator_type::items_allocated; in TestMoveQueue()
1735 size_t q2_items_allocated = allocator_type::items_allocated; in TestMoveQueue()
1742 CHECK(q2_items_allocated >= allocator_type::items_allocated); in TestMoveQueue()
1794 size_t q2_items_allocated = allocator_type::items_allocated; in TestMoveQueueUnequal()
1799 …REQUIRE_MESSAGE(allocator_type::items_allocated == q2_items_allocated, "More than expected memory … in TestMoveQueueUnequal()
H A Dconformance_concurrent_hash_map.cpp959 REQUIRE( test_allocator_type::items_allocated == test_allocator_type::items_freed ); in TestInsertFindErase()
1044 REQUIRE( test_allocator_type::items_allocated == test_allocator_type::items_freed ); in TestConcurrency()
/oneTBB/test/tbb/
H A Dtest_concurrent_vector.cpp597 REQUIRE( allocator_type::items_allocated == allocator_type::items_freed );