Home
last modified time | relevance | path

Searched refs:TestClass (Results 1 – 23 of 23) sorted by relevance

/art/test/2242-checker-lse-acquire-release-operations/src/
DMain.java17 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/
DMain.java30 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/
Dexpected-stdout.txt3 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/
Dexpected-stdout.txt3 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/
DMain.java24 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/
Dexpected-stdout.txt2 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/
Dlogging_test.cc43 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/
DMain.java41 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/
DMain.java42 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/
DMain.java120 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/
DMain.java26 TestClass f = null; in main()
41 class TestClass { class
/art/test/177-visibly-initialized-deadlock/src/
DMain.java50 class TestClass { class
53 Main.isVisiblyInitialized(TestClass.class); // Native call, discard result.
/art/test/004-UnsafeTest/src/
DMain.java113 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/
DTestClass.java17 public class TestClass { class
/art/test/435-new-instance/src/
DTestClass.java17 public abstract class TestClass { class
/art/test/924-threads/
Dthreads.cc44 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/
Dgenerate_smali.py225 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/
Dgenerate_java.py167 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/
DTestClass.j15 .class public TestClass
/art/test/161-final-abstract-class/smali/
DMain.smali19 # // 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/
Dgenerate_smali.py214 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/
Dgenerate_java.py157 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/
Dgenerate_smali.py252 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class
556 yield TestClass(iface)