Searched defs:obj1 (Results 1 - 7 of 7) sorted by relevance

/art/runtime/
H A Dindirect_reference_table_test.cc59 mirror::Object* obj1 = c->AllocObject(soa.Self()); local
60 ASSERT_TRUE(obj1 != nullptr);
77 IndirectRef iref1 = irt.Add(cookie, obj1);
85 EXPECT_EQ(obj1, irt.Get(iref1));
104 iref1 = irt.Add(cookie, obj1);
124 iref1 = irt.Add(cookie, obj1);
153 iref1 = irt.Add(cookie, obj1);
164 iref1 = irt.Add(cookie, obj1);
192 iref1 = irt.Add(cookie, obj1);
H A Dreference_table.cc127 // we are guaranteed that the addresses of obj1, obj2, obj1->GetClass, obj2->GetClass wont
129 mirror::Object* obj1 = root1.Read<kWithoutReadBarrier>(); local
131 DCHECK(obj1 != nullptr);
134 DCHECK(!runtime->IsClearedJniWeakGlobal(obj1));
137 if (obj1->GetClass() != obj2->GetClass()) {
138 return obj1->GetClass() < obj2->GetClass();
141 const size_t size1 = obj1->SizeOf();
147 return obj1 < obj2;
H A Djni_internal.cc577 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { argument
578 if (obj1 == obj2) {
582 return (soa.Decode<mirror::Object*>(obj1) == soa.Decode<mirror::Object*>(obj2))
/art/test/088-monitor-verification/src/
H A DMain.java50 Object obj1 = new Object();
53 m.twoPath(obj1, obj2, 0);
56 m.triplet(obj1, obj2, 0);
182 public void twoPath(Object obj1, Object obj2, int x) { argument
185 synchronized (obj1) {
190 localObj = obj1;
202 public void triplet(Object obj1, Object obj2, int x) { argument
205 synchronized (obj1) {
206 synchronized(obj1) {
208 synchronized(obj1) {
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc180 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); local
181 ASSERT_TRUE(obj1 != nullptr);
189 obj1->Set(0, obj2);
192 obj4->Set(0, obj1);
198 obj1->Set(1, other_space_ref1);
208 // obj1, obj2 cards should still be in mod union table since they have references to other
210 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1)));
/art/compiler/jni/
H A Djni_compiler_test.cc869 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { argument
871 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1));
/art/test/MyClassNatives/
H A DMyClassNatives.java35 static native int getText(long val1, Object obj1, long val2, Object obj2); argument

Completed in 173 milliseconds