Home
last modified time | relevance | path

Searched refs:iref2 (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc92 IndirectRef iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F() local
93 EXPECT_TRUE(iref2 != nullptr); in TEST_F()
98 EXPECT_OBJ_PTR_EQ(obj2.Get(), irt.Get(iref2)); in TEST_F()
104 EXPECT_TRUE(irt.Remove(iref2)); in TEST_F()
119 iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F()
120 EXPECT_TRUE(iref2 != nullptr); in TEST_F()
123 ASSERT_TRUE(irt.Remove(iref2)); in TEST_F()
139 iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F()
140 EXPECT_TRUE(iref2 != nullptr); in TEST_F()
153 ASSERT_TRUE(irt.Remove(iref2)); in TEST_F()
[all …]
/art/runtime/jni/
Dlocal_reference_table_test.cc102 IndirectRef iref2 = lrt.Add(obj2.Get(), &error_msg); in BasicTest() local
103 EXPECT_TRUE(iref2 != nullptr); in BasicTest()
108 EXPECT_OBJ_PTR_EQ(obj2.Get(), lrt.Get(iref2)); in BasicTest()
114 EXPECT_TRUE(lrt.Remove(iref2)); in BasicTest()
129 iref2 = lrt.Add(obj2.Get(), &error_msg); in BasicTest()
130 EXPECT_TRUE(iref2 != nullptr); in BasicTest()
133 ASSERT_TRUE(lrt.Remove(iref2)); in BasicTest()
149 iref2 = lrt.Add(obj2.Get(), &error_msg); in BasicTest()
150 EXPECT_TRUE(iref2 != nullptr); in BasicTest()
165 ASSERT_TRUE(lrt.Remove(iref2)); in BasicTest()
[all …]