Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 – 5 of 5) 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.cc50 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local
51 ASSERT_TRUE(ref2 != nullptr); in TEST_F()
55 queue.EnqueueReference(ref2.Get()); in TEST_F()
59 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F()
89 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F() local
90 ASSERT_TRUE(ref2 != nullptr); in TEST_F()
97 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.cc2178 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() argument
2182 JniValueType args[3] = {{.E = env}, {.L = ref1}, {.L = ref2}}; in IsSameObject()
2185 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3170 Ljava/lang/reflect/Proxy$Key2;->ref2:Ljava/lang/ref/WeakReference;