Home
last modified time | relevance | path

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

/ndk/tests/device/test-gnustl-full/unit/
Dmemory_test.cpp31 bool CheckEquality(auto_ptr<int> pint, int val) in CheckEquality() argument
32 { return *pint == val; } in CheckEquality()
42 auto_ptr<int> pint(new int(1)); in auto_ptr_test() local
43 CPPUNIT_ASSERT( *pint == 1 ); in auto_ptr_test()
44 *pint = 2; in auto_ptr_test()
45 CPPUNIT_ASSERT( *pint == 2 ); in auto_ptr_test()
49 auto_ptr<int> pint(CreateAutoPtr(3)); in auto_ptr_test() local
50 CPPUNIT_ASSERT( *pint == 3 ); in auto_ptr_test()
51 CPPUNIT_ASSERT( CheckEquality(pint, 3) ); in auto_ptr_test()
55 auto_ptr<const int> pint(new int(2)); in auto_ptr_test() local
[all …]
Dconfig_test.cpp41 int *pint; 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()
Dmvctor_test.cpp35 int *pint = &(v_v_ints.front().front()); in move_construct_test() local
45 CPPUNIT_ASSERT((pint == &v_v_ints.front().front())); in move_construct_test()
56 pint = &v_v_ints[2].front(); in move_construct_test()
60 CPPUNIT_ASSERT((pint == &v_v_ints[1].front())); in move_construct_test()
/ndk/tests/device/test-stlport/unit/
Dmemory_test.cpp31 bool CheckEquality(auto_ptr<int> pint, int val) in CheckEquality() argument
32 { return *pint == val; } in CheckEquality()
42 auto_ptr<int> pint(new int(1)); in auto_ptr_test() local
43 CPPUNIT_ASSERT( *pint == 1 ); in auto_ptr_test()
44 *pint = 2; in auto_ptr_test()
45 CPPUNIT_ASSERT( *pint == 2 ); in auto_ptr_test()
49 auto_ptr<int> pint(CreateAutoPtr(3)); in auto_ptr_test() local
50 CPPUNIT_ASSERT( *pint == 3 ); in auto_ptr_test()
51 CPPUNIT_ASSERT( CheckEquality(pint, 3) ); in auto_ptr_test()
55 auto_ptr<const int> pint(new int(2)); in auto_ptr_test() local
[all …]
Dconfig_test.cpp41 int *pint; 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()
Dmvctor_test.cpp35 int *pint = &(v_v_ints.front().front()); in move_construct_test() local
45 CPPUNIT_ASSERT((pint == &v_v_ints.front().front())); in move_construct_test()
56 pint = &v_v_ints[2].front(); in move_construct_test()
60 CPPUNIT_ASSERT((pint == &v_v_ints[1].front())); in move_construct_test()