/dports/devel/hyperscan/boost_1_75_0/libs/leaf/test/ |
H A D | _test_ec.hpp | 85 enum class cond_x { x00 = 30, x11, x22, x33 }; enum 99 switch( cond_x(cond) ) in cat_cond_x() 101 case cond_x::x00: in cat_cond_x() 103 case cond_x::x11: in cat_cond_x() 105 case cond_x::x22: in cat_cond_x() 107 case cond_x::x33: in cat_cond_x() 115 switch( cond_x(cond) ) in cat_cond_x() 117 case cond_x::x00: in cat_cond_x() 119 case cond_x::x11: in cat_cond_x() 121 case cond_x::x22: in cat_cond_x() [all …]
|
H A D | match_test.cpp | 81 BOOST_TEST(( test<leaf::match<leaf::condition<cond_x>, cond_x::x00>>(e) )); in main() 82 BOOST_TEST(( !test<leaf::match<leaf::condition<cond_x>, cond_x::x11>>(e) )); in main() 83 BOOST_TEST(( test<leaf::match<leaf::condition<cond_x>, cond_x::x11, cond_x::x00>>(e) )); in main() 86 BOOST_TEST(( !test<leaf::if_not<leaf::match<leaf::condition<cond_x>, cond_x::x00>>>(e) )); in main() 87 BOOST_TEST(( test<leaf::if_not<leaf::match<leaf::condition<cond_x>, cond_x::x11>>>(e) )); in main() 88 …BOOST_TEST(( !test<leaf::if_not<leaf::match<leaf::condition<cond_x>, cond_x::x11, cond_x::x00>>>(e… in main()
|
H A D | error_code_test.cpp | 159 []( leaf::match<leaf::condition<cond_x>, cond_x::x00> cond ) in test() 163 BOOST_TEST(ec==make_error_condition(cond_x::x00)); in test() 179 []( leaf::match<std::error_code, cond_x::x00> cond ) in test() 183 BOOST_TEST(ec==make_error_condition(cond_x::x00)); in test() 258 []( leaf::match_value<leaf::condition<e_wrapped_error_code, cond_x>, cond_x::x00> cond ) in test() 263 BOOST_TEST(ec==make_error_condition(cond_x::x00)); in test() 284 BOOST_TEST(ec==make_error_condition(cond_x::x00)); in test() 447 [&]( leaf::match<leaf::condition<cond_x>, cond_x::x00> cond ) in test_void() 451 BOOST_TEST(ec==make_error_condition(cond_x::x00)); in test_void() 468 [&]( leaf::match<std::error_code, cond_x::x00> cond ) in test_void() [all …]
|
H A D | match_value_test.cpp | 52 … BOOST_TEST(( test<leaf::match_value<leaf::condition<e_error_code, cond_x>, cond_x::x00>>(e) )); in main() 53 … BOOST_TEST(( !test<leaf::match_value<leaf::condition<e_error_code, cond_x>, cond_x::x11>>(e) )); in main() 54 …T_TEST(( test<leaf::match_value<leaf::condition<e_error_code, cond_x>, cond_x::x11, cond_x::x00>>(… in main()
|
H A D | handle_all_test.cpp | 105 [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() 110 … [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> y ) in main() argument 136 [&c]( leaf::match_value<leaf::condition<e_std_error_code, cond_x>, cond_x::x11> ) in main() 141 …[&c]( leaf::match_value<leaf::condition<e_std_error_code, cond_x>, cond_x::x00> ec, info<1> const … in main() argument 328 []( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() 332 []( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> y ) in main() argument 354 []( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() argument 358 …[]( leaf::match_value<leaf::condition<e_std_error_code, cond_x>, cond_x::x00> ec, info<1> const & … in main()
|
H A D | handle_some_test.cpp | 103 … [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> const & y ) in main() 296 [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() 305 … [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> y ) in main() argument 334 … [&c]( leaf::match_value<leaf::condition<e_std_error_code, cond_x>, cond_x::x11> ) in main() 562 … [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> y ) in main() 574 [&c]( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() argument 612 [&c]( leaf::match_value<leaf::condition<e_std_error_code, cond_x>, cond_x::x11> ) in main() argument 820 []( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() 824 []( leaf::match<leaf::condition<cond_x>, cond_x::x00> ec, info<1> const & x, info<2> y ) in main() argument 970 []( leaf::match<leaf::condition<cond_x>, cond_x::x11> ) in main() [all …]
|
H A D | handle_some_other_result_test.cpp | 57 [&]( info<42> const & x, leaf::match<leaf::condition<cond_x>, cond_x::x00> ec ) in test()
|
H A D | context_deduction_test.cpp | 114 …test< std::tuple<std::error_code> >( expd([]( leaf::match<leaf::condition<cond_x>, cond_x::x00> ){… in not_called_on_purpose() argument
|