/art/test/2242-checker-lse-acquire-release-operations/src/ |
D | Main.java | 17 class TestClass { class 18 TestClass() {} in TestClass() method in TestClass 27 assertEquals(3, $noinline$testVolatileAccessesMustBeKept(new TestClass())); in main() 31 assertEquals(3, $noinline$testVolatileLoadDifferentFields(new TestClass(), new TestClass())); in main() 33 3, $noinline$testVolatileLoadDifferentFieldsBlocking(new TestClass(), new TestClass())); in main() 36 assertEquals(2, $noinline$testVolatileLoadRedundantStore(new TestClass())); in main() 37 assertEquals(2, $noinline$testVolatileLoadRedundantStoreBlocking(new TestClass())); in main() 38 assertEquals(2, $noinline$testVolatileLoadRedundantStoreBlockingOnlyLoad(new TestClass())); in main() 41 assertEquals(1, $noinline$testVolatileLoadSetAndMergeValues(new TestClass(), true)); in main() 42 assertEquals(2, $noinline$testVolatileLoadSetAndMergeValues(new TestClass(), false)); in main() [all …]
|
/art/test/530-checker-lse/src/ |
D | Main.java | 30 class TestClass { class 32 sTestClassObj = new TestClass(-1, -2); 34 TestClass() { in TestClass() method in TestClass 36 TestClass(int i, int j) { in TestClass() method in TestClass 43 TestClass next; 47 static TestClass sTestClassObj; 50 class SubTestClass extends TestClass { 110 static void $noinline$Escape(TestClass o) { in $noinline$Escape() 145 static int test1(TestClass obj1, TestClass obj2) { in test1() 163 static int test2(TestClass obj) { in test2() [all …]
|
/art/test/1963-add-to-dex-classloader-in-memory/ |
D | expected-stdout.txt | 3 Hello from TestClass sayHi function 4 Goodbye from TestClass! 6 -- Redefine the TestClass 7 -- call TestClass again, now with NewClass refs 8 Hello again from TestClass sayHi function 10 Goodbye again from TestClass! 13 Hello from TestClass sayHi function 14 Goodbye from TestClass! 15 -- Redefine the TestClass 16 -- call TestClass again, now with NewClass refs [all …]
|
/art/test/1964-add-to-dex-classloader-file/ |
D | expected-stdout.txt | 3 Hello from TestClass sayHi function 4 Goodbye from TestClass! 6 -- Redefine the TestClass 7 -- call TestClass again, now with NewClass refs 8 Hello again from TestClass sayHi function 14 public static void foobar.TestClass.sayHi()(line: 5) 17 Hello from TestClass sayHi function 18 Goodbye from TestClass! 19 -- Redefine the TestClass 20 -- call TestClass again, now with NewClass refs [all …]
|
/art/test/647-jni-get-field-id/src/ |
D | Main.java | 24 testGetFieldId(TestClass.class, "intField", ""); in main() 25 testGetFieldId(TestClass.class, "intField", "I"); in main() 26 testGetFieldId(TestClass.class, "intField", "int"); in main() 27 testGetFieldId(TestClass.class, "intField", "Lint;"); in main() 28 testGetFieldId(TestClass.class, "stringField", "I"); in main() 29 testGetFieldId(TestClass.class, "stringField", "Ljava/lang/String;"); in main() 30 testGetFieldId(TestClass.class, "stringField", "java/lang/String"); in main() 31 testGetFieldId(TestClass.class, "stringField", "Ljava.lang.String;"); in main() 32 testGetFieldId(TestClass.class, "stringField", "java.lang.String"); in main() 53 get.invoke(null, TestClass.class, "bogus", signature); in testClassLoading() [all …]
|
/art/test/647-jni-get-field-id/ |
D | expected-stdout.txt | 2 getFieldId(class TestClass, "intField", "") 4 getFieldId(class TestClass, "intField", "I") 6 getFieldId(class TestClass, "intField", "int") 9 getFieldId(class TestClass, "intField", "Lint;") 12 getFieldId(class TestClass, "stringField", "I") 14 getFieldId(class TestClass, "stringField", "Ljava/lang/String;") 16 getFieldId(class TestClass, "stringField", "java/lang/String") 19 getFieldId(class TestClass, "stringField", "Ljava.lang.String;") 22 getFieldId(class TestClass, "stringField", "java.lang.String")
|
/art/libartbase/base/ |
D | logging_test.cc | 43 class TestClass { class 47 DEFINE_RUNTIME_DEBUG_FLAG(TestClass, kFlag); 52 EXPECT_TRUE(TestClass::kFlag); in TEST_F() 55 EXPECT_FALSE(TestClass::kFlag); in TEST_F() 59 EXPECT_FALSE(TestClass::kFlag); in TEST_F()
|
/art/test/2236-JdkUnsafeGetLong-regression/src/ |
D | Main.java | 41 TestClass test = new TestClass(); in testUnsafeGetLong() 42 Field longField = TestClass.class.getDeclaredField("longVar"); in testUnsafeGetLong() 48 private static class TestClass { class in Main
|
/art/test/555-UnsafeGetLong-regression/src/ |
D | Main.java | 42 TestClass test = new TestClass(); in testUnsafeGetLong() 43 Field longField = TestClass.class.getDeclaredField("longVar"); in testUnsafeGetLong() 49 private static class TestClass { class in Main
|
/art/test/2235-JdkUnsafeTest/src/ |
D | Main.java | 120 TestClass t = new TestClass(); in testGetAndPutAndCAS() 123 Field intField = TestClass.class.getDeclaredField("intVar"); in testGetAndPutAndCAS() 131 Field longField = TestClass.class.getDeclaredField("longVar"); in testGetAndPutAndCAS() 139 Field objectField = TestClass.class.getDeclaredField("objectVar"); in testGetAndPutAndCAS() 223 TestClass t = new TestClass(); in testCompareAndSet() 226 Field intField = TestClass.class.getDeclaredField("intVar"); in testCompareAndSet() 231 Field longField = TestClass.class.getDeclaredField("longVar"); in testCompareAndSet() 236 Field objectField = TestClass.class.getDeclaredField("objectVar"); in testCompareAndSet() 487 TestClass srcObj = new TestClass(); in testCopyMemory() 490 unsafe.copyMemory(srcObj, unsafe.objectFieldOffset(TestClass.class, "intVar"), in testCopyMemory() [all …]
|
/art/test/128-reg-spill-on-implicit-nullcheck/src/ |
D | Main.java | 26 TestClass f = null; in main() 41 class TestClass { class
|
/art/test/177-visibly-initialized-deadlock/src/ |
D | Main.java | 50 class TestClass { class 53 Main.isVisiblyInitialized(TestClass.class); // Native call, discard result.
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 113 TestClass t = new TestClass(); in testGetAndPutAndCAS() 116 Field intField = TestClass.class.getDeclaredField("intVar"); in testGetAndPutAndCAS() 124 Field longField = TestClass.class.getDeclaredField("longVar"); in testGetAndPutAndCAS() 132 Field objectField = TestClass.class.getDeclaredField("objectVar"); in testGetAndPutAndCAS() 140 Field byteField = TestClass.class.getDeclaredField("byteVar"); in testGetAndPutAndCAS() 295 private static class TestClass { class in Main
|
/art/test/172-app-image-twice/src/ |
D | TestClass.java | 17 public class TestClass { class
|
/art/test/435-new-instance/src/ |
D | TestClass.java | 17 public abstract class TestClass { class
|
/art/test/924-threads/ |
D | threads.cc | 44 JNIEnv* env, [[maybe_unused]] jclass TestClass) { in Java_art_Test924_nativeWaiterStructAlloc() argument 58 [[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass TestClass, jlong waiter_struct) { in Java_art_Test924_nativeWaiterStructWaitForNative() argument 64 [[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass TestClass, jlong waiter_struct) { in Java_art_Test924_nativeWaiterStructFinish() argument 70 [[maybe_unused]] jclass TestClass, in Java_art_Test924_nativeLoop() argument
|
/art/test/971-iface-super/util-src/ |
D | generate_smali.py | 225 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class 451 SUPER_CALL_TEMPLATE = TestClass.SUPER_CALL_TEMPLATE 452 OUTPUT_PREFIX = TestClass.OUTPUT_PREFIX 644 yield TestClass(supers)
|
/art/test/964-default-iface-init-gen/util-src/ |
D | generate_java.py | 167 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): class 369 yield TestClass(clone_all(supers)) 373 yield TestClass(tuple([selected] + list(ns)))
|
/art/test/180-native-default-method/jasmin/ |
D | TestClass.j | 15 .class public TestClass
|
/art/test/161-final-abstract-class/smali/ |
D | Main.smali | 19 # // Verification of TestClass.test() used to crash when processing 21 # Class<?> tc = Class.forName("TestClass"); 96 const-string p0, "TestClass"
|
/art/test/970-iface-super-resolution-gen/util-src/ |
D | generate_smali.py | 214 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class 361 return TestClass([i.get_initial_build_version() for i in self.ifaces], self.class_name) 565 yield TestClass(supers)
|
/art/test/961-default-iface-resolution-gen/util-src/ |
D | generate_java.py | 157 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): class 360 test_class = TestClass(tree)
|
/art/test/968-default-partial-compile-gen/util-src/ |
D | generate_smali.py | 252 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class 556 yield TestClass(iface)
|