Home
last modified time | relevance | path

Searched refs:copy_count (Results 1 – 25 of 45) sorted by relevance

12

/third_party/boost/libs/test/test/test-organization-ts/datasets-test/
Dmono-zip-test.cpp93 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
94 …:for_each_sample( data::make( copy_count() ) ^ data::make( copy_count() ), check_arg_type<std::tup… in BOOST_AUTO_TEST_CASE()
95 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
97 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
98 …data::for_each_sample( data::make( copy_count() ) ^ data::make( copy_count() ) ^ data::make( copy_… in BOOST_AUTO_TEST_CASE()
99 check_arg_type<std::tuple<copy_count,copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
100 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
102 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
103 …data::for_each_sample( data::make( copy_count() ) ^ (data::make( copy_count() ) ^ data::make( copy… in BOOST_AUTO_TEST_CASE()
104 check_arg_type<std::tuple<copy_count,copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dmono-join-test.cpp79 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
80 …data::for_each_sample( data::make( copy_count() ) + data::make( copy_count() ), check_arg_type<cop… in BOOST_AUTO_TEST_CASE()
81 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
83 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
84 …r_each_sample( data::make( copy_count() ) + data::make( copy_count() ) + data::make( copy_count() … in BOOST_AUTO_TEST_CASE()
85 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
87 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
88 …_each_sample( data::make( copy_count() ) + (data::make( copy_count() ) + data::make( copy_count() … in BOOST_AUTO_TEST_CASE()
89 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
90 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
[all …]
Dmono-grid-test.cpp108 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
109 …:for_each_sample( data::make( copy_count() ) * data::make( copy_count() ), check_arg_type<std::tup… in BOOST_AUTO_TEST_CASE()
110 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
112 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
113 …data::for_each_sample( data::make( copy_count() ) * data::make( copy_count() ) * data::make( copy_… in BOOST_AUTO_TEST_CASE()
114 check_arg_type<std::tuple<copy_count,copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
115 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
117 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
118 …data::for_each_sample( data::make( copy_count() ) * (data::make( copy_count() ) * data::make( copy… in BOOST_AUTO_TEST_CASE()
119 check_arg_type<std::tuple<copy_count,copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dsingleton-test.cpp52 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
53 data::for_each_sample( data::make( copy_count() ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
54 BOOST_TEST( copy_count::value() == exp_copy_count ); in BOOST_AUTO_TEST_CASE()
56 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
57 copy_count cc1; in BOOST_AUTO_TEST_CASE()
58 data::for_each_sample( data::make( cc1 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( copy_count::value() == exp_copy_count ); in BOOST_AUTO_TEST_CASE()
61 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
62 copy_count const cc2; in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( cc2 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dcollection-test.cpp115 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
118 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
119 std_vector_constructor_count = copy_count::value()/2; in BOOST_AUTO_TEST_CASE()
122 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
125 std::list<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
126 std_list_constructor_count = copy_count::value()/2; in BOOST_AUTO_TEST_CASE()
129 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
132 BOOST_TEST( copy_count::value() == (exp_copy_count + std_vector_constructor_count) * 2); in BOOST_AUTO_TEST_CASE()
134 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
[all …]
Ddatasets-test.hpp28 class copy_count { class
30 copy_count() {} in copy_count() function in copy_count
31 copy_count( copy_count const& ) { in copy_count() function in copy_count
34 copy_count( copy_count&& ) BOOST_NOEXCEPT_OR_NOTHROW {} // noexcept is important indeed in copy_count() function in copy_count
35 copy_count( copy_count const&& ) {} in copy_count() function in copy_count
40 static copy_count make() { return copy_count(); } in make()
41 static copy_count const make_const() { return copy_count(); } in make_const()
191 inline std::vector<copy_count>
194 return std::vector<copy_count>( 3 ); in make_copy_count_collection()
199 inline std::list<copy_count> const
[all …]
Darray-test.cpp50 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
51 copy_count arr5[] = { copy_count(), copy_count() }; in BOOST_AUTO_TEST_CASE()
52 data::for_each_sample( data::make( arr5 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
53 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
55 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
56 copy_count const arr6[] = { copy_count(), copy_count() }; in BOOST_AUTO_TEST_CASE()
57 data::for_each_sample( data::make( arr6 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
Dimplicit-test.cpp43 std::vector<copy_count> samples1( 2 ); in BOOST_AUTO_TEST_CASE()
44 copy_count::value() = 0; // we do not test the construction of the vector in BOOST_AUTO_TEST_CASE()
45 data::for_each_sample( samples1, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
46 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
48 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
49 copy_count samples2[] = { copy_count(), copy_count() }; in BOOST_AUTO_TEST_CASE()
50 data::for_each_sample( samples2, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
51 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
Dinitializer_list-test.cpp43 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
44 …data::for_each_sample( data::make( { copy_count(), copy_count() } ), check_arg_type<copy_count>() … in BOOST_AUTO_TEST_CASE()
45 …BOOST_TEST( copy_count::value() == 2 ); // this is copied in this case, because of the initializer… in BOOST_AUTO_TEST_CASE()
70 copy_count::value() = 0; in BOOST_AUTO_TEST_CASE()
71 data::for_each_sample( data::make( copy_count(), copy_count() ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
72 BOOST_TEST( copy_count::value() == 0 ); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/any/test/
Dany_test_rv.cpp81 static unsigned int copy_count; member in any_tests::move_copy_conting_class
94 ++ copy_count; in move_copy_conting_class()
97 ++ copy_count; in operator =()
103 unsigned int move_copy_conting_class::copy_count = 0; member in any_tests::move_copy_conting_class
113 move_copy_conting_class::copy_count = 0; in test_move_construction()
122 move_copy_conting_class::copy_count, 0u, in test_move_construction()
133 move_copy_conting_class::copy_count = 0; in test_move_assignment()
142 move_copy_conting_class::copy_count, 0u, in test_move_assignment()
152 move_copy_conting_class::copy_count = 0; in test_copy_construction()
161 move_copy_conting_class::copy_count, 1u, in test_copy_construction()
[all …]
/third_party/boost/libs/variant/test/
Drvalue_test.cpp39 static unsigned int copy_count; member in move_copy_conting_class
52 ++ copy_count; in move_copy_conting_class()
55 ++ copy_count; in operator =()
61 unsigned int move_copy_conting_class::copy_count = 0; member in move_copy_conting_class
116 BOOST_TEST(move_copy_conting_class::copy_count == 0); in run()
123 …igned int total_count = move_copy_conting_class::moves_count + move_copy_conting_class::copy_count; in run()
127 move_copy_conting_class::copy_count = 0; in run()
130 …ST_TEST(total_count <= move_copy_conting_class::moves_count + move_copy_conting_class::copy_count); in run()
133 move_copy_conting_class::copy_count = 0; in run()
137 BOOST_TEST(move_copy_conting_class::copy_count == 0); in run()
[all …]
/third_party/boost/libs/config/test/
Dboost_has_nrvo.ipp23 ++copy_count;
26 static int copy_count;
29 int test_class::copy_count;
40 test_class::copy_count=0;
44 return test_class::copy_count;
/third_party/boost/libs/numeric/odeint/test/
Ddiagnostic_state_type.hpp42 static size_t& copy_count( void ) in copy_count() function
59 counter< N >::copy_count() = 0; in init_counter()
146 counter< N >::copy_count()++; in state_wrapper()
152 counter< N >::copy_count()++; in state_wrapper()
157 counter< N >::copy_count()++; in operator =()
175 BOOST_CHECK_EQUAL( c::copy_count() , size_t( s3 ) ); \
181 BOOST_CHECK_EQUAL( c::copy_count() , size_t( s3 ) ); \
Dstepper_copying.cpp108 size_t copy_count = 0; variable
117 copy_count = 0; in reset_counter()
142 copy_count++; in state_wrapper()
148 copy_count++; in state_wrapper()
153 copy_count++; in operator =()
226 BOOST_CHECK_EQUAL( copy_count , size_t( c5 ) ) ; \
/third_party/boost/libs/core/test/swap/
Dspecialized_in_global.cpp36 BOOST_CHECK_EQUAL(swap_test_class::copy_count(),0); in main()
Dswap_no_ambiguity_in_boost.cpp41 BOOST_CHECK_EQUAL(boost::swap_test_class::copy_count(),3); in main()
Dswap_specialized_in_global.cpp36 BOOST_CHECK_EQUAL(swap_test_class::copy_count(),0); in main()
Dno_ambiguity_in_boost.cpp41 BOOST_CHECK_EQUAL(boost::swap_test_class::copy_count(),3); in main()
Dswap_specialized_in_std.cpp41 BOOST_CHECK_EQUAL(swap_test_class::copy_count(),0); in main()
Dspecialized_in_std.cpp41 BOOST_CHECK_EQUAL(swap_test_class::copy_count(),0); in main()
Dspecialized_in_boost.cpp42 BOOST_CHECK_EQUAL(boost::swap_test_class::copy_count(),0); in main()
Dspecialized_in_other.cpp42 BOOST_CHECK_EQUAL(other::swap_test_class::copy_count(),0); in main()
Dswap_specialized_in_other.cpp42 BOOST_CHECK_EQUAL(other::swap_test_class::copy_count(),0); in main()
Dswap_specialized_in_boost.cpp42 BOOST_CHECK_EQUAL(boost::swap_test_class::copy_count(),0); in main()
Dswap_specialized_in_boost_and_other.cpp61 BOOST_CHECK_EQUAL(other::swap_test_class::copy_count(),0); in main()

12