Home
last modified time | relevance | path

Searched refs:outq (Results 1 – 2 of 2) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_flow_graph_whitebox.cpp482 tbb::flow::queue_node<int> outq(g); in TestLimiterNode() local
486 tbb::flow::make_edge(ln,outq); in TestLimiterNode()
494 CHECK_MESSAGE( (outq.try_get(out_int) && out_int == 1), "limiter_node didn't pass first value"); in TestLimiterNode()
498 CHECK_MESSAGE( (!outq.try_get(out_int)), "limiter_node incorrectly passed second input"); in TestLimiterNode()
502 … CHECK_MESSAGE( (outq.try_get(out_int) && out_int == 2), "limiter_node didn't pass second value"); in TestLimiterNode()
509 CHECK_MESSAGE( (outq.try_get(out_int) && out_int == 3), "limiter_node didn't pass third value"); in TestLimiterNode()
522 tbb::flow::make_edge(ln,outq); in TestLimiterNode()
526 CHECK_MESSAGE( (outq.try_get(out_int)),"missing output after reset(rf_clear_edges)"); in TestLimiterNode()
530 CHECK_MESSAGE( (!outq.try_get(out_int)),"second output incorrectly passed (rf_clear_edges)"); in TestLimiterNode()
/oneTBB/test/common/
H A Dgraph_utils.h532 tbb::flow::queue_node<T> outq(g);
535 tbb::flow::make_edge(sfn,outq);
563 bool got_item1 = outq.try_get(outt);
564 bool got_item2 = outq.try_get(outt2);
585 tbb::flow::make_edge(sfn,outq);
604 … bool is_successful_operation = b0.try_get(outt) && (T)23 == outt && !outq.try_get(outt);