Home
last modified time | relevance | path

Searched refs:obj1 (Results 1 – 7 of 7) sorted by relevance

/art/test/088-monitor-verification/src/
DMain.java50 Object obj1 = 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
185 synchronized (obj1) { in twoPath()
190 localObj = obj1; in twoPath()
202 public void triplet(Object obj1, Object obj2, int x) { in triplet() argument
205 synchronized (obj1) { in triplet()
206 synchronized(obj1) { in triplet()
208 synchronized(obj1) { in triplet()
[all …]
/art/runtime/
Djobject_comparator.cc34 mirror::Object* obj1 = soa.Decode<mirror::Object*>(jobj1); in operator ()() local
36 if (obj1 == NULL) { in operator ()()
42 if (obj1->GetClass() != obj2->GetClass()) { in operator ()()
43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
46 size_t count1 = obj1->SizeOf(); in operator ()()
52 return obj1->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
Dindirect_reference_table_test.cc55 mirror::Object* obj1 = c->AllocObject(soa.Self()); in TEST_F() local
56 ASSERT_TRUE(obj1 != NULL); in TEST_F()
73 IndirectRef iref1 = irt.Add(cookie, obj1); in TEST_F()
81 EXPECT_EQ(obj1, irt.Get(iref1)); in TEST_F()
100 iref1 = irt.Add(cookie, obj1); in TEST_F()
120 iref1 = irt.Add(cookie, obj1); in TEST_F()
149 iref1 = irt.Add(cookie, obj1); in TEST_F()
160 iref1 = irt.Add(cookie, obj1); in TEST_F()
188 iref1 = irt.Add(cookie, obj1); in TEST_F()
Dreference_table.cc76 mirror::Object* obj1 = root1.Read<kWithoutReadBarrier>(); in operator ()() local
79 if (obj1 == NULL) { in operator ()()
84 if (obj1 == kClearedJniWeakGlobal) { in operator ()()
91 if (obj1->GetClass() != obj2->GetClass()) { in operator ()()
92 return obj1->GetClass()->IdentityHashCode() < obj2->GetClass()->IdentityHashCode(); in operator ()()
95 size_t count1 = obj1->SizeOf(); in operator ()()
101 return obj1->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
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/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()
908 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1)); in JNI_TEST()