Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 – 4 of 4) sorted by relevance

/art/libartbase/base/
Dintrusive_forward_list_test.cc189 std::forward_list<int> ref2({ 7, 1, 3 }); in Assign() local
190 std::vector<ValueType> storage2(ref2.begin(), ref2.end()); in Assign()
192 ASSERT_LISTS_EQUAL(ref2, ifl); in Assign()
418 std::forward_list<int> ref2({ 3, 8, 6 }); in SwapClear() local
419 std::vector<ValueType> storage2(ref2.begin(), ref2.end()); in SwapClear()
422 ASSERT_LISTS_EQUAL(ref2, ifl2); in SwapClear()
423 ref1.swap(ref2); in SwapClear()
426 ASSERT_LISTS_EQUAL(ref2, ifl2); in SwapClear()
430 ASSERT_LISTS_EQUAL(ref2, ifl2); in SwapClear()
431 swap(ref1, ref2); in SwapClear()
[all …]
/art/runtime/gc/
Dreference_queue_test.cc45 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local
46 ASSERT_TRUE(ref2 != nullptr); in TEST_F()
50 queue.EnqueueReference(ref2.Get()); in TEST_F()
54 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F()
84 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F() local
85 ASSERT_TRUE(ref2 != nullptr); in TEST_F()
92 queue.EnqueueReference(ref2.Get()); in TEST_F()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc145 MethodReference ref2(dex_file, 2u); in TEST_F() local
147 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
152 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
157 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
162 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
165 patcher_.SetOffset(ref2, off2); in TEST_F()
167 EXPECT_EQ(off2, patcher_.GetOffset(ref2)); in TEST_F()
172 EXPECT_EQ(off2 + adjustment2 - adjustment3, patcher_.GetOffset(ref2)); in TEST_F()
178 MethodReference ref2(dex_file, 2u); in TEST_F() local
194 uint32_t method2_offset_adjusted = patcher_.ReserveSpace(method2_offset, method, ref2); in TEST_F()
[all …]
/art/runtime/jni/
Dcheck_jni.cc2120 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() argument
2124 JniValueType args[3] = {{.E = env}, {.L = ref1}, {.L = ref2}}; in IsSameObject()
2127 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()