| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_vector.h | 478 allocator_type get_allocator() const { in get_allocator() function 479 return base_type::get_allocator(); in get_allocator() 492 return allocator_traits_type::max_size(base_type::get_allocator()); in max_size() 579 segment_element_allocator_type segment_allocator(base_type::get_allocator()); in create_segment() 615 segment_element_allocator_type segment_allocator(base_type::get_allocator()); in create_segment() 663 segment_element_allocator_type segment_allocator(base_type::get_allocator()); in deallocate_segment() 677 segment_element_allocator_type segment_allocator(base_type::get_allocator()); in destroy_segment() 691 … segment_table_allocator_traits::construct(base_type::get_allocator(), to + i, from[i]); in copy_segment() 934 allocator_type alloc(base_type::get_allocator()); in destroy_elements() 988 segment_element_allocator_type allocator(base_type::get_allocator()); in internal_compact() [all …]
|
| H A D | concurrent_hash_map.h | 172 const bucket_allocator_type& get_allocator() const { in get_allocator() function 176 bucket_allocator_type& get_allocator() { in get_allocator() function 655 node_allocator_type node_allocator(this->get_allocator()); in __TBB_requires() 861 …rrent_hash_map(node_allocator_traits::select_on_container_copy_construction(table.get_allocator())) in __TBB_requires() 882 : concurrent_hash_map(std::move(table.get_allocator())) in __TBB_requires() 1075 return allocator_traits_type::max_size(base_type::get_allocator()); in __TBB_requires() 1082 allocator_type get_allocator() const { return base_type::get_allocator(); } in __TBB_requires() 1263 return allocate_node(base_type::get_allocator(), key, t); in __TBB_requires() 1376 node * node_ptr = create_node(base_type::get_allocator(), std::forward<Args>(args)...); in __TBB_requires() 1518 … node* node_ptr = create_node(base_type::get_allocator(), (*first).first, (*first).second); in __TBB_requires() [all …]
|
| H A D | concurrent_queue.h | 105 …oncurrent_queue(queue_allocator_traits::select_on_container_copy_construction(src.get_allocator())) in concurrent_queue() 224 allocator_type get_allocator() const { return my_allocator; } in get_allocator() function 383 …t_bounded_queue(queue_allocator_traits::select_on_container_copy_construction(src.get_allocator())) in concurrent_bounded_queue() 535 allocator_type get_allocator() const { return my_allocator; } in get_allocator() function
|
| H A D | concurrent_priority_queue.h | 225 allocator_type get_allocator() const { return data.get_allocator(); } in get_allocator() function
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _concurrent_unordered_base.h | 395 allocator_type get_allocator() const noexcept { return my_segments.get_allocator(); } in get_allocator() function 407 size_type max_size() const noexcept { return allocator_traits_type::max_size(get_allocator()); } in max_size() 829 segment_allocator_type alloc(this->get_allocator()); in create_segment() 851 segment_allocator_type alloc(this->get_allocator()); in destroy_segment() 917 node_allocator_type dummy_node_allocator(my_segments.get_allocator()); in destroy_node() 928 value_node_allocator_type value_node_allocator(my_segments.get_allocator()); in destroy_node() 1120 node_allocator_type dummy_node_allocator(my_segments.get_allocator()); in create_dummy_node() 1128 value_node_allocator_type value_node_allocator(my_segments.get_allocator()); in create_node() 1380 if (alloc == other.my_segments.get_allocator()) { in internal_move_construct_with_allocator() 1400 if (my_segments.get_allocator() == other.my_segments.get_allocator()) { in internal_move_assign() [all …]
|
| H A D | _node_handle.h | 81 allocator_type get_allocator() const { in get_allocator() function
|
| H A D | _segment_table.h | 165 const segment_table_allocator_type& get_allocator() const { in get_allocator() function 169 segment_table_allocator_type& get_allocator() { in get_allocator() function
|
| H A D | _concurrent_skip_list.h | 316 …ode_allocator(node_allocator_traits::select_on_container_copy_construction(other.get_allocator())), in concurrent_skip_list() 631 allocator_type get_allocator() const { in get_allocator() function 760 if (my_node_allocator == other.get_allocator()) { in internal_move_construct_with_allocator()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_queue.cpp | 104 using allocator_type = decltype(std::declval<CQ>().get_allocator()); in TestFullQueue() 137 using allocator_type = decltype(std::declval<CQ>().get_allocator()); in TestClear() 680 using allocator_type = decltype(std::declval<CQ>().get_allocator()); in TestPushPop() 1825 tbb::concurrent_queue<std::vector<int>> dst(src.get_allocator()); in test_move_assignment_test_equal() 1826 tbb::concurrent_queue<std::vector<int>> cpy(src.get_allocator()); in test_move_assignment_test_equal() 1827 …REQUIRE_MESSAGE(src.get_allocator() == dst.get_allocator(), "Incorrect test setup: allocators shou… in test_move_assignment_test_equal() 1832 tbb::concurrent_bounded_queue<std::vector<int>> dst_bnd(src_bnd.get_allocator()); in test_move_assignment_test_equal() 1833 tbb::concurrent_bounded_queue<std::vector<int>> cpy_bnd(src_bnd.get_allocator()); in test_move_assignment_test_equal() 1834 …REQUIRE_MESSAGE(src_bnd.get_allocator() == dst_bnd.get_allocator(), "Incorrect test setup: allocat… in test_move_assignment_test_equal() 1860 …REQUIRE_MESSAGE(src.get_allocator() != dst.get_allocator(), "Incorrect test setup: allocators shou… in test_move_assignment_test_unequal() [all …]
|
| H A D | conformance_concurrent_vector.cpp | 509 …AGE( victim == vector_t(src.begin(), src.begin() + victim.size(), src.get_allocator()), "failed to… in verify_vector_partially_copied() 525 vector_t copy_of_victim(victim, victim.get_allocator()); in verify_copy_and_assign_from_produce_the_same() 527 vector_t copy_of_victim2(10, victim[0], victim.get_allocator()); in verify_copy_and_assign_from_produce_the_same() 534 vector_t copy_of_victim(victim, victim.get_allocator()); in verify_assignment_operator_throws_bad_last_alloc() 746 std::size_t items_allocated = v.get_allocator().items_allocated, in TestConcurrentGrowToAtLeastImpl() 747 items_freed = v.get_allocator().items_freed; in TestConcurrentGrowToAtLeastImpl() 748 std::size_t allocations = v.get_allocator().allocations, in TestConcurrentGrowToAtLeastImpl() 749 frees = v.get_allocator().frees; in TestConcurrentGrowToAtLeastImpl()
|
| /oneTBB/test/common/ |
| H A D | container_move_support.h | 660 fixture.verify_allocator_was_moved(dst.get_allocator()); in test_move_ctor_single_argument() 672 container_type dst(std::move(fixture.source), fixture.source.get_allocator()); in test_move_ctor_with_equal_allocator() 703 fixture.verify_allocator_was_moved(dst.get_allocator()); in test_move_assignment_POCMA_true_stateful_allocator() 718 …REQUIRE_MESSAGE(fixture.source.get_allocator() == allocator_type(), "Incorrect test setup: allocat… in test_move_assignment_POCMA_true_stateless_allocator() 733 …REQUIRE_MESSAGE(fixture.source.get_allocator() == dst.get_allocator(), "Incorrect test setup: allo… in test_move_assignment_POCMA_false_equal_allocator()
|
| H A D | node_handling_support.h | 86 …REQUIRE_MESSAGE(nh.get_allocator() == test_table.get_allocator(), "Node handle: node_type object a… in test_node_handle()
|
| H A D | concurrent_priority_queue_common.h | 129 auto alloc = q1.get_allocator(); in type_tester()
|
| H A D | concurrent_unordered_common.h | 29 typename MyTable::allocator_type a = table.get_allocator(); in CheckContainerAllocator()
|
| H A D | concurrent_ordered_common.h | 29 typename MyTable::allocator_type a = table.get_allocator(); in CheckContainerAllocator()
|
| H A D | concurrent_associative_common.h | 1181 auto alloc = c.get_allocator(); 1573 auto value_allocator = c1.get_allocator();
|
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_vector.cpp | 305 Allocator a = c.get_allocator(); in Examine()
|
| H A D | test_concurrent_hash_map.cpp | 246 typename Table::allocator_type a = c.get_allocator(); in Examine()
|