Searched refs:ref2 (Results 1 – 4 of 4) sorted by relevance
/art/compiler/utils/ |
D | intrusive_forward_list_test.cc | 88 std::forward_list<int> ref2({ 7, 1, 3 }); in TEST() local 89 std::vector<IFLTestValue> storage2(ref2.begin(), ref2.end()); in TEST() 91 ASSERT_LISTS_EQUAL(ref2, ifl); in TEST() 269 std::forward_list<int> ref2({ 3, 8, 6 }); in TEST() local 270 std::vector<IFLTestValue> storage2(ref2.begin(), ref2.end()); in TEST() 273 ASSERT_LISTS_EQUAL(ref2, ifl2); in TEST() 274 ref1.swap(ref2); in TEST() 277 ASSERT_LISTS_EQUAL(ref2, ifl2); in TEST() 281 ASSERT_LISTS_EQUAL(ref2, ifl2); in TEST() 282 swap(ref1, ref2); in TEST() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 42 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local 43 ASSERT_TRUE(ref2.Get() != nullptr); in TEST_F() 47 queue.EnqueueReference(ref2.Get()); in TEST_F() 51 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 79 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F() local 80 ASSERT_TRUE(ref2.Get() != nullptr); in TEST_F() 83 queue.EnqueueReference(ref2.Get()); in TEST_F()
|
/art/compiler/linker/ |
D | multi_oat_relative_patcher_test.cc | 128 MethodReference ref2(dex_file, 2u); in TEST_F() local 130 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F() 135 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F() 140 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F() 145 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F() 148 patcher_.SetOffset(ref2, off2); in TEST_F() 150 EXPECT_EQ(off2, patcher_.GetOffset(ref2)); in TEST_F() 155 EXPECT_EQ(off2 + adjustment2 - adjustment3, patcher_.GetOffset(ref2)); in TEST_F() 161 MethodReference ref2(dex_file, 2u); in TEST_F() local 177 uint32_t method2_offset_adjusted = patcher_.ReserveSpace(method2_offset, method, ref2); in TEST_F() [all …]
|
/art/runtime/ |
D | check_jni.cc | 1962 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() argument 1965 JniValueType args[3] = {{.E = env}, {.L = ref1}, {.L = ref2}}; in IsSameObject() 1968 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
|