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 | 42 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local 43 ASSERT_TRUE(ref1 != nullptr); in TEST_F() 46 queue.EnqueueReference(ref1.Get()); in TEST_F() 53 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 81 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() local 82 ASSERT_TRUE(ref1 != nullptr); in TEST_F() 86 queue.EnqueueReference(ref1.Get()); in TEST_F()
|
/art/compiler/linker/ |
D | multi_oat_relative_patcher_test.cc | 133 MethodReference ref1(dex_file, 1u); in TEST_F() local 135 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 140 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F() 144 patcher_.SetOffset(ref1, off1); in TEST_F() 145 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F() 150 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 155 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F() 160 EXPECT_EQ(off1 + adjustment1 - adjustment3, patcher_.GetOffset(ref1)); in TEST_F() 166 MethodReference ref1(dex_file, 1u); in TEST_F() local 175 uint32_t method1_offset_check = patcher_.ReserveSpace(method1_offset, method, ref1); in TEST_F() [all …]
|
/art/runtime/ |
D | check_jni.cc | 1976 static jboolean IsSameObject(JNIEnv* env, jobject ref1, jobject ref2) { in IsSameObject() argument 1979 JniValueType args[3] = {{.E = env}, {.L = ref1}, {.L = ref2}}; in IsSameObject() 1982 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
|