Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dintrusive_forward_list_test.cc184 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/
Dreference_queue_test.cc48 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() local
49 ASSERT_TRUE(ref1 != nullptr); in TEST_F()
52 queue.EnqueueReference(ref1.Get()); in TEST_F()
59 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F()
87 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() local
88 ASSERT_TRUE(ref1 != nullptr); in TEST_F()
92 queue.EnqueueReference(ref1.Get()); in TEST_F()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc144 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/
Dlocal_reference_table_test.cc798 IndirectRef ref1 = lrt.Add(c, &error_msg); in TEST_F() local
799 ASSERT_TRUE(ref1 != nullptr); in TEST_F()
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()