Lines Matching refs:counter
402 std::atomic<int> counter; in run_function_spec() local
403 counter = max_counter; in run_function_spec()
406 tbb::filter<void, void>(filter_table[i], [&counter]( tbb::flow_control& control ) { in run_function_spec()
407 if( counter-- == 0 ) in run_function_spec()
504 std::atomic<int> counter; in run_lambdas_test() local
505 counter = max_counter; in run_lambdas_test()
509 tbb::make_filter<void, t1>(filter_type[0], [&counter]( tbb::flow_control& control ) -> t1 { in run_lambdas_test()
510 if( --counter < 0 ) in run_lambdas_test()
523 counter = max_counter; in run_lambdas_test()
527 tbb::filter<void,t1*>(filter_type[0], [&counter]( tbb::flow_control& control ) -> t1* { in run_lambdas_test()
528 if( --counter < 0 ) { in run_lambdas_test()
547 counter = max_counter; in run_lambdas_test()
550 tbb::make_filter(filter_type[0], [&counter]( tbb::flow_control& control ) -> t1* { in run_lambdas_test()
551 if( --counter < 0 ) { in run_lambdas_test()
569 counter = max_counter; in run_lambdas_test()
572 tbb::make_filter(filter_type[0], [&counter]( tbb::flow_control& control ) -> t1 { in run_lambdas_test()
573 if( --counter < 0 ) { in run_lambdas_test()