Searched refs:sp1 (Results 1 – 2 of 2) sorted by relevance
91 sp<Foo> sp1(foo); in TEST() local92 wp<Foo> wp1(sp1); in TEST()97 sp<Foo> sp2 = std::move(sp1); in TEST()100 ASSERT_EQ(nullptr, sp1.get()) << "std::move failed, sp1 is still valid"; in TEST()103 sp1 = std::move(sp2); in TEST()108 sp<Foo> sp2 = std::move(sp1); in TEST()135 sp<Foo> sp1(foo); in TEST() local137 wp<Foo> wp1(sp1); in TEST()138 wp<Foo> wp2(sp1); in TEST()141 ASSERT_TRUE(wp1 == sp1); in TEST()[all …]
56 sp<TypeParam> sp1 = sp<TypeParam>::make(&isDeleted); in TYPED_TEST() local57 TypeParam* foo = sp1.get(); in TYPED_TEST()60 sp<TypeParam> sp2 = std::move(sp1); in TYPED_TEST()62 ASSERT_EQ(nullptr, sp1.get()) << "std::move failed, sp1 is still valid"; in TYPED_TEST()65 sp1 = std::move(sp2); in TYPED_TEST()70 sp<TypeParam> sp2 = std::move(sp1); in TYPED_TEST()