Lines Matching refs:my_split
153 static void add_sink_nodes(SType &my_split, tbb::flow::graph &g) { in add_sink_nodes() argument
155 tbb::flow::make_edge( tbb::flow::output_port<ELEM-1>(my_split) , *new_node); in add_sink_nodes()
157 sink_node_helper<ELEM-1, SType>::add_sink_nodes(my_split, g); in add_sink_nodes()
173 static void remove_sink_nodes(SType& my_split) { in remove_sink_nodes() argument
175 tbb::flow::remove_edge( tbb::flow::output_port<ELEM-1>(my_split) , *dp); in remove_sink_nodes()
177 sink_node_helper<ELEM-1, SType>::remove_sink_nodes(my_split); in remove_sink_nodes()
193 static void add_sink_nodes(SType &my_split, tbb::flow::graph &g) { in add_sink_nodes() argument
195 tbb::flow::make_edge( tbb::flow::output_port<0>(my_split) , *new_node); in add_sink_nodes()
210 static void remove_sink_nodes(SType& my_split) { in remove_sink_nodes() argument
212 tbb::flow::remove_edge( tbb::flow::output_port<0>(my_split) , *dp); in remove_sink_nodes()
236 SType* my_split = makeSplit<N,SType>::create(g); in test() local
239 sink_node_helper<N, SType>::add_sink_nodes((*my_split), g); in test()
246 tbb::flow::make_edge(*s, *my_split); in test()
257 sink_node_helper<N, SType>::remove_sink_nodes(*my_split); in test()
261 makeSplit<N,SType>::destroy(my_split); in test()
270 void test_one_serial( SType &my_split, tbb::flow::graph &g) { in test_one_serial() argument
273 sink_node_helper<TUPLE_SIZE, SType>::add_sink_nodes(my_split,g); in test_one_serial()
277 tbb::flow::make_edge( q3, my_split ); in test_one_serial()
284 CHECK_MESSAGE(my_split.try_put(v), ""); in test_one_serial()
292 sink_node_helper<TUPLE_SIZE, SType>::remove_sink_nodes(my_split); in test_one_serial()
345 SType* my_split = makeSplit<TUPLE_SIZE,SType>::create(g); in test() local
348 test_output_ports_return_ref(*my_split); in test()
350 test_one_serial<SType>(*my_split, g); in test()
352 std::vector<SType>split_vector(ELEMS, *my_split); in test()
354 makeSplit<TUPLE_SIZE,SType>::destroy(my_split); in test()