Home
last modified time | relevance | path

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

/art/test/088-monitor-verification/src/
DMain.java67 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()
DTwoPath.java33 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/
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()
96 System.out.println(obj1); in arraycopy3()
/art/runtime/
Dindirect_reference_table_test.cc70 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local
71 ASSERT_TRUE(obj1 != nullptr); in TEST_F()
88 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
96 EXPECT_OBJ_PTR_EQ(obj1.Get(), irt.Get(iref1)); in TEST_F()
116 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
136 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
165 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
176 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
204 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
287 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() local
[all …]
Dreference_table.cc136 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()
Dmonitor_test.cc353 Handle<mirror::Object> obj1( in TEST_F() local
356 ObjectLock<mirror::Object> lock1(self, obj1); in TEST_F()
358 ObjectTryLock<mirror::Object> trylock(self, obj1); in TEST_F()
362 thread_pool.AddTask(self, new TryLockTask(obj1)); in TEST_F()
369 ObjectTryLock<mirror::Object> trylock(self, obj1); in TEST_F()
371 obj1->Notify(self); in TEST_F()
/art/test/530-checker-lse/src/
DMain.java145 static int test1(TestClass obj1, TestClass obj2) { in test1() argument
146 obj1.i = 1; in test1()
148 return obj1.i + obj2.j; in test1()
196 TestClass obj1 = TestClass.sTestClassObj; in test3() local
201 obj1.j = 2; 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
289 obj1.i = 1; in test6()
290 obj1.j = 2; in test6()
294 return obj1.j + obj2.j; in test6()
[all …]
/art/runtime/gc/accounting/
Dmod_union_table_test.cc199 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() local
200 ASSERT_TRUE(obj1 != nullptr); in RunTest()
208 obj1->Set(0, obj2); in RunTest()
211 obj4->Set(0, obj1); in RunTest()
217 obj1->Set(1, other_space_ref1); in RunTest()
230 ASSERT_TRUE(table->ContainsCardFor(reinterpret_cast<uintptr_t>(obj1))); in RunTest()
/art/compiler/optimizing/
Dinstruction_simplifier_test.cc341 HInstruction* obj1 = MakeNewInstance(cls); in TEST_F() local
343 left->AddInstruction(obj1); in TEST_F()
352 HPhi* obj_phi = MakePhi({obj1, obj2}); in TEST_F()
380 EXPECT_FALSE(obj1->CanBeNull()); in TEST_F()
/art/test/412-new-array/src/
DMain.java107 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/
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 …ass, jobject obj1, const char* c1, jobject obj2, jint i1, const unsigned char* c2, jint* ip1, unsi…
/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()
1396 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1)); in JNI_TEST()