Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table_test.cc82 IndirectRef iref0 = (IndirectRef) 0x11110; in TEST_F() local
83 EXPECT_FALSE(irt.Remove(iref0)) << "unexpectedly successful removal"; in TEST_F()
86 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F()
87 EXPECT_TRUE(iref0 != nullptr); in TEST_F()
96 EXPECT_OBJ_PTR_EQ(obj0.Get(), irt.Get(iref0)); in TEST_F()
100 EXPECT_TRUE(irt.Remove(iref0)); in TEST_F()
112 EXPECT_FALSE(irt.IsValidReference(iref0, &error_msg)); in TEST_F()
115 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F()
116 EXPECT_TRUE(iref0 != nullptr); in TEST_F()
127 ASSERT_TRUE(irt.Remove(iref0)); in TEST_F()
[all …]
/art/runtime/jni/
Dlocal_reference_table_test.cc96 IndirectRef iref0 = lrt.Add(obj0.Get(), &error_msg); in BasicTest() local
97 EXPECT_TRUE(iref0 != nullptr); in BasicTest()
106 EXPECT_OBJ_PTR_EQ(obj0.Get(), lrt.Get(iref0)); in BasicTest()
110 EXPECT_TRUE(lrt.Remove(iref0)); in BasicTest()
122 EXPECT_FALSE(lrt.IsValidReference(iref0, &error_msg)); in BasicTest()
125 iref0 = lrt.Add(obj0.Get(), &error_msg); in BasicTest()
126 EXPECT_TRUE(iref0 != nullptr); in BasicTest()
137 ASSERT_TRUE(lrt.Remove(iref0)); in BasicTest()
145 iref0 = lrt.Add(obj0.Get(), &error_msg); in BasicTest()
146 EXPECT_TRUE(iref0 != nullptr); in BasicTest()
[all …]