Home
last modified time | relevance | path

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

/art/test/530-checker-lse/src/
DMain.java112 static int test1(TestClass obj1, TestClass obj2) { in test1() argument
114 obj2.j = 2; in test1()
115 return obj1.i + obj2.j; in test1()
161 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist. in test3() local
162 obj.next = obj2; // Make obj2 a non-singleton. in test3()
167 obj2.i = 3; in test3()
168 obj2.j = 4; in test3()
169 return obj.i + obj1.j + obj2.i + obj2.j; in test3()
188 static int test6(TestClass obj1, TestClass obj2, boolean b) { in test6() argument
192 obj2.j = 2; in test6()
[all …]
/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()
117 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
137 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
166 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
291 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local
292 ASSERT_TRUE(obj2 != nullptr); in TEST_F()
314 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/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/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.java63 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/tools/jvmti-agents/ti-fast/
Dtifast.cc85 …onst char* c1, jobject obj2, jint i1, const unsigned char* c2, jint* ip1, unsigned char** cp1), (j…
/art/runtime/arch/
Dstub_test.cc624 Handle<mirror::String> obj2(hs.NewHandle( in TEST_F() local
627 obj2->IdentityHashCode(); in TEST_F()
629 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F()
631 LockWord lock_after2 = obj2->GetLockWord(false); in TEST_F()
/art/runtime/jni/
Djni_internal.cc891 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() argument
892 if (obj1 == obj2) { in IsSameObject()
896 return (soa.Decode<mirror::Object>(obj1) == soa.Decode<mirror::Object>(obj2)) in IsSameObject()
/art/compiler/jni/
Djni_compiler_test.cc1299 jint my_gettext(JNIEnv* env, jclass klass, jlong val1, jobject obj1, jlong val2, jobject obj2) { in JNI_TEST()
1302 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj2)); in JNI_TEST()