Home
last modified time | relevance | path

Searched refs:wp3 (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/smart_ptr/test/
Dweak_ptr_test.cpp256 boost::weak_ptr<int> wp3(wp); in copy_constructor() local
257 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()
258 BOOST_TEST(wp3.use_count() == 0); in copy_constructor()
259 BOOST_TEST(!(wp < wp3 || wp3 < wp)); in copy_constructor()
274 boost::weak_ptr<int> wp3(wp); in copy_constructor() local
275 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()
276 BOOST_TEST(wp3.use_count() == 0); in copy_constructor()
277 BOOST_TEST(!(wp < wp3 || wp3 < wp)); in copy_constructor()
292 boost::weak_ptr<void> wp3(wp); in copy_constructor() local
293 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()
[all …]
Dlsp_array_n_test.cpp158 boost::weak_ptr<X const[3]> wp3( px2 ); in main() local
159 BOOST_TEST( wp3.lock() == px2 ); in main()
161 wp3.reset(); in main()
162 wp3 = px2; in main()
163 BOOST_TEST( wp3.lock() == px2 ); in main()
192 BOOST_TEST( wp3.lock() == 0 ); in main()
Dsp_array_n_test.cpp158 boost::weak_ptr<X const[3]> wp3( px2 ); in main() local
159 BOOST_TEST( wp3.lock() == px2 ); in main()
161 wp3.reset(); in main()
162 wp3 = px2; in main()
163 BOOST_TEST( wp3.lock() == px2 ); in main()
192 BOOST_TEST( wp3.lock() == 0 ); in main()
Dlsp_array_test.cpp158 boost::weak_ptr<X const[]> wp3( px2 ); in main() local
159 BOOST_TEST( wp3.lock() == px2 ); in main()
161 wp3.reset(); in main()
162 wp3 = px2; in main()
163 BOOST_TEST( wp3.lock() == px2 ); in main()
192 BOOST_TEST( wp3.lock() == 0 ); in main()
Dsp_array_test.cpp158 boost::weak_ptr<X const[]> wp3( px2 ); in main() local
159 BOOST_TEST( wp3.lock() == px2 ); in main()
161 wp3.reset(); in main()
162 wp3 = px2; in main()
163 BOOST_TEST( wp3.lock() == px2 ); in main()
192 BOOST_TEST( wp3.lock() == 0 ); in main()
Dshared_ptr_basic_test.cpp264 weak_ptr<Y> wp3 = dynamic_pointer_cast<Y>(wp2.lock()); in main() local
266 BOOST_TEST(wp3.use_count() == 1); in main()
267 test_shared(wp2, wp3); in main()
269 weak_ptr<X> wp4(wp3); in main()
280 wp1 = wp3; in main()
297 BOOST_TEST(wp3.use_count() == 0); in main()
/third_party/boost/libs/interprocess/test/
Dshared_ptr_test.cpp490 y_weak_ptr wp3 = dynamic_pointer_cast<Y>(wp2.lock()); in basic_shared_ptr_test() local
492 BOOST_TEST(wp3.use_count() == 1); in basic_shared_ptr_test()
493 test_shared(wp2, wp3); in basic_shared_ptr_test()
495 weak_ptr<X, v_allocator_t, y_deleter_t> wp4(wp3); in basic_shared_ptr_test()
516 BOOST_TEST(wp3.use_count() == 0); in basic_shared_ptr_test()
/third_party/boost/libs/filesystem/test/
Dpath_unit_test.cpp954 path wp3(wa); in test_overloads() local