Searched refs:ref1 (Results 1 – 4 of 4) sorted by relevance
/art/libartbase/base/ |
D | intrusive_forward_list_test.cc | 184 std::forward_list<int> ref1({ 2, 8, 5 }); in Assign() local 185 std::vector<ValueType> storage1(ref1.begin(), ref1.end()); in Assign() 188 ASSERT_LISTS_EQUAL(ref1, ifl); in Assign() 415 std::forward_list<int> ref1({ 1, 2, 7 }); in SwapClear() local 416 std::vector<ValueType> storage1(ref1.begin(), ref1.end()); in SwapClear() 421 ASSERT_LISTS_EQUAL(ref1, ifl1); in SwapClear() 423 ref1.swap(ref2); in SwapClear() 425 ASSERT_LISTS_EQUAL(ref1, ifl1); in SwapClear() 427 ref1.clear(); in SwapClear() 429 ASSERT_LISTS_EQUAL(ref1, ifl1); in SwapClear() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 43 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local 44 ASSERT_TRUE(ref1 != nullptr); in TEST_F() 47 queue.EnqueueReference(ref1.Get()); in TEST_F() 54 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 82 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() local 83 ASSERT_TRUE(ref1 != nullptr); in TEST_F() 87 queue.EnqueueReference(ref1.Get()); in TEST_F()
|
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher_test.cc | 144 MethodReference ref1(dex_file, 1u); in TEST_F() local 146 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 151 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 155 patcher_.SetOffset(ref1, off1); in TEST_F() 156 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F() 161 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 166 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 171 EXPECT_EQ(off1 + adjustment1 - adjustment3, patcher_.GetOffset(ref1)); in TEST_F() 177 MethodReference ref1(dex_file, 1u); in TEST_F() local 186 uint32_t method1_offset_check = patcher_.ReserveSpace(method1_offset, method, ref1); in TEST_F() [all …]
|
/art/runtime/jni/ |
D | check_jni.cc | 2120 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()
|