Lines Matching refs:g
98 …tiny_node(tbb::flow::graph &g, bool hidden = false) : base_type(g), f1(g, tbb::flow::unlimited, pa… in tiny_node()
114 tbb::flow::graph g; in test_tiny() local
115 tbb::flow::function_node< int, int > f0( g, tbb::flow::unlimited, passthru_body() ); in test_tiny()
116 tiny_node t(g, hidden); in test_tiny()
120 tiny_node t1(g, hidden); in test_tiny()
127 tiny_node t2(g, hidden); in test_tiny()
131 tbb::flow::function_node< int, int > f3( g, tbb::flow::unlimited, passthru_body() ); in test_tiny()
136 tbb::flow::queue_node<int> q(g); in test_tiny()
139 g.wait_for_all(); in test_tiny()
146 g.wait_for_all(); in test_tiny()
156 g.wait_for_all(); in test_tiny()
180 …adder_node(tbb::flow::graph &g, bool hidden = false) : base_type(g), j(g), f(g, tbb::flow::unlimit… in adder_node() argument
199 tbb::flow::graph g; in test_adder() local
200 tbb::flow::function_node<int,int> s(g, tbb::flow::unlimited, square_body()); in test_adder()
201 tbb::flow::function_node<int,int> c(g, tbb::flow::unlimited, cube_body()); in test_adder()
202 tbb::flow::function_node<int,int> p(g, tbb::flow::unlimited, passthru_body()); in test_adder()
204 adder_node a0(g, hidden); in test_adder()
209 adder_node a1(g, hidden); in test_adder()
214 adder_node a2(g, hidden); in test_adder()
219 adder_node a3(g, hidden); in test_adder()
224 tbb::flow::function_node<int,int> s2(g, tbb::flow::unlimited, square_body()); in test_adder()
225 tbb::flow::queue_node<int> q(g); in test_adder()
245 g.wait_for_all(); in test_adder()
253 g.wait_for_all(); in test_adder()
269 g.wait_for_all(); in test_adder()
276 g.wait_for_all(); in test_adder()
297 tbb::flow::graph g; in test_nested_adder() local
298 tbb::flow::composite_node<std::tuple<int, int>, std::tuple<int> > outer_node(g); in test_nested_adder()
300 tbb::flow::broadcast_node<int> input(g); in test_nested_adder()
301 tbb::flow::queue_node<int> output(g); in test_nested_adder()
303 adder_node inner_node1(g, hidden); in test_nested_adder()
304 adder_node inner_node2(g, hidden); in test_nested_adder()
305 adder_node inner_node3(g, hidden); in test_nested_adder()
332 g.wait_for_all(); in test_nested_adder()
337 g.wait_for_all(); in test_nested_adder()
363 …prefix_node(tbb::flow::graph &g, bool hidden = false ) : base_type(g), j(g), s(g), f(g, tbb::flow:… in prefix_node() argument
382 tbb::flow::graph g; in test_prefix() local
383 prefix_node<double> p(g, hidden); in test_prefix()
398 std::vector< tbb::flow::queue_node<double> > v( 5, tbb::flow::queue_node<double>(g) ); in test_prefix()
412 g.wait_for_all(); in test_prefix()
416 g.wait_for_all(); in test_prefix()
419 g.wait_for_all(); in test_prefix()
433 tbb::flow::graph g; in input_only_output_only_composite() local
435 tbb::flow::composite_node<std::tuple<int>, std::tuple<int> > input_output(g); in input_only_output_only_composite()
449 input_only_composite a_in(g); in input_only_output_only_composite()
450 output_only_composite a_out(g); in input_only_output_only_composite()
452 src_type src(g, my_input_body(finish, step)); in input_only_output_only_composite()
453 q_type que(g); in input_only_output_only_composite()
454 f_type f(g, 1, passthru_body()); in input_only_output_only_composite()
458 sequencer_type seq(g, input_only_output_only_seq()); in input_only_output_only_composite()
480 g.wait_for_all(); in input_only_output_only_composite()
486 g.wait_for_all(); in input_only_output_only_composite()