Lines Matching refs:Get

83   iref0 = irt.Add(cookie, obj0.Get());
86 IndirectRef iref1 = irt.Add(cookie, obj1.Get());
89 IndirectRef iref2 = irt.Add(cookie, obj2.Get());
93 EXPECT_OBJ_PTR_EQ(obj0.Get(), irt.Get(iref0));
94 EXPECT_OBJ_PTR_EQ(obj1.Get(), irt.Get(iref1));
95 EXPECT_OBJ_PTR_EQ(obj2.Get(), irt.Get(iref2));
107 // Get invalid entry (off the end of the list).
108 EXPECT_TRUE(irt.Get(iref0) == nullptr);
111 iref0 = irt.Add(cookie, obj0.Get());
113 iref1 = irt.Add(cookie, obj1.Get());
115 iref2 = irt.Add(cookie, obj2.Get());
131 iref0 = irt.Add(cookie, obj0.Get());
133 iref1 = irt.Add(cookie, obj1.Get());
135 iref2 = irt.Add(cookie, obj2.Get());
146 // Get invalid entry (from hole).
147 EXPECT_TRUE(irt.Get(iref1) == nullptr);
160 iref0 = irt.Add(cookie, obj0.Get());
162 iref1 = irt.Add(cookie, obj1.Get());
164 iref2 = irt.Add(cookie, obj2.Get());
166 IndirectRef iref3 = irt.Add(cookie, obj3.Get());
173 iref1 = irt.Add(cookie, obj1.Get());
196 iref0 = irt.Add(cookie, obj0.Get());
201 iref1 = irt.Add(cookie, obj1.Get());
212 iref0 = irt.Add(cookie, obj0.Get());
217 iref1 = irt.Add(cookie, obj0.Get());
229 ASSERT_TRUE(irt.Get(nullptr) == nullptr);
232 iref0 = irt.Add(cookie, obj0.Get());
236 EXPECT_TRUE(irt.Get(iref0) == nullptr) << "stale lookup succeeded";
244 manyRefs[i] = irt.Add(cookie, obj0.Get());
249 iref0 = irt.Add(cookie, obj0.Get());
309 IndirectRef iref0 = irt.Add(cookie0, obj0.Get());
310 IndirectRef iref1 = irt.Add(cookie0, obj1.Get());
311 IndirectRef iref2 = irt.Add(cookie0, obj2.Get());
318 IndirectRef iref3 = irt.Add(cookie1, obj3.Get());
322 EXPECT_TRUE(irt.Get(iref1) == nullptr);
340 IndirectRef iref0 = irt.Add(cookie0, obj0.Get());
345 IndirectRef iref1 = irt.Add(cookie1, obj1.Get());
346 IndirectRef iref2 = irt.Add(cookie1, obj2.Get());
347 IndirectRef iref3 = irt.Add(cookie1, obj3.Get());
354 IndirectRef iref4 = irt.Add(cookie1, obj4.Get());
357 EXPECT_TRUE(irt.Get(iref2) == nullptr);
376 IndirectRef iref0 = irt.Add(cookie0, obj0.Get());
381 IndirectRef iref1 = irt.Add(cookie1, obj1.Get());
382 IndirectRef iref2 = irt.Add(cookie1, obj2.Get());
389 IndirectRef iref3 = irt.Add(cookie2, obj3.Get());
394 IndirectRef iref4 = irt.Add(cookie1, obj4.Get());
397 EXPECT_TRUE(irt.Get(iref1) == nullptr);
415 IndirectRef iref0 = irt.Add(cookie0, obj0.Get());
420 IndirectRef iref1 = irt.Add(cookie1, obj1.Get());
426 IndirectRef iref2 = irt.Add(cookie1, obj1.Get());
427 IndirectRef iref3 = irt.Add(cookie1, obj2.Get());
428 IndirectRef iref4 = irt.Add(cookie1, obj3.Get());
436 IndirectRef iref5 = irt.Add(cookie1, obj4.Get());
439 EXPECT_TRUE(irt.Get(iref3) == nullptr);
458 IndirectRef iref0 = irt.Add(cookie0, obj0.Get());
463 IndirectRef iref1 = irt.Add(cookie1, obj1.Get());
464 IndirectRef iref2 = irt.Add(cookie1, obj1.Get());
465 IndirectRef iref3 = irt.Add(cookie1, obj2.Get());
476 IndirectRef iref4 = irt.Add(cookie1, obj3.Get());
479 EXPECT_TRUE(irt.Get(iref3) == nullptr);
507 irt.Add(cookie, obj0.Get());