Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 7 of 7) sorted by relevance

/oneTBB/test/common/
H A Dallocator_test_common.h298 AllocatorFooDouble a2(a);
300 AllocatorFooFloat b2(a2);
306 REQUIRE(!(a2 != b2));
312 TestAllocatorConcept<typename AllocatorFooDouble::value_type>(a2);
319 TestBrokenAllocator<typename AllocatorFooDouble::value_type>(a2);
326 TestAllocatorExceptions<typename AllocatorFooDouble::value_type>(a2);
330 TestThreadSafety(a2);
/oneTBB/test/tbb/
H A Dtest_composite_node.cpp214 adder_node a2(g, hidden); in test_adder() local
215 …CHECK_MESSAGE( (&tbb::flow::input_port<0>(a2) == &tbb::flow::input_port<0>(a2.j)), "input_port 0 o… in test_adder()
216 …CHECK_MESSAGE( (&tbb::flow::input_port<1>(a2) == &tbb::flow::input_port<1>(a2.j)), "input_port 1 o… in test_adder()
217 …CHECK_MESSAGE( (&tbb::flow::output_port<0>(a2) == &a2.f), "f not bound to output port 0 in composi… in test_adder()
233 tbb::flow::make_edge( tbb::flow::output_port<0>(a0), tbb::flow::input_port<0>(a2) ); in test_adder()
234 tbb::flow::make_edge( tbb::flow::output_port<0>(a1), tbb::flow::input_port<1>(a2) ); in test_adder()
236 tbb::flow::make_edge( tbb::flow::output_port<0>(a2), s2 ); in test_adder()
257 tbb::flow::remove_edge( a2, s2 ); in test_adder()
H A Dtest_task_group.cpp951 tbb::task_arena a2(2, 2); in __anoneb262a490802() local
952 tg1.run_and_wait([&a2, &tg1, &tg2, &tasks_executed, second_thread_executed] { in __anoneb262a490802()
958 tg2.run([&a2, &tg1, &tasks_executed] { in __anoneb262a490802()
959 a2.execute([&tg1, &tasks_executed] { in __anoneb262a490802()
970 a2.execute([&tg1, &tg2, &tasks_executed] { in __anoneb262a490802()
980 a2.execute([&tg2] { in __anoneb262a490802()
H A Dtest_collaborative_call_once.cpp350 tbb::task_arena a1(num_threads), a2(num_threads);
368 a2.execute([&] { in __anon8532fc101102()
H A Dtest_task_arena.cpp190 tbb::task_arena a2(2,1); in TestConcurrentArenasFunc() local
191 ArenaObserver o2(a2, 2, 1, idx*2+2); in TestConcurrentArenasFunc()
207 a2.enqueue(work); // another work in TestConcurrentArenasFunc()
208 a2.execute(work); in TestConcurrentArenasFunc()
215 a2.debug_wait_until_empty(); in TestConcurrentArenasFunc()
/oneTBB/test/conformance/
H A Dconformance_composite_node.cpp165 adder a2(g);
173 make_edge(output_port<0>(a1), input_port<0>(a2));
174 make_edge(output_port<3>(s), input_port<1>(a2));
180 … CHECK_MESSAGE((output_port<0>(a2).try_get(tmp) == true), "Composite node should produce a value");
H A Dconformance_concurrent_hash_map.cpp822 YourTable::accessor a1, a2; in apply() local
826 table.insert( a2, MyKey::make(1 + (1<<30)) ); // the same chain in apply()
827 table.erase( a2 ); // if erase by key it would lead to deadlock for single thread in apply()