| /oneTBB/test/common/ |
| H A D | initializer_list_support.h | 28 template <typename ContainerType, typename ElementType> 30 ContainerType cont(init); in test_ctor() 34 template <typename ContainerType, typename ElementType> 36 ContainerType cont; in test_assignment_operator() 45 template <typename ContainerType, typename ElementType> 50 template <typename ContainerType, typename ElementType> 52 ContainerType cont; in test() 59 template <typename ContainerType, typename ElementType> 61 ContainerType cont; in test() 69 using element_type = typename ContainerType::value_type; in test_initializer_list_support() [all …]
|
| H A D | containers_common.h | 23 template <typename ContainerType> 25 using allocator_type = typename ContainerType::allocator_type; in test_allocator_traits() 38 ContainerType c1(alloc), c2(c1); in test_allocator_traits() 73 template <typename ContainerType> 76 using allocator_type = typename ContainerType::allocator_type; 81 ContainerType container1(alloc), container2(alloc); 85 template <typename ContainerType> 87 using allocator_type = typename ContainerType::allocator_type; 90 ContainerType container1(alloc), container2(std::move(container1), alloc);
|
| H A D | concurrent_ordered_common.h | 388 template <template <typename...> class ContainerType> 390 using integral_container = ContainerType<int, int>; 391 using two_way_comparable_container = ContainerType<comparisons_testing::TwoWayComparable, 398 using two_way_less_only_container = ContainerType<comparisons_testing::LessComparableOnly, 401 using three_way_only_container = ContainerType<comparisons_testing::ThreeWayComparableOnly, 404 using three_way_comparable_container = ContainerType<comparisons_testing::ThreeWayComparable, 414 template <template <typename...> class ContainerType> 416 using integral_container = ContainerType<int>; 417 using two_way_comparable_container = ContainerType<comparisons_testing::TwoWayComparable>; 424 using two_way_less_only_container = ContainerType<comparisons_testing::LessComparableOnly>; [all …]
|
| H A D | container_move_support.h | 332 template <typename ContainerType> 333 MemoryLocations( const ContainerType& source ) : locations(source.size()) { in MemoryLocations() 339 template <typename ContainerType> 340 bool content_location_unchanged( const ContainerType& dst ) { in content_location_unchanged() 341 … auto is_same_location = []( const typename ContainerType::value_type& v, const void* location ) { in content_location_unchanged() 348 template <typename ContainerType> 349 bool content_location_changed( const ContainerType& dst ) { in content_location_changed() 350 …auto is_not_same_location = []( const typename ContainerType::value_type& v, const void* location … in content_location_changed() 473 template <typename ContainerType> 474 void verify_size( const ContainerType& dst ) { in verify_size()
|
| H A D | concurrent_unordered_common.h | 355 template <template <typename...> class ContainerType> 357 using integral_container = ContainerType<int, int>; in test_map_comparisons() 358 using two_way_comparable_container = ContainerType<comparisons_testing::TwoWayComparable, in test_map_comparisons() 365 template <template <typename...> class ContainerType> 367 using integral_container = ContainerType<int>; in test_set_comparisons() 368 using two_way_comparable_container = ContainerType<comparisons_testing::TwoWayComparable>; in test_set_comparisons()
|
| /oneTBB/test/tbb/ |
| H A D | test_parallel_sort.cpp | 152 template<typename ContainerType, std::size_t Size> 156 ContainerType range(Size); in run() 157 ContainerType sorted_range(Size); in run() 167 ContainerType range(Size); in run() 168 ContainerType sorted_range(Size); in run() 177 template<typename ContainerType, typename Comparator> 190 template<typename ContainerType> 194 parallel_sort_test<ContainerType, /*Size*/0 >::run(); in parallel_sort_test_suite() 195 parallel_sort_test<ContainerType, /*Size*/1 >::run(); in parallel_sort_test_suite() 196 parallel_sort_test<ContainerType, /*Size*/10 >::run(); in parallel_sort_test_suite() [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_combinable.cpp | 126 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType; typedef in CombineEachVectorHelper 128 void operator()(const ContainerType& new_bit) { in operator ()() 129 … for(typename ContainerType::const_iterator ci = new_bit.begin(); ci != new_bit.end(); ++ci) { in operator ()() 275 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType; in RunParallelVectorTests() typedef 293 typedef typename oneapi::tbb::combinable< ContainerType > CombinableType; in RunParallelVectorTests()
|
| H A D | conformance_concurrent_set.cpp | 39 template <template <typename...> class ContainerType> 41 using default_container_type = ContainerType<int>; in test_member_types() 50 using container_type = ContainerType<int, decltype(test_comparator), test_allocator_type>; in test_member_types()
|
| H A D | conformance_concurrent_unordered_set.cpp | 41 template <template <typename...> class ContainerType> 43 using default_container_type = ContainerType<int>; in test_member_types() 55 …using container_type = ContainerType<int, decltype(test_hasher), decltype(test_equality), test_all… in test_member_types() 72 using transparent_container_type = ContainerType<int, hasher_with_transparent_key_equal, in test_member_types()
|
| H A D | conformance_concurrent_map.cpp | 57 template <template <typename...> class ContainerType> 59 using default_container_type = ContainerType<int, int>; in test_member_types() 68 using container_type = ContainerType<int, int, decltype(test_comparator), test_allocator_type>; in test_member_types()
|
| H A D | conformance_concurrent_unordered_map.cpp | 54 template <template <typename... > class ContainerType> 56 using default_container_type = ContainerType<int, int>; in test_member_types() 69 using container_type = ContainerType<int, int, decltype(test_hasher), in test_member_types() 89 using transparent_container_type = ContainerType<int, int, hasher_with_transparent_key_equal, in test_member_types()
|
| H A D | conformance_concurrent_vector.cpp | 1260 template <template <typename... > class ContainerType> 1262 using default_container_type = ContainerType<int>; in test_member_types() 1270 using container_type = ContainerType<int, test_allocator_type>; in test_member_types()
|
| H A D | conformance_concurrent_hash_map.cpp | 183 template <template <typename...> class ContainerType> 185 using container_type = ContainerType<int, int>; in test_member_types()
|
| H A D | conformance_concurrent_queue.cpp | 1071 template <template <typename...> class ContainerType> 1073 using container_type = ContainerType<int>; in test_member_types()
|