Home
last modified time | relevance | path

Searched refs:obj1 (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
113 obj1.i = 1; in test1()
115 return obj1.i + obj2.j; in test1()
160 TestClass obj1 = TestClass.sTestClassObj; in test3() local
165 obj1.j = 2; 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
189 obj1.i = 1; in test6()
190 obj1.j = 2; in test6()
194 return obj1.j + obj2.j; in test6()
[all …]
/art/test/088-monitor-verification/src/
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()
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()
/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()
115 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
135 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
164 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
175 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
203 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
289 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/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/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.java63 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText() argument
195 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.cc730 static jboolean IsSameObject(JNIEnv* env, jobject obj1, jobject obj2) { in IsSameObject() argument
731 if (obj1 == obj2) { in IsSameObject()
735 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()
1301 EXPECT_TRUE(env->IsSameObject(JniCompilerTest::jobj_, obj1)); in JNI_TEST()