Home
last modified time | relevance | path

Searched refs:at_c (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/third_party/boost/libs/hana/test/tuple/
Dat.non_const.cpp17 k(hana::at_c<0>(a)),
18 e(hana::at_c<1>(a))
32 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 3); in main()
33 hana::at_c<0>(t) = 2; in main()
34 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 2); in main()
39 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == "high"); in main()
40 BOOST_HANA_RUNTIME_CHECK(hana::at_c<1>(t) == 5); in main()
41 hana::at_c<0>(t) = "four"; in main()
42 hana::at_c<1>(t) = 4; in main()
43 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == "four"); in main()
[all …]
Dat.const.cpp18 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 3); in main()
23 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == "high"); in main()
24 BOOST_HANA_RUNTIME_CHECK(hana::at_c<1>(t) == 5); in main()
29 static_assert(hana::at_c<0>(t) == 2.718, ""); in main()
30 static_assert(hana::at_c<1>(t) == 5, ""); in main()
35 constexpr Empty e = hana::at_c<0>(t); (void)e; in main()
41 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 1.5); in main()
42 BOOST_HANA_RUNTIME_CHECK(hana::at_c<1>(t) == "high"); in main()
43 BOOST_HANA_RUNTIME_CHECK(hana::at_c<2>(t) == 5); in main()
44 hana::at_c<0>(t) = 2.5; in main()
[all …]
Dcnstr.variadic_copy.cpp45 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 2); in main()
49 static_assert(hana::at_c<0>(t) == 2, ""); in main()
53 static_assert(hana::at_c<0>(t) == 0, ""); in main()
57 static_assert(hana::at_c<0>(t) == 2, ""); in main()
58 static_assert(hana::at_c<1>(t) == nullptr, ""); in main()
62 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 2); in main()
63 BOOST_HANA_RUNTIME_CHECK(hana::at_c<1>(t) == nullptr); in main()
67 BOOST_HANA_RUNTIME_CHECK(hana::at_c<0>(t) == 2); in main()
68 BOOST_HANA_RUNTIME_CHECK(hana::at_c<1>(t) == nullptr); in main()
69 BOOST_HANA_RUNTIME_CHECK(hana::at_c<2>(t) == "text"); in main()
[all …]
/third_party/boost/libs/fusion/test/sequence/
Dvector_n.cpp46 BOOST_TEST(at_c<0>(vec) == 0); in main()
50 at_c<0>(vec) = 987; in main()
51 BOOST_TEST(at_c<0>(vec) == 987); in main()
57 BOOST_TEST(at_c<0>(vec) == 123); in main()
63 BOOST_TEST(at_c<0>(vec) == 999); in main()
66 at_c<0>(vec) = 321; in main()
81 BOOST_TEST(at_c<0>(vec) == 0); in main()
82 BOOST_TEST(at_c<1>(vec) == char()); in main()
91 BOOST_TEST(at_c<0>(vec) == 123); in main()
92 BOOST_TEST(at_c<1>(vec) == 'x'); in main()
[all …]
Dmap_construction.cpp69 BOOST_TEST(at_c<0>(t1).second == int()); in test()
72 BOOST_TEST(at_c<0>(t2).second > 5.4f && at_c<0>(t2).second < 5.6f); in test()
75 BOOST_TEST(at_c<0>(t3).second == foo(12)); in test()
78 BOOST_TEST(at_c<0>(t4).second > 5.4 && at_c<0>(t4).second < 5.6); in test()
81 BOOST_TEST(at_c<0>(t5).second == int()); in test()
82 BOOST_TEST(at_c<1>(t5).second == float()); in test()
85 BOOST_TEST(at_c<0>(t6).second == 12); in test()
86 BOOST_TEST(at_c<1>(t6).second > 5.4f && at_c<1>(t6).second < 5.6f); in test()
89 BOOST_TEST(at_c<0>(t7).second == 12); in test()
90 BOOST_TEST(at_c<1>(t7).second > 5.4f && at_c<1>(t7).second < 5.6f); in test()
[all …]
/third_party/boost/libs/spirit/test/qi/
Dpermutation.cpp38 using boost::fusion::at_c; in main()
66 BOOST_TEST((!at_c<0>(attr))); in main()
67 BOOST_TEST((at_c<1>(attr).get() == 'a')); in main()
69 at_c<1>(attr) = optional<char>(); // clear the optional in main()
71 BOOST_TEST((at_c<0>(attr).get() == 123)); in main()
72 BOOST_TEST((!at_c<1>(attr))); in main()
74 at_c<0>(attr) = optional<int>(); // clear the optional in main()
76 BOOST_TEST((at_c<0>(attr).get() == 123)); in main()
77 BOOST_TEST((at_c<1>(attr).get() == 'a')); in main()
79 at_c<0>(attr) = optional<int>(); // clear the optional in main()
[all …]
Dsequential_or.cpp36 using boost::fusion::at_c; in main()
49 BOOST_TEST((!at_c<0>(attr))); in main()
50 BOOST_TEST((at_c<1>(attr).get() == 'a')); in main()
52 at_c<1>(attr) = optional<char>(); // clear the optional in main()
54 BOOST_TEST((at_c<0>(attr).get() == 123)); in main()
55 BOOST_TEST((!at_c<1>(attr))); in main()
57 at_c<0>(attr) = optional<int>(); // clear the optional in main()
59 BOOST_TEST((at_c<0>(attr).get() == 123)); in main()
60 BOOST_TEST((at_c<1>(attr).get() == 'a')); in main()
68 BOOST_TEST((at_c<0>(attr1) && at_c<0>(attr1).get() == 123)); in main()
[all …]
Dmatch_manip2.cpp45 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b'); in main()
50 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b'); in main()
78 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b' && fusion::at_c<2>(t) == 'c'); in main()
83 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b' && fusion::at_c<2>(t) == 'c'); in main()
88 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b' && fusion::at_c<2>(t) == 'c'); in main()
93 ) && fusion::at_c<0>(t) == 'a' && fusion::at_c<1>(t) == 'b' && fusion::at_c<2>(t) == 'c'); in main()
Dregression_reorder.cpp25 using fusion::at_c; in main()
63 BOOST_TEST(fusion::at_c<0>(uvw_result) && *fusion::at_c<0>(uvw_result) == 1); in main()
64 BOOST_TEST(fusion::at_c<1>(uvw_result) && *fusion::at_c<1>(uvw_result) == 2); in main()
65 BOOST_TEST(fusion::at_c<2>(uvw_result) && *fusion::at_c<2>(uvw_result) == 3); in main()
75 BOOST_TEST(fusion::at_c<0>(uvw_result) && *fusion::at_c<0>(uvw_result) == 2); in main()
76 BOOST_TEST(fusion::at_c<1>(uvw_result) && *fusion::at_c<1>(uvw_result) == 3); in main()
77 BOOST_TEST(fusion::at_c<2>(uvw_result) && *fusion::at_c<2>(uvw_result) == 1); in main()
/third_party/boost/boost/mpl/aux_/preprocessed/bcc_pre590/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/dmc/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/msvc60/
Dunpack_args.hpp36 , typename at_c< Args,0 >::type
47 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
58 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
59 , typename at_c< Args,2 >::type
70 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
71 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
82 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
83 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
84 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/plain/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/msvc70/
Dunpack_args.hpp36 , typename at_c< Args,0 >::type
47 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
58 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
59 , typename at_c< Args,2 >::type
70 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
71 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
82 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
83 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
84 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/no_ctps/
Dunpack_args.hpp36 , typename at_c< Args,0 >::type
47 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
58 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
59 , typename at_c< Args,2 >::type
70 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
71 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
82 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
83 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
84 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/bcc/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/no_ttp/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/bcc551/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/mwcw/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/boost/mpl/aux_/preprocessed/gcc/
Dunpack_args.hpp31 , typename at_c< Args,0 >::type
40 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
49 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
50 , typename at_c< Args,2 >::type
59 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
60 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
69 , typename at_c< Args,0 >::type, typename at_c< Args,1 >::type
70 , typename at_c< Args,2 >::type, typename at_c< Args,3 >::type
71 , typename at_c< Args,4 >::type
/third_party/boost/libs/numeric/odeint/test/
Dfusion_algebra.cpp77 BOOST_CHECK_CLOSE( fusion::at_c< 0 >( x ).value() , 1.0 , 1.0e-10 ); in ~fusion_fixture()
78 BOOST_CHECK_CLOSE( fusion::at_c< 1 >( x ).value() , 1.0 , 1.0e-10 ); in ~fusion_fixture()
79 BOOST_CHECK_CLOSE( fusion::at_c< 0 >( k1 ).value() , 1.0 , 1.0e-10 ); in ~fusion_fixture()
80 BOOST_CHECK_CLOSE( fusion::at_c< 1 >( k1 ).value() , 1.0 , 1.0e-10 ); in ~fusion_fixture()
81 BOOST_CHECK_CLOSE( fusion::at_c< 0 >( k2 ).value() , 2.0 , 1.0e-10 ); in ~fusion_fixture()
82 BOOST_CHECK_CLOSE( fusion::at_c< 1 >( k2 ).value() , 2.0 , 1.0e-10 ); in ~fusion_fixture()
83 BOOST_CHECK_CLOSE( fusion::at_c< 0 >( k3 ).value() , 3.0 , 1.0e-10 ); in ~fusion_fixture()
84 BOOST_CHECK_CLOSE( fusion::at_c< 1 >( k3 ).value() , 3.0 , 1.0e-10 ); in ~fusion_fixture()
85 BOOST_CHECK_CLOSE( fusion::at_c< 0 >( k4 ).value() , 4.0 , 1.0e-10 ); in ~fusion_fixture()
86 BOOST_CHECK_CLOSE( fusion::at_c< 1 >( k4 ).value() , 4.0 , 1.0e-10 ); in ~fusion_fixture()
[all …]
/third_party/boost/libs/spirit/test/karma/
Dpattern1.cpp35 using boost::phoenix::at_c; in main()
50 start = a[_1 = at_c<0>(_r0)] << b[_1 = at_c<1>(_r0)] << c[_1 = at_c<2>(_r0)]; in main()
53 start = (a << b << c)[(_1 = at_c<0>(_r0), _2 = at_c<1>(_r0), _3 = at_c<2>(_r0))]; in main()
64 using boost::phoenix::at_c; in main()
79 start = a[_1 = at_c<0>(_r0)] << b[_1 = at_c<1>(_r0)] << c[_1 = at_c<2>(_r0)]; in main()
82 start = (a << b << c)[(_1 = at_c<0>(_r0), _2 = at_c<1>(_r0), _3 = at_c<2>(_r0))]; in main()
94 using boost::phoenix::at_c; in main()
106 start = a[_1 = at_c<0>(_r0)] << b[_1 = at_c<1>(_r0)] << c[_1 = at_c<2>(_r0)]; in main()
/third_party/boost/libs/gil/test/core/color_base/
Dstatic_transform.cpp25 BOOST_TEST_EQ(gil::at_c<0>(src), gil::at_c<0>(dst)); in test_single_source_gray8_to_gray8()
35 BOOST_TEST_EQ(gil::at_c<0>(src), gil::at_c<0>(dst)); in test_single_source_rgb8_to_rgb8()
36 BOOST_TEST_EQ(gil::at_c<1>(src), gil::at_c<1>(dst)); in test_single_source_rgb8_to_rgb8()
37 BOOST_TEST_EQ(gil::at_c<2>(src), gil::at_c<2>(dst)); in test_single_source_rgb8_to_rgb8()
48 BOOST_TEST_EQ(gil::at_c<0>(dst), std::uint8_t{32}); in test_single_source_rgb8_to_gray8()
59 BOOST_TEST_EQ(gil::at_c<0>(dst), std::uint8_t{16}); in test_single_source_cmyk8_to_rgb8()
60 BOOST_TEST_EQ(gil::at_c<1>(dst), std::uint8_t{32}); in test_single_source_cmyk8_to_rgb8()
61 BOOST_TEST_EQ(gil::at_c<2>(dst), std::uint8_t{64}); in test_single_source_cmyk8_to_rgb8()
/third_party/boost/libs/hana/test/experimental/types/
Dat.cpp17 hana::at_c<0>(hana::experimental::types<x<0>>{}), in main()
22 hana::at_c<0>(hana::experimental::types<x<0>, x<1>>{}), in main()
26 hana::at_c<1>(hana::experimental::types<x<0>, x<1>>{}), in main()
31 hana::at_c<0>(hana::experimental::types<x<0>, x<1>, x<2>>{}), in main()
35 hana::at_c<1>(hana::experimental::types<x<0>, x<1>, x<2>>{}), in main()
39 hana::at_c<2>(hana::experimental::types<x<0>, x<1>, x<2>>{}), in main()
44 hana::at_c<0>(hana::experimental::types<x<0>, x<1>, x<2>, x<3>>{}), in main()
48 hana::at_c<1>(hana::experimental::types<x<0>, x<1>, x<2>, x<3>>{}), in main()
52 hana::at_c<2>(hana::experimental::types<x<0>, x<1>, x<2>, x<3>>{}), in main()
56 hana::at_c<3>(hana::experimental::types<x<0>, x<1>, x<2>, x<3>>{}), in main()
[all …]
/third_party/boost/boost/gil/
Dpacked_pixel.hpp79 gil::at_c<0>(*this) = chan0; in packed_pixel()
80 gil::at_c<1>(*this) = chan1; in packed_pixel()
87 gil::at_c<0>(*this) = chan0; in packed_pixel()
88 gil::at_c<1>(*this) = chan1; in packed_pixel()
89 gil::at_c<2>(*this) = chan2; in packed_pixel()
96 gil::at_c<0>(*this) = chan0; in packed_pixel()
97 gil::at_c<1>(*this) = chan1; in packed_pixel()
98 gil::at_c<2>(*this) = chan2; in packed_pixel()
99 gil::at_c<3>(*this) = chan3; in packed_pixel()
106 gil::at_c<0>(*this) = chan0; in packed_pixel()
[all …]

12345678910>>...19