Lines Matching refs:iref1
72 IndirectRef iref1 = irt.Add(cookie, obj1);
73 EXPECT_TRUE(iref1 != NULL);
80 EXPECT_EQ(obj1, irt.Get(iref1));
85 EXPECT_TRUE(irt.Remove(cookie, iref1));
99 iref1 = irt.Add(cookie, obj1);
100 EXPECT_TRUE(iref1 != NULL);
107 ASSERT_TRUE(irt.Remove(cookie, iref1));
119 iref1 = irt.Add(cookie, obj1);
120 EXPECT_TRUE(iref1 != NULL);
127 ASSERT_TRUE(irt.Remove(cookie, iref1));
129 ASSERT_FALSE(irt.Remove(cookie, iref1));
133 EXPECT_EQ(kInvalidIndirectRefObject, irt.Get(iref1));
148 iref1 = irt.Add(cookie, obj1);
149 EXPECT_TRUE(iref1 != NULL);
156 ASSERT_TRUE(irt.Remove(cookie, iref1));
159 iref1 = irt.Add(cookie, obj1);
160 EXPECT_TRUE(iref1 != NULL);
165 ASSERT_TRUE(irt.Remove(cookie, iref1));
187 iref1 = irt.Add(cookie, obj1);
188 EXPECT_TRUE(iref1 != NULL);
192 ASSERT_TRUE(irt.Remove(cookie, iref1)) << "switched del failed";
203 iref1 = irt.Add(cookie, obj0);
204 EXPECT_TRUE(iref1 != NULL);
206 if (iref0 != iref1) {
210 ASSERT_TRUE(irt.Remove(cookie, iref1)) << "temporal cleanup failed";