Home
last modified time | relevance | path

Searched refs:int_val (Results 1 – 6 of 6) sorted by relevance

/ndk/tests/device/test-gnustl-full/unit/
Dconfig_test.cpp40 int int_val = 1; in placement_new_bug() local
42 pint = new(&int_val) int(); in placement_new_bug()
43 CPPUNIT_ASSERT( pint == &int_val ); in placement_new_bug()
45 CPPUNIT_ASSERT( int_val != 0 ); in placement_new_bug()
47 CPPUNIT_ASSERT( int_val == 0 ); in placement_new_bug()
Dcmath_test.cpp40 int int_val = -1; in import_checks() local
48 CPPUNIT_CHECK( are_equals(std::abs(int_val), -int_val) ); in import_checks()
98 double_val = std::frexp(8.0, &int_val); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
123 float_val = std::frexp(8.0f, &int_val); in import_checks()
124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
149 long_double_val = std::frexp(8.0l, &int_val); in import_checks()
150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
Dtype_traits_test.cpp73 int int_val = 0; variable
76 int & int_ref = int_val;
77 int const& int_const_ref = int_val;
78 int const volatile& int_const_volatile_ref = int_val;
385 CPPUNIT_ASSERT( is_pointer_type(int_val) == 0 ); in pointer_type()
421 CPPUNIT_CHECK( are_both_pointer_type(int_val, int_val) == 0 ); in both_pointer_type()
/ndk/tests/device/test-stlport/unit/
Dconfig_test.cpp40 int int_val = 1; in placement_new_bug() local
42 pint = new(&int_val) int(); in placement_new_bug()
43 CPPUNIT_ASSERT( pint == &int_val ); in placement_new_bug()
45 CPPUNIT_ASSERT( int_val != 0 ); in placement_new_bug()
47 CPPUNIT_ASSERT( int_val == 0 ); in placement_new_bug()
Dcmath_test.cpp40 int int_val = -1; in import_checks() local
48 CPPUNIT_CHECK( are_equals(std::abs(int_val), -int_val) ); in import_checks()
98 double_val = std::frexp(8.0, &int_val); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
123 float_val = std::frexp(8.0f, &int_val); in import_checks()
124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
149 long_double_val = std::frexp(8.0l, &int_val); in import_checks()
150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
Dtype_traits_test.cpp73 int int_val = 0; variable
76 int & int_ref = int_val;
77 int const& int_const_ref = int_val;
78 int const volatile& int_const_volatile_ref = int_val;
385 CPPUNIT_ASSERT( is_pointer_type(int_val) == 0 ); in pointer_type()
421 CPPUNIT_CHECK( are_both_pointer_type(int_val, int_val) == 0 ); in both_pointer_type()