Searched refs:ref1 (Results 1 – 4 of 4) sorted by relevance
/art/compiler/utils/ |
D | intrusive_forward_list_test.cc | 83 std::forward_list<int> ref1({ 2, 8, 5 }); in TEST() local 84 std::vector<IFLTestValue> storage1(ref1.begin(), ref1.end()); in TEST() 87 ASSERT_LISTS_EQUAL(ref1, ifl); in TEST() 266 std::forward_list<int> ref1({ 1, 2, 7 }); in TEST() local 267 std::vector<IFLTestValue> storage1(ref1.begin(), ref1.end()); in TEST() 272 ASSERT_LISTS_EQUAL(ref1, ifl1); in TEST() 274 ref1.swap(ref2); in TEST() 276 ASSERT_LISTS_EQUAL(ref1, ifl1); in TEST() 278 ref1.clear(); in TEST() 280 ASSERT_LISTS_EQUAL(ref1, ifl1); in TEST() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 40 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local 41 ASSERT_TRUE(ref1.Get() != nullptr); in TEST_F() 44 queue.EnqueueReference(ref1.Get()); in TEST_F() 51 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 77 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() local 78 ASSERT_TRUE(ref1.Get() != nullptr); in TEST_F() 81 queue.EnqueueReference(ref1.Get()); in TEST_F()
|
/art/compiler/linker/ |
D | multi_oat_relative_patcher_test.cc | 127 MethodReference ref1(dex_file, 1u); in TEST_F() local 129 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 134 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 138 patcher_.SetOffset(ref1, off1); in TEST_F() 139 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F() 144 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 149 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 154 EXPECT_EQ(off1 + adjustment1 - adjustment3, patcher_.GetOffset(ref1)); in TEST_F() 160 MethodReference ref1(dex_file, 1u); in TEST_F() local 169 uint32_t method1_offset_check = patcher_.ReserveSpace(method1_offset, method, ref1); 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()
|