Searched refs:test_allocator_type (Results 1 – 7 of 7) sorted by relevance
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_set.cpp | 48 using test_allocator_type = std::allocator<int>; in test_member_types() typedef 50 using container_type = ContainerType<int, decltype(test_comparator), test_allocator_type>; in test_member_types() 64 static_assert(std::is_same<typename container_type::allocator_type, test_allocator_type>::value, in test_member_types()
|
| H A D | conformance_concurrent_hash_map.cpp | 179 using test_allocator_type = StaticSharedCountingAllocator<std::allocator<std::pair<const MyKey, MyD… typedef 180 …t_table_type = oneapi::tbb::concurrent_hash_map<MyKey, MyData, MyHashCompare, test_allocator_type>; 913 test_allocator_type alloc; in TestInsertFindErase() 914 test_allocator_type::init_counters(); in TestInsertFindErase() 958 REQUIRE( test_allocator_type::items_constructed == test_allocator_type::items_destroyed ); in TestInsertFindErase() 959 REQUIRE( test_allocator_type::items_allocated == test_allocator_type::items_freed ); in TestInsertFindErase() 960 REQUIRE( test_allocator_type::allocations == test_allocator_type::frees ); in TestInsertFindErase() 1026 test_allocator_type::init_counters(); in TestConcurrency() 1043 REQUIRE( test_allocator_type::items_constructed == test_allocator_type::items_destroyed ); in TestConcurrency() 1044 REQUIRE( test_allocator_type::items_allocated == test_allocator_type::items_freed ); in TestConcurrency() [all …]
|
| H A D | conformance_concurrent_unordered_set.cpp | 53 using test_allocator_type = std::allocator<int>; in test_member_types() typedef 55 …ner_type = ContainerType<int, decltype(test_hasher), decltype(test_equality), test_allocator_type>; in test_member_types() 73 std::equal_to<int>, test_allocator_type>; in test_member_types() 77 static_assert(std::is_same<typename container_type::allocator_type, test_allocator_type>::value, in test_member_types()
|
| H A D | conformance_concurrent_map.cpp | 66 using test_allocator_type = std::allocator<std::pair<const int, int>>; in test_member_types() typedef 68 using container_type = ContainerType<int, int, decltype(test_comparator), test_allocator_type>; in test_member_types() 84 static_assert(std::is_same<typename container_type::allocator_type, test_allocator_type>::value, in test_member_types()
|
| H A D | conformance_concurrent_unordered_map.cpp | 67 using test_allocator_type = std::allocator<std::pair<const int, int>>; in test_member_types() typedef 70 decltype(test_equality), test_allocator_type>; in test_member_types() 90 std::equal_to<int>, test_allocator_type>; in test_member_types() 94 static_assert(std::is_same<typename container_type::allocator_type, test_allocator_type>::value, in test_member_types()
|
| H A D | conformance_enumerable_thread_specific.cpp | 1025 using test_allocator_type = std::allocator<int>; in TestMemberTypes() typedef 1026 using ets_container_type = oneapi::tbb::enumerable_thread_specific<int, test_allocator_type>; in TestMemberTypes() 1028 …static_assert(std::is_same<typename ets_container_type::allocator_type, test_allocator_type>::valu… in TestMemberTypes()
|
| H A D | conformance_concurrent_vector.cpp | 1269 using test_allocator_type = oneapi::tbb::cache_aligned_allocator<int>; in test_member_types() typedef 1270 using container_type = ContainerType<int, test_allocator_type>; in test_member_types()
|