Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 4 of 4) sorted by relevance

/oneTBB/include/oneapi/tbb/detail/
H A D_node_handle.h33 return nh.get_node_ptr(); in get_node_ptr()
42 static void deactivate( NodeHandleType& nh ) { in deactivate()
43 nh.deactivate(); in deactivate()
57 node_handle_base(node_handle_base&& nh) : my_node(nh.my_node), in node_handle_base() argument
59 nh.my_node = nullptr; in node_handle_base()
67 node_handle_base& operator=( node_handle_base&& nh ) {
69 my_node = nh.my_node;
71 nh.deactivate();
75 void swap( node_handle_base& nh ) { in swap() argument
77 swap(my_node, nh.my_node); in swap()
[all …]
H A D_concurrent_skip_list.h416 std::pair<iterator, bool> insert( node_type&& nh ) { in insert() argument
417 if (!nh.empty()) { in insert()
418 auto insert_node = d1::node_handle_accessor::get_node_ptr(nh); in insert()
421 d1::node_handle_accessor::deactivate(nh); in insert()
428 iterator insert( const_iterator, node_type&& nh ) { in insert() argument
430 return insert(std::move(nh)).first; in insert()
H A D_concurrent_unordered_base.h442 std::pair<iterator, bool> insert( node_type&& nh ) { in insert() argument
443 if (!nh.empty()) { in insert()
444 value_node_ptr insert_node = node_handle_accessor::get_node_ptr(nh); in insert()
454 node_handle_accessor::deactivate(nh); in insert()
461 iterator insert( const_iterator, node_type&& nh ) { in insert() argument
463 return insert(std::move(nh)).first; in insert()
/oneTBB/test/common/
H A Dnode_handling_support.h77 node_type nh; in test_node_handle() local
84 nh = test_table.unsafe_extract(test_table.begin()); in test_node_handle()
91 node_type nh2(std::move(nh)); in test_node_handle()
205 typename Container::node_type nh; in test_insert_overloads() local
215 nh = generate_node_handle<Container>(value); in test_insert_overloads()
217 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
222 nh = generate_node_handle<Container>(value); in test_insert_overloads()
223 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
231 REQUIRE_MESSAGE(compare_handle_getters(nh, value), in test_insert_overloads()
250 auto nh = table_for_extract.unsafe_extract(new_key); in test_extract() local
[all …]