Lines Matching refs:isDeleted
87 bool isDeleted; in TEST() local
88 Foo* foo = new Foo(&isDeleted); in TEST()
90 ASSERT_FALSE(isDeleted) << "Already deleted...?"; in TEST()
105 ASSERT_FALSE(isDeleted) << "deleted too early! still has a reference!"; in TEST()
110 ASSERT_TRUE(isDeleted) << "foo was leaked!"; in TEST()
115 bool isDeleted; in TEST() local
116 Foo* foo = new Foo(&isDeleted); in TEST()
118 ASSERT_FALSE(isDeleted) << "Foo (weak) already deleted...?"; in TEST()
126 ASSERT_FALSE(isDeleted) << "deleted too early! still has a reference!"; in TEST()
128 ASSERT_FALSE(isDeleted) << "Deletion on wp destruction should no longer occur"; in TEST()
132 bool isDeleted, isDeleted2, isDeleted3; in TEST() local
133 Foo* foo = new Foo(&isDeleted); in TEST()
162 ASSERT_FALSE(isDeleted); in TEST()
180 ASSERT_FALSE(isDeleted); in TEST()
182 ASSERT_TRUE(isDeleted); in TEST()
216 bool isDeleted, isDeleted2; in TEST() local
217 FooFixedAlloc* foo = new FooFixedAlloc(&isDeleted); in TEST()
222 ASSERT_TRUE(isDeleted); in TEST()
245 bool isDeleted; in TEST() local
246 sp<Foo> foo = sp<Foo>::make(&isDeleted); in TEST()
252 EXPECT_FALSE(isDeleted); in TEST()
254 EXPECT_TRUE(isDeleted); in TEST()
259 bool isDeleted; in TEST() local
260 Foo* foo = new Foo(&isDeleted); in TEST()