Searched refs:pint (Results 1 – 6 of 6) sorted by relevance
31 bool CheckEquality(auto_ptr<int> pint, int val) in CheckEquality() argument32 { return *pint == val; } in CheckEquality()42 auto_ptr<int> pint(new int(1)); in auto_ptr_test() local43 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() local50 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 …]
41 int *pint; in placement_new_bug() local42 pint = new(&int_val) int(); in placement_new_bug()43 CPPUNIT_ASSERT( pint == &int_val ); in placement_new_bug()
35 int *pint = &(v_v_ints.front().front()); in move_construct_test() local45 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()