Searched refs:CheckType (Results 1 – 12 of 12) sorted by relevance
| /oneTBB/test/common/ |
| H A D | checktype.h | 56 class CheckType : DestroyedTracker { 60 CheckType( Counter n = 0 ) : my_id(n), am_ready(false) { in my_id() 64 CheckType( const CheckType& other ) : DestroyedTracker(other) { in CheckType() function 73 CheckType& operator++() { 78 CheckType& operator=( const CheckType& other ) { 86 ~CheckType() { in ~CheckType() 117 struct hash<CheckType<Counter>> { 126 std::atomic<int> CheckType<Counter>::check_type_counter; 138 struct Checker<CheckType<Counter>> { 139 Checker() { CheckType<Counter>::check_type_counter = 0; } [all …]
|
| /oneTBB/test/tbb/ |
| H A D | test_tagged_msg.cpp | 49 typedef CheckType<int> counted_array_type[12]; 116 CheckType<int>::check_type_counter = 0; in RunTests() 162 CheckType<int> c; in RunTests() 163 …CHECK_MESSAGE( (CheckType<int>::check_type_counter == 1), "Incorrect number of CheckType<int>s cre… in RunTests() 165 …CHECK_MESSAGE( (CheckType<int>::check_type_counter == 2), "Incorrect number of CheckType<int>s cre… in RunTests() 166 CHECK_MESSAGE( (is_a<CheckType<int> >(cnt_type)), "Incorrect type for cnt_type"); in RunTests() 168 …CHECK_MESSAGE( (CheckType<int>::check_type_counter == 1), "Incorrect number of CheckType<int>s aft… in RunTests() 173 CheckType<int> counted_array[12]; // this is okay in RunTests() 177 …CHECK_MESSAGE( (!is_a<CheckType<int> *>(counted_array_tagged_msg)), "Test of is_a for counted_arra… in RunTests() 188 const CheckType<int> *ctip = cast_to<counted_array_type>(counted_array_tagged_msg); in RunTests() [all …]
|
| H A D | test_concurrent_unordered_set.cpp | 41 …bb::concurrent_unordered_set<CheckType<int>, std::hash<CheckType<int>>, std::equal_to<CheckType<in… 42 …checked_multiset_type = tbb::concurrent_unordered_multiset<CheckType<int>, std::hash<CheckType<int… 43 … std::equal_to<CheckType<int>>, MyAllocator<CheckType<int>>>;
|
| H A D | test_concurrent_set.cpp | 36 …sing checked_set_type = tbb::concurrent_set<CheckType<int>, std::less<CheckType<int>>, MyAllocator… 37 …ed_multiset_type = tbb::concurrent_multiset<CheckType<int>, std::less<CheckType<int>>, MyAllocator…
|
| H A D | test_parallel_pipeline.cpp | 91 bool middle_is_ready(CheckType<U> &p) { return p.is_ready(); } in middle_is_ready() 97 bool output_is_ready(CheckType<U> &p) { return p.is_ready(); } in output_is_ready() 103 int middle_my_id(CheckType<U> &p) { return p.id(); } in middle_my_id() 109 int output_my_id(CheckType<U> &p) { return p.id(); } in output_my_id() 115 void my_function(CheckType<U> &p) { p.get_ready(); } in my_function() 674 RUN_TYPED_TEST_CASE(CheckType<unsigned int>, std::size_t) 675 RUN_TYPED_TEST_CASE(CheckType<unsigned short>, std::size_t) 676 RUN_TYPED_TEST_CASE(CheckType<unsigned int>, CheckType<unsigned int>) 677 RUN_TYPED_TEST_CASE(CheckType<unsigned int>, CheckType<unsigned short>) 678 RUN_TYPED_TEST_CASE(CheckType<unsigned short>, CheckType<unsigned short>) [all …]
|
| H A D | test_concurrent_map.cpp | 35 …ng checked_map_type = tbb::concurrent_map<int, CheckType<int>, std::less<int>, MyAllocator<int, Ch… 36 …_multimap_type = tbb::concurrent_multimap<int, CheckType<int>, std::less<int>, MyAllocator<int, Ch…
|
| H A D | test_concurrent_unordered_map.cpp | 41 …= tbb::concurrent_unordered_map<int, CheckType<int>, std::hash<int>, std::equal_to<int>, MyAllocat… 42 …::concurrent_unordered_multimap<int, CheckType<int>, std::hash<int>, std::equal_to<int>, MyAllocat…
|
| H A D | test_eh_flow_graph.cpp | 425 CheckType<int>::check_type_counter = 0; in test_input_node() 427 run_input_node_test<CheckType<int>, isThrowing, nonThrowing>(); in test_input_node() 436 run_input_node_test<CheckType<int>, isThrowing, isThrowing>(); in test_input_node() 638 CheckType<int>::check_type_counter = 0; in test_function_node() 639 …run_function_node_test<nonThrowing, nonThrowing, CheckType<int>, nonThrowing, CheckType<int>, isTh… in test_function_node() 745 CheckType<int>::check_type_counter = 0; in test_multifunction_node() 746 …unction_node_test<nonThrowing, nonThrowing, CheckType<int>, nonThrowing, std::tuple<CheckType<int>… in test_multifunction_node() 900 CheckType<double>::check_type_counter = 0; in test_continue_node() 1151 CheckType<int>::check_type_counter = 0; in test_sequencer_node() 1272 CheckType<int>::check_type_counter = 0; in test_priority_queue_node() [all …]
|
| H A D | test_join_node.h | 396 class name_of<CheckType<T> > { 1605 struct myTagValue<CheckType<int> > { 1606 tbb::flow::tag_value operator()(CheckType<int> i) { return tbb::flow::tag_value((int)i); } 1635 JoinNodeType testJoinNode(g, myTagValue<int>(), myTagValue<CheckType<int> >()); 1639 Checker<CheckType<int> > my_check; 1643 typedef tbb::flow::queue_node<CheckType<int> > CheckQueueType; 1671 CheckType<int> checkVal0(loop); 1689 CheckType<int> checkVal1; 1757 Checker<CheckType<int> > my_check; 1771 Checker<CheckType<int> > my_check1; [all …]
|
| H A D | test_queue_node.cpp | 506 test_serial<CheckType<int> >(); in __anon9007ffb40202() 508 test_parallel<CheckType<int> >(p); in __anon9007ffb40202()
|
| H A D | test_priority_queue_node.cpp | 391 test_reservation<CheckType<int> >(p); in __anonedcbfdd50102()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_enumerable_thread_specific.cpp | 132 CheckType<int> m_checktype;
|