Searched refs:obj2 (Results 1 - 13 of 13) sorted by relevance

/art/runtime/
H A Djobject_comparator.cc36 Handle<mirror::Object> obj2(hs.NewHandle(soa.Decode<mirror::Object>(jobj2)));
39 } else if (obj2 == nullptr) {
43 if (obj1->GetClass() != obj2->GetClass()) {
44 return obj1->GetClass()->IdentityHashCode() < obj2->GetClass()->IdentityHashCode();
48 const size_t count2 = obj2->SizeOf();
53 return obj1->IdentityHashCode() < obj2->IdentityHashCode();
H A Dindirect_reference_table_test.cc70 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); local
71 ASSERT_TRUE(obj2 != nullptr);
89 IndirectRef iref2 = irt.Add(cookie, obj2.Get(), &error_msg);
95 EXPECT_OBJ_PTR_EQ(obj2.Get(), irt.Get(iref2));
115 iref2 = irt.Add(cookie, obj2.Get(), &error_msg);
135 iref2 = irt.Add(cookie, obj2.Get(), &error_msg);
164 iref2 = irt.Add(cookie, obj2.Get(), &error_msg);
288 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); local
289 ASSERT_TRUE(obj2 != nullptr);
311 IndirectRef iref2 = irt.Add(cookie0, obj2
[all...]
H A Dreference_table.cc134 // we are guaranteed that the addresses of obj1, obj2, obj1->GetClass, obj2->GetClass wont
137 ObjPtr<mirror::Object> obj2 = root2.Read<kWithoutReadBarrier>(); local
139 DCHECK(obj2 != nullptr);
142 DCHECK(!runtime->IsClearedJniWeakGlobal(obj2));
144 if (obj1->GetClass() != obj2->GetClass()) {
145 return obj1->GetClass() < obj2->GetClass();
149 const size_t size2 = obj2->SizeOf();
154 return obj1.Ptr() < obj2.Ptr();
H A Djni_internal.cc696 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { argument
697 if (obj1 == obj2) {
701 return (soa.Decode<mirror::Object>(obj1) == soa.Decode<mirror::Object>(obj2))
/art/test/088-monitor-verification/src/
H A DTwoPath.java33 public static void twoPath(Object obj1, Object obj2, int x) { argument
39 synchronized(obj2) {
41 localObj = obj2;
H A DMain.java68 Object obj2 = new Object();
70 TwoPath.twoPath(obj1, obj2, 0);
73 m.triplet(obj1, obj2, 0);
207 public void triplet(Object obj1, Object obj2, int x) { argument
214 localObj = obj2;
/art/test/530-checker-lse/src/
H A DMain.java110 static int test1(TestClass obj1, TestClass obj2) { argument
112 obj2.j = 2;
113 return obj1.i + obj2.j;
159 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist.
160 obj.next = obj2; // Make obj2 a non-singleton.
161 // All stores below need to stay since obj/obj1/obj2 are not singletons.
165 obj2.i = 3;
166 obj2.j = 4;
167 return obj.i + obj1.j + obj2
231 test6(TestClass obj1, TestClass obj2, boolean b) argument
347 test12(TestClass obj1, TestClass obj2) argument
370 test13(TestClass obj1, TestClass2 obj2) argument
387 test14(TestClass obj1, SubTestClass obj2) argument
838 testStoreStore5(TestClass2 obj1, TestClass2 obj2) argument
855 testStoreStore6(TestClass2 obj1, TestClass2 obj2) argument
[all...]
/art/test/537-checker-arraycopy/src/
H A DMain.java94 public static int arraycopy3(Object[] obj1, Object[] obj2, int input1, int input3, int input4) { argument
95 System.arraycopy(obj1, input1, obj2, input3, input4);
97 System.out.println(obj2);
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc200 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); local
201 ASSERT_TRUE(obj2 != nullptr);
207 obj1->Set(0, obj2);
208 obj2->Set(0, obj3);
217 obj2->Set(3, other_space_ref2);
227 // obj1, obj2 cards should still be in mod union table since they have references to other
230 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj2)));
/art/test/412-new-array/src/
H A DMain.java108 Object obj2 = new Object();
109 Object[] i = {obj1, obj2};
112 assertEquals(obj2, i[1]);
/art/test/MyClassNatives/
H A DMyClassNatives.java63 static native int getText(long val1, Object obj1, long val2, Object obj2); argument
197 static native int getText_Fast(long val1, Object obj1, long val2, Object obj2); argument
/art/runtime/arch/
H A Dstub_test.cc621 Handle<mirror::String> obj2(hs.NewHandle(
624 obj2->IdentityHashCode();
626 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self);
628 LockWord lock_after2 = obj2->GetLockWord(false);
/art/compiler/jni/
H A Djni_compiler_test.cc1299 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { argument
1302 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj2));

Completed in 101 milliseconds