Home
last modified time | relevance | path

Searched refs:Main (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/art/test/715-clinit-implicit-parameter-annotations/
Dexpected-stdout.txt1 Main
2 public Main()
3 Main$1LocalClassStaticContext
4 Main$1LocalClassStaticContext(int)
5 Parameter [0]: Indexed : @Main$AnnotationA()
6 Array : @Main$AnnotationA()
7 Main$AnnotationA Yes
8 @Main$AnnotationA()
9 Main$AnnotationB No
10 Main$1LocalClassStaticContextWithCapture
[all …]
/art/test/444-checker-nce/src/
DMain.java17 public class Main { class
26 public Main keepTest(Main m) { in keepTest()
33 public Main thisTest() { in thisTest()
44 public Main newInstanceRemoveTest() { in newInstanceRemoveTest()
45 Main m = new Main(); in newInstanceRemoveTest()
55 public Main newArrayRemoveTest() { in newArrayRemoveTest()
56 Main[] ms = new Main[1]; in newArrayRemoveTest()
67 public Main ifRemoveTest(boolean flag) { in ifRemoveTest()
68 Main m = null; in ifRemoveTest()
70 m = new Main(); in ifRemoveTest()
[all …]
/art/test/003-omnibus-opcodes/src/
DCompare.java29 Main.assertTrue(false); in testIntCompare()
31 Main.assertTrue(false); in testIntCompare()
33 Main.assertTrue(false); in testIntCompare()
35 Main.assertTrue(false); in testIntCompare()
37 Main.assertTrue(false); in testIntCompare()
39 Main.assertTrue(false); in testIntCompare()
43 Main.assertTrue(true); in testIntCompare()
45 Main.assertTrue(false); in testIntCompare()
49 Main.assertTrue(false); in testIntCompare()
51 Main.assertTrue(false); in testIntCompare()
[all …]
DArray.java26 Main.assertTrue(bytes[0] == 0); in checkBytes()
27 Main.assertTrue(bytes[1] == -1); in checkBytes()
28 Main.assertTrue(bytes[2] == -2); in checkBytes()
29 Main.assertTrue(bytes[3] == -3); in checkBytes()
30 Main.assertTrue(bytes[4] == -4); in checkBytes()
33 Main.assertTrue(shorts[0] == 20); in checkShorts()
34 Main.assertTrue(shorts[1] == 10); in checkShorts()
35 Main.assertTrue(shorts[2] == 0); in checkShorts()
36 Main.assertTrue(shorts[3] == -10); in checkShorts()
37 Main.assertTrue(shorts[4] == -20); in checkShorts()
[all …]
DSwitch.java11 case -1: Main.assertTrue(false); break; in testSwitch()
12 case 0: Main.assertTrue(false); break; in testSwitch()
14 case 2: Main.assertTrue(false); break; in testSwitch()
15 case 3: Main.assertTrue(false); break; in testSwitch()
16 case 4: Main.assertTrue(false); break; in testSwitch()
17 default: Main.assertTrue(false); break; in testSwitch()
20 case 3: Main.assertTrue(false); break; in testSwitch()
21 case 4: Main.assertTrue(false); break; in testSwitch()
29 case 0x12345679: Main.assertTrue(false); break; in testSwitch()
30 default: Main.assertTrue(false); break; in testSwitch()
[all …]
DIntMath.java35 Main.assertTrue(i1 == 0x44332211); in shiftTest1()
36 Main.assertTrue(i2 == 0xbbaa9988); in shiftTest1()
37 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
48 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
66 Main.assertTrue(result == 0x1122334455667788L); in shiftTest2()
82 Main.assertTrue((int) b == -1); in unsignedShiftTest()
83 Main.assertTrue((int) s == -1); in unsignedShiftTest()
84 Main.assertTrue((int) c == 0x0fff); in unsignedShiftTest()
85 Main.assertTrue(i == 268435455); in unsignedShiftTest()
96 Main.assertTrue(1 << thirtyTwo == 1); in shiftTest3()
[all …]
DFloatMath.java33 Main.assertTrue(i == 1234); in convTest()
37 Main.assertTrue(i == -1234); in convTest()
42 Main.assertTrue(l == 1238); in convTest()
46 Main.assertTrue(l == -1238); in convTest()
51 Main.assertTrue(d > 1238.567 && d < 1238.568); in convTest()
56 Main.assertTrue(i == 1234); in convTest()
60 Main.assertTrue(i == -1234); in convTest()
65 Main.assertTrue(l == 5678956789L); in convTest()
69 Main.assertTrue(l == -5678956789L); in convTest()
74 Main.assertTrue(f > 1238.567 && f < 1238.568); in convTest()
[all …]
DInstField.java41 Main.assertTrue(false); in nullCheck()
47 Main.assertTrue(false); in nullCheck()
53 Main.assertTrue(false); in nullCheck()
59 Main.assertTrue(false); in nullCheck()
89 Main.assertTrue(mBoolean1); in checkFields()
90 Main.assertTrue(!mBoolean2); in checkFields()
91 Main.assertTrue(mByte1 == 127); in checkFields()
92 Main.assertTrue(mByte2 == -128); in checkFields()
93 Main.assertTrue(mChar1 == 32767); in checkFields()
94 Main.assertTrue(mChar2 == 65535); in checkFields()
[all …]
DClasses.java27 Main.assertTrue(!wantSub); in subFunc()
37 Main.assertTrue(thisRef instanceof Classes); in checkCast()
39 Main.assertTrue(moreRef instanceof Classes); in checkCast()
42 Main.assertTrue(moreRef instanceof MoreClasses); in checkCast()
43 Main.assertTrue(!(thisRef instanceof MoreClasses)); in checkCast()
47 Main.assertTrue(false); in checkCast()
51 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); in checkCast()
53 Main.assertTrue(!(thisRef instanceof MoreClasses)); in checkCast()
58 Main.assertTrue(false); in checkCast()
62 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); in checkCast()
[all …]
DStaticField.java57 Main.assertTrue(mBoolean1); in checkFields()
58 Main.assertTrue(!mBoolean2); in checkFields()
59 Main.assertTrue(mByte1 == 127); in checkFields()
60 Main.assertTrue(mByte2 == -128); in checkFields()
61 Main.assertTrue(mChar1 == 32767); in checkFields()
62 Main.assertTrue(mChar2 == 65535); in checkFields()
63 Main.assertTrue(mShort1 == 32767); in checkFields()
64 Main.assertTrue(mShort2 == -32768); in checkFields()
65 Main.assertTrue(mInt1 == 65537); in checkFields()
66 Main.assertTrue(mInt2 == -65537); in checkFields()
[all …]
DThrow.java33 Main.assertTrue(false); in one()
39 Main.assertTrue(false); in one()
59 Main.assertTrue(gotA); in twoA()
60 Main.assertTrue(!gotN); in twoA()
61 Main.assertTrue(!gotWeird); in twoA()
81 Main.assertTrue(!gotA); in twoN()
82 Main.assertTrue(gotN); in twoN()
83 Main.assertTrue(!gotWeird); in twoN()
95 Main.assertTrue(false); in rethrow()
98 Main.assertTrue(false); in rethrow()
[all …]
DUnresTest1.java11 Main.assertTrue(false); in run()
17 Main.assertTrue(false); in run()
23 Main.assertTrue(false); in run()
30 Main.assertTrue(false); in run()
36 Main.assertTrue(false); in run()
43 Main.assertTrue(false); in run()
49 Main.assertTrue(false); in run()
56 Main.assertTrue(false); in run()
62 Main.assertTrue(false); in run()
69 Main.assertTrue(false); in run()
[all …]
/art/test/589-super-imt/src/
DMain.java99 public class Main implements Itf { class
102 main = new Main(); in main()
112 expectEquals(main.method1(), Main.class); in callMains()
113 expectEquals(main.method2(), Main.class); in callMains()
114 expectEquals(main.method3(), Main.class); in callMains()
115 expectEquals(main.method4(), Main.class); in callMains()
116 expectEquals(main.method5(), Main.class); in callMains()
117 expectEquals(main.method6(), Main.class); in callMains()
118 expectEquals(main.method7(), Main.class); in callMains()
119 expectEquals(main.method8(), Main.class); in callMains()
[all …]
/art/test/667-jit-jni-stub/src/
DMain.java17 public class Main { class
20 if (isAotCompiled(Main.class, "hasJit")) { in main()
33 assertFalse(hasJitCompiledEntrypoint(Main.class, "callThrough")); in testCompilationUseAndCollection()
34 assertFalse(hasJitCompiledCode(Main.class, "callThrough")); in testCompilationUseAndCollection()
36 assertTrue(hasJitCompiledEntrypoint(Main.class, "callThrough")); in testCompilationUseAndCollection()
37 assertTrue(hasJitCompiledCode(Main.class, "callThrough")); in testCompilationUseAndCollection()
40 callThrough(Main.class, "doNothing"); in testCompilationUseAndCollection()
44 callThrough(Main.class, "testGcWithCallThroughStubOnStack"); in testCompilationUseAndCollection()
56 assertTrue(hasJitCompiledEntrypoint(Main.class, "callThrough")); in testGcWithCallThroughStubOnStack()
64 assertTrue(hasJitCompiledCode(Main.class, "callThrough")); in testGcWithCallThroughStubOnStack()
[all …]
/art/test/478-checker-clinit-check-pruning/
Dexpected-stdout.txt1 Main$ClassWithClinit1's static initializer
2 Main$ClassWithClinit2's static initializer
3 Main$ClassWithClinit3Static's static initializer
4 Main$ClassWithClinit3Instance's static initializer
5 Main$ClassWithClinit4Static's static initializer
6 Main$ClassWithClinit4Instance's static initializer
7 Main$ClassWithClinit5's static initializer
8 Main$SubClassOfClassWithoutClinit5's static initializer
9 Main$ClassWithClinit6's static initializer
10 Main$SubClassOfClassWithoutClinit6's static initializer
[all …]
/art/test/106-exceptions2/src/
DMain.java17 class Main { class
22 int noThrow(Main nonNullA, in noThrow()
23 Main nonNullB, in noThrow()
24 Main nonNullC) { in noThrow()
56 int checkThrow(Main nonNullA, in checkThrow()
57 Main nonNullB, in checkThrow()
58 Main nonNullC, in checkThrow()
59 Main nullA, in checkThrow()
60 Main nullB, in checkThrow()
61 Main nullC) { in checkThrow()
[all …]
/art/test/488-checker-inline-recursive-calls/
Dexpected-stdout.txt2 at Main.inline3(Main.java:51)
3 at Main.doTopCall(Main.java:37)
4 at Main.inline2(Main.java:47)
5 at Main.inline1(Main.java:43)
6 at Main.doTopCall(Main.java:34)
7 at Main.main(Main.java:21)
/art/test/636-arm64-veneer-pool/src/
DMain.java17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
23 …public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new E… in m()
24 …public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw n… in mImpl()
26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m()
[all …]
/art/test/054-uncaught/
Dexpected-stdout.txt4 at Main.catchTheUncaught(Main.java:63)
5 at Main$Helper.run(Main.java:74)
9 at Main.catchTheUncaught(Main.java:63)
10 at Main$Helper.run(Main.java:74)
14 at Main.catchTheUncaught(Main.java:63)
15 at Main$Helper.run(Main.java:74)
19 at Main.catchTheUncaught(Main.java:63)
20 at Main.main(Main.java:26)
/art/test/953-invoke-polymorphic-compiler/
Dexpected-stdout.txt1 Running Main.Min2Print2([33, -4])
2 Running Main.Min2Print2([-4, 33])
3 Running Main.Min2Print3([33, -4, 17])
4 Running Main.Min2Print3([-4, 17, 33])
5 Running Main.Min2Print3([17, 33, -4])
6 Running Main.Min2Print6([33, -4, 77, 88, 99, 111])
7 Running Main.Min2Print6([-4, 77, 88, 99, 111, 33])
8 Running Main.Min2Print6([77, 88, 99, 111, 33, -4])
9 Running Main.Min2Print6([88, 99, 111, 33, -4, 77])
10 Running Main.Min2Print6([99, 111, 33, -4, 77, 88])
[all …]
/art/test/487-checker-inline-calls/
Dexpected-stdout.txt2 at Main.inline3(Main.java:48)
3 at Main.inline2(Main.java:44)
4 at Main.inline1(Main.java:40)
5 at Main.doTopCall(Main.java:36)
6 at Main.main(Main.java:21)
/art/test/631-checker-get-class/src/
DMain.java17 public class Main { class
25 public static int bar(Main m) { in bar()
26 if (m.getClass() == Main.class) { in bar()
48 return new Main().getClass() == Main.class; in classEquality1()
64 return o.getClass() == Main.class; in classEquality2()
79 return new Main().getClass() != Main.class; in classEquality3()
95 return o.getClass() != Main.class; in classEquality4()
99 int actual = bar(new Main()); in main()
110 class SubMain extends Main {
/art/test/100-reflect2/src/
DMain.java20 class Main { class
33 f = Main.class.getDeclaredField("z"); in testFieldReflection()
35 f = Main.class.getDeclaredField("b"); in testFieldReflection()
37 f = Main.class.getDeclaredField("c"); in testFieldReflection()
39 f = Main.class.getDeclaredField("d"); in testFieldReflection()
41 f = Main.class.getDeclaredField("f"); in testFieldReflection()
43 f = Main.class.getDeclaredField("i"); in testFieldReflection()
45 f = Main.class.getDeclaredField("j"); in testFieldReflection()
47 f = Main.class.getDeclaredField("s"); in testFieldReflection()
50 f = Main.class.getDeclaredField("z"); in testFieldReflection()
[all …]
/art/test/656-loop-deopt/src/
DMain.java17 public class Main { class
21 $noinline$intUpdate(new Main()); in main()
22 ensureJitCompiled(Main.class, "$noinline$intUpdate"); in main()
28 $noinline$objectUpdate(new Main()); in main()
29 ensureJitCompiled(Main.class, "$noinline$objectUpdate"); in main()
32 $noinline$loopIncrement(new Main()); in main()
33 ensureJitCompiled(Main.class, "$noinline$loopIncrement"); in main()
36 $noinline$objectReturned(new Main()); in main()
37 ensureJitCompiled(Main.class, "$noinline$objectReturned"); in main()
50 public static void $noinline$intUpdate(Main m) { in $noinline$intUpdate()
[all …]
/art/test/408-move-bug/src/
DMain.java17 public class Main { class
27 Main foo1 = create(); in crash()
28 Main foo2 = create(); in crash()
29 Main foo3 = create(); in crash()
30 Main foo4 = create(); in crash()
47 Main foo1 = create(); in npe()
48 Main foo2 = create(); in npe()
49 Main foo3 = create(); in npe()
50 Main foo4 = create(); in npe()
58 static Main create() { in create()
[all …]

12345678910>>...44