Home
last modified time | relevance | path

Searched refs:Container (Results 1 – 15 of 15) sorted by relevance

/oneTBB/test/common/
H A Dconcurrent_ordered_common.h33 template<typename Container>
39 template <typename Container>
55 template <typename Container>
69 template <typename Container>
71 Container cont; in test_ordered_methods()
133 template <typename Container>
137 Container cont; in test_concurrent_order()
156 template <typename Container>
303 Container c;
304 const Container& cc = c;
[all …]
H A Dnode_handling_support.h26 template <typename Container>
68 template <typename Container>
147 template <typename Container>
149 Container table; in generate_node_handle()
154 template <typename Container>
180 template <typename Container>
190 template <typename Container>
236 template <typename Container>
237 void test_insert( Container table, const typename Container::value_type& value ) { in test_insert()
244 template <typename Container>
[all …]
H A Dconcurrent_associative_common.h244 Container cont;
272 typename Container::iterator call_emplace_hint_impl( Container& c, typename Container::const_iterat…
280 typename Container::iterator call_emplace_hint_impl( Container& c, typename Container::const_iterat…
294 typename Container::iterator call_emplace_hint( Container& c, typename Container::const_iterator hi…
303 Container cont;
844 Container cont;
1327 Container c;
1397 Container c;
1535 Container c1{};
1536 Container c2{Value<Container>::make(1), Value<Container>::make(2)};
[all …]
H A Dconcurrent_unordered_common.h36 template<typename Container>
37 inline void CheckNoAllocations(Container &cont){ in CheckNoAllocations()
108 test_unordered_methods<Container>(); in test_basic()
111 template <typename Container>
323 template <typename Container>
326 Container c1, c2; in test_comparisons_basic()
329 c1.insert(Value<Container>::make(1)); in test_comparisons_basic()
332 c2.insert(Value<Container>::make(1)); in test_comparisons_basic()
335 c2.insert(Value<Container>::make(2)); in test_comparisons_basic()
375 template <typename Container>
[all …]
H A Drange_based_for_support.h26 template <typename ValueType, typename Container, typename BinaryAccumulator, typename InitValueTyp…
27 inline InitValueType range_based_for_accumulate( const Container& c, BinaryAccumulator accumulator,… in range_based_for_accumulate()
36 template <typename Container, typename BinaryAccumulator, typename InitValueType>
37 inline InitValueType range_based_for_accumulate( const Container& c, BinaryAccumulator accumulator,… in range_based_for_accumulate()
38 return range_based_for_accumulate<typename Container::value_type>(c, accumulator, init); in range_based_for_accumulate()
H A Dallocator_stl_test_common.h24 template<typename Container>
25 void TestSequence(const typename Container::allocator_type &a) { in TestSequence()
27 Container c(a); in TestSequence()
31 typename Container::const_iterator p = c.begin(); in TestSequence()
/oneTBB/doc/main/reference/
H A Dparallel_sort_ranges_extension.rst35 template <typename Container>
36 void parallel_sort( Container&& c );
37 template <typename Container, typename Compare>
38 void parallel_sort( Container&& c, const Compare& comp );
46 .. cpp:function:: template <typename Container> void parallel_sort( Container&& c );
50 .. cpp:function:: template <typename Container, typename Compare> void parallel_sort( Container&& c…
H A Dparallel_for_each_semantics.rst26 template <typename Container, typename Body>
27 void parallel_for_each( Container& c, Body body ); // overload (3)
28 template <typename Container, typename Body>
29 … void parallel_for_each( Container& c, Body body, task_group_context& group ); // overload (4)
31 template <typename Container, typename Body>
32 void parallel_for_each( const Container& c, Body body ); // overload (5)
33 template <typename Container, typename Body>
34 …void parallel_for_each( const Container& c, Body body, task_group_context& group ); // overload (6)
/oneTBB/include/oneapi/tbb/
H A Denumerable_thread_specific.h348 Container *my_container;
349 typename Container::size_type my_index;
375 …enumerable_thread_specific_iterator( const Container &container, typename Container::size_type ind…
1048 template< typename Container >
1067 …flattened2d( const Container &c, typename Container::const_iterator b, typename Container::const_i…
1087 Container *my_container;
1092 template <typename Container>
1093 flattened2d<Container> flatten2d(const Container &c, const typename Container::const_iterator b, co…
1097 template <typename Container>
1098 flattened2d<Container> flatten2d(const Container &c) {
[all …]
H A Dconcurrent_hash_map.h371 template <typename Container, typename Value>
373 using map_type = Container;
374 using node = typename Container::node;
375 using map_base = typename Container::base_type;
380 using size_type = typename Container::size_type;
388 hash_map_iterator( const hash_map_iterator<Container, typename Container::value_type>& other ) : in hash_map_iterator() argument
395 …hash_map_iterator& operator=( const hash_map_iterator<Container, typename Container::value_type>& …
477 const Container *my_map;
487 bool operator==( const hash_map_iterator<Container,T>& i, const hash_map_iterator<Container,U>& j )…
492 bool operator!=( const hash_map_iterator<Container,T>& i, const hash_map_iterator<Container,U>& j )…
[all …]
H A Dconcurrent_queue.h253 template <typename Container, typename Value, typename A>
654 template <typename Container, typename Value, typename A>
/oneTBB/test/tbb/
H A Dtest_concurrent_queue.cpp226 template <typename Container>
227 void fill_and_catch(Container& q, std::size_t elements_count) { in fill_and_catch()
252 template <typename Container>
254 …static_assert(std::is_same<typename Container::value_type, TrackableItem>::value, "Incorrect test … in test_tracking_dtors_on_clear()
257 Container q; in test_tracking_dtors_on_clear()
270 Container q; in test_tracking_dtors_on_clear()
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_queue_base.h45 template <typename Container, typename T, typename Allocator>
364 template <typename Container, typename T, typename Allocator>
367 using padded_page = typename Container::padded_page;
371 micro_queue_pop_finalizer( Container& queue, Allocator& alloc, ticket_type k, padded_page* p ) : in micro_queue_pop_finalizer()
396 Container& my_queue;
586 template <typename Iterator, typename Container>
587 static Iterator get( const Container& container ) { in get()
592 template <typename Container, typename Value, typename Allocator>
606 …concurrent_queue_iterator( const concurrent_queue_iterator<Container, typename Container::value_ty… in concurrent_queue_iterator() argument
610 concurrent_queue_iterator( const Container& container ) in concurrent_queue_iterator()
[all …]
H A D_concurrent_unordered_base.h54 template<typename Container, typename Value>
57 using node_ptr = typename Container::value_node_ptr;
70 using difference_type = typename Container::difference_type;
76 solist_iterator( const solist_iterator<Container, typename Container::value_type>& other ) in solist_iterator() argument
79 …solist_iterator& operator=( const solist_iterator<Container, typename Container::value_type>& othe…
1474 template <typename Container, typename Value>
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp1621 template <typename Container>
1622 void test_basics(Container& container, std::size_t desired_size) { in test_basics()
1636 template <template <class...> class Container>
1641 Container<MinimalisticObject> default_container; in test_with_minimalistic_objects()
1650 Container<MoveAssignableMinimalisticObject> default_container; in test_with_minimalistic_objects()
1814 template<typename Container>
1815 void test_check_move_allocator(Container& src, Container& dst, Container& cpy) { in test_check_move_allocator()