Lines Matching refs:big
93 T big; in test() local
96 big_value(big); in test()
101 if( be::order::native == be::order::big ) in test()
103 BOOST_TEST_EQ(native, big); in test()
108 BOOST_TEST_EQ(::std_endian_reverse(native), big); in test()
115 BOOST_TEST_EQ(be::endian_reverse(big), little); in test()
116 BOOST_TEST_EQ(be::endian_reverse(little), big); in test()
119 BOOST_TEST_EQ(be::native_to_big(native), big); in test()
121 BOOST_TEST_EQ(be::big_to_native(big), native); in test()
125 BOOST_TEST_EQ((be::conditional_reverse<be::order::big, be::order::big>(big)), big); in test()
130 BOOST_TEST_EQ((be::conditional_reverse<be::order::big, in test()
131 be::order::little>(big)), little); in test()
132 BOOST_TEST_EQ((be::conditional_reverse<be::order::big, in test()
133 be::order::native>(big)), native); in test()
135 be::order::big>(little)), big); in test()
139 be::order::big>(native)), big); in test()
144 BOOST_TEST_EQ((be::conditional_reverse(big, be::order::big, be::order::big)), in test()
145 big); in test()
150 BOOST_TEST_EQ((be::conditional_reverse(big, be::order::big, in test()
152 BOOST_TEST_EQ((be::conditional_reverse(big, be::order::big, in test()
155 be::order::big)), big); in test()
159 be::order::big)), big); in test()
168 x = big; be::endian_reverse_inplace(x); BOOST_TEST_EQ(x, little); in test()
169 x = little; be::endian_reverse_inplace(x); BOOST_TEST_EQ(x, big); in test()
172 x = native; be::native_to_big_inplace(x); BOOST_TEST_EQ(x, big); in test()
174 x = big; be::big_to_native_inplace(x); BOOST_TEST_EQ(x, native); in test()
178 x = big; be::conditional_reverse_inplace<be::order::big, be::order::big>(x); in test()
179 BOOST_TEST_EQ(x, big); in test()
184 x = big; be::conditional_reverse_inplace<be::order::big, be::order::little>(x); in test()
186 x = big; be::conditional_reverse_inplace<be::order::big, be::order::native>(x); in test()
188 x = little; be::conditional_reverse_inplace<be::order::little, be::order::big>(x); in test()
189 BOOST_TEST_EQ(x, big); in test()
192 x = native; be::conditional_reverse_inplace<be::order::native, be::order::big>(x); in test()
193 BOOST_TEST_EQ(x, big); in test()
198 x = big; in test()
199 be::conditional_reverse_inplace(x, be::order::big, be::order::big); in test()
200 BOOST_TEST_EQ(x, big); in test()
207 x = big; in test()
208 be::conditional_reverse_inplace(x, be::order::big, be::order::little); in test()
210 x = big; in test()
211 be::conditional_reverse_inplace(x, be::order::big, be::order::native); in test()
214 be::conditional_reverse_inplace(x, be::order::little, be::order::big); in test()
215 BOOST_TEST_EQ(x, big); in test()
220 be::conditional_reverse_inplace(x, be::order::native, be::order::big); in test()
221 BOOST_TEST_EQ(x, big); in test()
234 int64_t big; in udt_test() local
237 big_value(big); in udt_test()
241 udt.member1 = big; in udt_test()
245 tmp = be::conditional_reverse<be::order::big, be::order::little>(udt); in udt_test()
246 BOOST_TEST_EQ(tmp.member1, be::endian_reverse(big)); in udt_test()
250 be::conditional_reverse_inplace<be::order::big, be::order::little>(udt); in udt_test()
251 BOOST_TEST_EQ(udt.member1, be::endian_reverse(big)); in udt_test()
255 udt.member1 = big; in udt_test()
260 tmp = be::conditional_reverse<be::order::big, be::order::big>(udt); in udt_test()
261 BOOST_TEST_EQ(tmp.member1, big); in udt_test()
265 be::conditional_reverse_inplace<be::order::big, be::order::big>(udt); in udt_test()
266 BOOST_TEST_EQ(udt.member1, big); in udt_test()
338 else if( be::order::native == be::order::big ) in cpp_main()