Searched refs:_constShared (Results 1 – 1 of 1) sorted by relevance
294 const std::shared_ptr<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local397 EXPECT_TRUE(u.set(_constShared)); in TEST_F()398 EXPECT_EQ(2L, _constShared.use_count()); // even though it is const, we can add a use count in TEST_F()442 const std::shared_ptr<DerivedCounter> _constShared(new DerivedCounter(&destructions)); in TEST_F() local596 EXPECT_TRUE(u.set(_constShared)); in TEST_F()597 EXPECT_EQ(2L, _constShared.use_count()); // even though it is const, we can add a use count in TEST_F()707 const sp<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local778 EXPECT_TRUE(u.set(_constShared)); in TEST_F()816 const sp<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local891 EXPECT_TRUE(u.set(_constShared)); in TEST_F()[all …]