Home
last modified time | relevance | path

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

/art/test/088-monitor-verification/src/
DTwoPath.java33 public static void twoPath(Object obj1, Object obj2, int x) { in twoPath() argument
39 synchronized(obj2) { in twoPath()
41 localObj = obj2; in twoPath()
DMain.java68 Object obj2 = 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
214 localObj = obj2; in triplet()
/art/test/537-checker-arraycopy/src/
DMain.java94 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()
97 System.out.println(obj2); in arraycopy3()
/art/runtime/
Dindirect_reference_table_test.cc72 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local
73 ASSERT_TRUE(obj2 != nullptr); in TEST_F()
91 IndirectRef iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
97 EXPECT_OBJ_PTR_EQ(obj2.Get(), irt.Get(iref2)); in TEST_F()
118 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
138 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
167 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
289 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local
290 ASSERT_TRUE(obj2 != nullptr); in TEST_F()
312 IndirectRef iref2 = irt.Add(cookie0, obj2.Get(), &error_msg); in TEST_F()
[all …]
Dreference_table.cc137 ObjPtr<mirror::Object> obj2 = root2.Read<kWithoutReadBarrier>(); in Dump() local
139 DCHECK(obj2 != nullptr); in Dump()
142 DCHECK(!runtime->IsClearedJniWeakGlobal(obj2)); in Dump()
144 if (obj1->GetClass() != obj2->GetClass()) { in Dump()
145 return obj1->GetClass() < obj2->GetClass(); in Dump()
149 const size_t size2 = obj2->SizeOf(); in Dump()
154 return obj1.Ptr() < obj2.Ptr(); in Dump()
/art/test/530-checker-lse/src/
DMain.java145 static int test1(TestClass obj1, TestClass obj2) { in test1() argument
147 obj2.j = 2; in test1()
148 return obj1.i + obj2.j; in test1()
197 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist. in test3() local
198 obj.next = obj2; // Make obj2 a non-singleton. in test3()
203 obj2.i = 3; in test3()
204 obj2.j = 4; in test3()
205 return obj.i + obj1.j + obj2.i + obj2.j; in test3()
288 static int test6(TestClass obj1, TestClass obj2, boolean b) { in test6() argument
292 obj2.j = 2; in test6()
[all …]
/art/runtime/gc/accounting/
Dmod_union_table_test.cc201 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() local
202 ASSERT_TRUE(obj2 != nullptr); in RunTest()
208 obj1->Set(0, obj2); in RunTest()
209 obj2->Set(0, obj3); in RunTest()
218 obj2->Set(3, other_space_ref2); in RunTest()
231 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj2))); in RunTest()
/art/compiler/optimizing/
Dinstruction_simplifier_test.cc346 HInstruction* obj2 = MakeNewInstance(cls); in TEST_F() local
348 right->AddInstruction(obj2); in TEST_F()
352 HPhi* obj_phi = MakePhi({obj1, obj2}); in TEST_F()
381 EXPECT_FALSE(obj2->CanBeNull()); in TEST_F()
/art/test/412-new-array/src/
DMain.java108 Object obj2 = new Object(); in $opt$TestWithInitializations() local
109 Object[] i = {obj1, obj2}; in $opt$TestWithInitializations()
112 assertEquals(obj2, i[1]); in $opt$TestWithInitializations()
/art/test/MyClassNatives/
DMyClassNatives.java62 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText() argument
190 static native int getText_Fast(long val1, Object obj1, long val2, Object obj2); in getText_Fast() argument
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc79 …onst char* c1, jobject obj2, jint i1, const unsigned char* c2, jint* ip1, unsigned char** cp1), (j…
/art/runtime/arch/
Dstub_test.cc492 Handle<mirror::String> obj2(hs.NewHandle( in TEST_F() local
495 obj2->IdentityHashCode(); in TEST_F()
497 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F()
499 LockWord lock_after2 = obj2->GetLockWord(false); in TEST_F()
/art/runtime/jni/
Djni_internal.cc828 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() argument
829 if (obj1 == obj2) { in IsSameObject()
833 return (soa.Decode<mirror::Object>(obj1) == soa.Decode<mirror::Object>(obj2)) in IsSameObject()
/art/compiler/jni/
Djni_compiler_test.cc1394 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { in JNI_TEST()
1397 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj2)); in JNI_TEST()