Searched defs:obj1 (Results 1 - 9 of 9) sorted by relevance
/art/test/088-monitor-verification/src/ |
H A D | TwoPath.java | 33 public static void twoPath(Object obj1, Object obj2, int x) { argument 38 synchronized (obj1) { 43 localObj = obj1;
|
H A D | Main.java | 56 Object obj1 = new Object(); 59 TwoPath.twoPath(obj1, obj2, 0); 62 m.triplet(obj1, obj2, 0); 196 public void triplet(Object obj1, Object obj2, int x) { argument 199 synchronized (obj1) { 200 synchronized(obj1) { 202 synchronized(obj1) { 206 localObj = obj1;
|
/art/runtime/ |
H A D | indirect_reference_table_test.cc | 59 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 D | reference_table.cc | 127 // 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 D | jni_internal.cc | 572 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { argument 573 if (obj1 == obj2) { 577 return (soa.Decode<mirror::Object*>(obj1) == soa.Decode<mirror::Object*>(obj2))
|
/art/runtime/gc/accounting/ |
H A D | mod_union_table_test.cc | 197 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); local 198 ASSERT_TRUE(obj1 != nullptr); 206 obj1->Set(0, obj2); 209 obj4->Set(0, obj1); 215 obj1->Set(1, other_space_ref1); 226 // obj1, obj2 cards should still be in mod union table since they have references to other 228 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1)));
|
/art/test/530-checker-lse/src/ |
H A D | Main.java | 102 static int test1(TestClass obj1, TestClass obj2) { argument 103 obj1.i = 1; 105 return obj1.i + obj2.j; 155 TestClass obj1 = TestClass.sTestClassObj; 156 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist. 158 // All stores below need to stay since obj/obj1/obj2 are not singletons. 160 obj1.j = 2; 161 // Following stores won't kill values of obj.i and obj1.j. 164 return obj.i + obj1.j + obj2.i + obj2.j; 228 static int test6(TestClass obj1, TestClas argument 344 test12(TestClass obj1, TestClass obj2) argument 367 test13(TestClass obj1, TestClass2 obj2) argument 384 test14(TestClass obj1, SubTestClass obj2) argument [all...] |
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 880 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { argument 882 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1));
|
/art/test/MyClassNatives/ |
H A D | MyClassNatives.java | 35 static native int getText(long val1, Object obj1, long val2, Object obj2); argument
|
Completed in 268 milliseconds