Searched refs:refobj (Results 1 – 1 of 1) sorted by relevance
39 sp<MyObject<int>> refobj = new MyObject<int>(20); in TEST() local40 atomic_wp<MyObject<int>> wpobj = refobj; in TEST()46 ASSERT_EQ(refobj.get(), wpobj.load().promote().get()); in TEST()50 ASSERT_EQ(10, refobj->get()); in TEST()51 refobj->set(5); in TEST()59 ASSERT_NE(nullptr, refobj.get()); in TEST()63 sp<MyObject<int>> refobj = new MyObject<int>(20); in TEST() local64 atomic_sp<MyObject<int>> spobj = refobj; in TEST()67 ASSERT_EQ(refobj.get(), spobj.load().get()); in TEST()72 ASSERT_EQ(10, refobj->get()); in TEST()[all …]