/art/runtime/ |
D | jobject_comparator.cc | 35 Handle<mirror::Object> obj1(hs.NewHandle(soa.Decode<mirror::Object>(jobj1))); in operator ()() local 37 if (obj1 == nullptr) { in operator ()() 43 if (obj1->GetClass() != obj2->GetClass()) { in operator ()() 44 return obj1->GetClass()->IdentityHashCode() < obj2->GetClass()->IdentityHashCode(); in operator ()() 47 const size_t count1 = obj1->SizeOf(); in operator ()() 53 return obj1->IdentityHashCode() < obj2->IdentityHashCode(); in operator ()()
|
D | indirect_reference_table_test.cc | 68 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local 69 ASSERT_TRUE(obj1 != nullptr); in TEST_F() 86 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 94 EXPECT_OBJ_PTR_EQ(obj1.Get(), irt.Get(iref1)); in TEST_F() 113 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 133 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 162 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 173 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 201 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 286 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local [all …]
|
D | monitor_test.cc | 352 Handle<mirror::Object> obj1( in TEST_F() local 355 ObjectLock<mirror::Object> lock1(self, obj1); in TEST_F() 357 ObjectTryLock<mirror::Object> trylock(self, obj1); in TEST_F() 361 thread_pool.AddTask(self, new TryLockTask(obj1)); in TEST_F() 368 ObjectTryLock<mirror::Object> trylock(self, obj1); in TEST_F() 370 obj1->Notify(self); in TEST_F()
|
D | reference_table.cc | 136 ObjPtr<mirror::Object> obj1 = root1.Read<kWithoutReadBarrier>(); in Dump() local 138 DCHECK(obj1 != nullptr); in Dump() 141 DCHECK(!runtime->IsClearedJniWeakGlobal(obj1)); in Dump() 144 if (obj1->GetClass() != obj2->GetClass()) { in Dump() 145 return obj1->GetClass() < obj2->GetClass(); in Dump() 148 const size_t size1 = obj1->SizeOf(); in Dump() 154 return obj1.Ptr() < obj2.Ptr(); in Dump()
|
D | jni_internal.cc | 696 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() argument 697 if (obj1 == obj2) { in IsSameObject() 701 return (soa.Decode<mirror::Object>(obj1) == soa.Decode<mirror::Object>(obj2)) in IsSameObject()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 110 static int test1(TestClass obj1, TestClass obj2) { in test1() argument 111 obj1.i = 1; in test1() 113 return obj1.i + obj2.j; in test1() 158 TestClass obj1 = TestClass.sTestClassObj; in test3() local 163 obj1.j = 2; in test3() 167 return obj.i + obj1.j + obj2.i + obj2.j; in test3() 231 static int test6(TestClass obj1, TestClass obj2, boolean b) { in test6() argument 232 obj1.i = 1; in test6() 233 obj1.j = 2; in test6() 237 return obj1.j + obj2.j; in test6() [all …]
|
/art/test/088-monitor-verification/src/ |
D | Main.java | 67 Object obj1 = new Object(); in main() local 70 TwoPath.twoPath(obj1, obj2, 0); in main() 73 m.triplet(obj1, obj2, 0); in main() 207 public void triplet(Object obj1, Object obj2, int x) { in triplet() argument 210 synchronized (obj1) { in triplet() 211 synchronized(obj1) { in triplet() 213 synchronized(obj1) { in triplet() 217 localObj = obj1; in triplet()
|
D | TwoPath.java | 33 public static void twoPath(Object obj1, Object obj2, int x) { in twoPath() argument 38 synchronized (obj1) { in twoPath() 43 localObj = obj1; in twoPath()
|
/art/test/537-checker-arraycopy/src/ |
D | Main.java | 94 public static int arraycopy3(Object[] obj1, Object[] obj2, int input1, int input3, int input4) { in arraycopy3() argument 95 System.arraycopy(obj1, input1, obj2, input3, input4); in arraycopy3() 96 System.out.println(obj1); in arraycopy3()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 198 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() local 199 ASSERT_TRUE(obj1 != nullptr); in RunTest() 207 obj1->Set(0, obj2); in RunTest() 210 obj4->Set(0, obj1); in RunTest() 216 obj1->Set(1, other_space_ref1); in RunTest() 229 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1))); in RunTest()
|
/art/test/412-new-array/src/ |
D | Main.java | 107 Object obj1 = new Object(); in $opt$TestWithInitializations() local 109 Object[] i = {obj1, obj2}; in $opt$TestWithInitializations() 111 assertEquals(obj1, i[0]); in $opt$TestWithInitializations()
|
/art/test/MyClassNatives/ |
D | MyClassNatives.java | 63 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText() argument 197 static native int getText_Fast(long val1, Object obj1, long val2, Object obj2); in getText_Fast() argument
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 1299 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { in JNI_TEST() 1301 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1)); in JNI_TEST()
|