Home
last modified time | relevance | path

Searched refs:obj2 (Results 1 – 8 of 8) sorted by relevance

/art/test/088-monitor-verification/src/
DMain.java51 Object obj2 = new Object(); in main() local
53 m.twoPath(obj1, obj2, 0); in main()
56 m.triplet(obj1, obj2, 0); in main()
182 public void twoPath(Object obj1, Object obj2, int x) { in twoPath() argument
186 synchronized(obj2) { in twoPath()
188 localObj = obj2; in twoPath()
202 public void triplet(Object obj1, Object obj2, int x) { in triplet() argument
209 localObj = obj2; in triplet()
/art/runtime/
Djobject_comparator.cc35 mirror::Object* obj2 = soa.Decode<mirror::Object*>(jobj2); in operator ()() local
38 } else if (obj2 == NULL) { in operator ()()
42 if (obj1->GetClass() != obj2->GetClass()) { in operator ()()
43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
47 size_t count2 = obj2->SizeOf(); in operator ()()
52 return obj1->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
Dreference_table.cc77 mirror::Object* obj2 = root2.Read<kWithoutReadBarrier>(); in operator ()() local
81 } else if (obj2 == NULL) { in operator ()()
86 } else if (obj2 == kClearedJniWeakGlobal) { in operator ()()
91 if (obj1->GetClass() != obj2->GetClass()) { in operator ()()
92 return obj1->GetClass()->IdentityHashCode() < obj2->GetClass()->IdentityHashCode(); in operator ()()
96 size_t count2 = obj2->SizeOf(); in operator ()()
101 return obj1->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
Dindirect_reference_table_test.cc57 mirror::Object* obj2 = c->AllocObject(soa.Self()); in TEST_F() local
58 ASSERT_TRUE(obj2 != NULL); in TEST_F()
76 IndirectRef iref2 = irt.Add(cookie, obj2); in TEST_F()
82 EXPECT_EQ(obj2, irt.Get(iref2)); in TEST_F()
102 iref2 = irt.Add(cookie, obj2); in TEST_F()
122 iref2 = irt.Add(cookie, obj2); in TEST_F()
151 iref2 = irt.Add(cookie, obj2); in TEST_F()
Djni_internal.cc865 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() argument
866 if (obj1 == obj2) { in IsSameObject()
870 return (soa.Decode<mirror::Object*>(obj1) == soa.Decode<mirror::Object*>(obj2)) in IsSameObject()
/art/runtime/arch/
Dstub_test.cc637 Handle<mirror::String> obj2(hs.NewHandle( in TEST_F() local
640 obj2->IdentityHashCode(); in TEST_F()
642 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F()
644 LockWord lock_after2 = obj2->GetLockWord(false); in TEST_F()
/art/test/MyClassNatives/
DMyClassNatives.java35 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText() argument
/art/compiler/jni/
Djni_compiler_test.cc906 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { in JNI_TEST()
909 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj2)); in JNI_TEST()