Lines Matching refs:TestClass
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()
195 static int test3(TestClass obj) { in test3()
196 TestClass obj1 = TestClass.sTestClassObj; in test3()
197 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist. in test3()
229 static int test4(TestClass obj, boolean b) { in test4()
261 static int test5(TestClass obj, boolean b) { in test5()
288 static int test6(TestClass obj1, TestClass obj2, boolean b) { in test6()
306 static int test7(TestClass obj) { in test7()
327 TestClass obj = new TestClass(); in test8()
346 static int test9(TestClass obj) { in test9()
347 TestClass obj2 = new TestClass(); in test9()
374 static int test10(TestClass obj) { in test10()
375 TestClass.si += obj.i; in test10()
389 static int test11(TestClass obj) { in test11()
409 static int test12(TestClass obj1, TestClass obj2) { in test12()
432 static int test13(TestClass obj1, TestClass2 obj2) { in test13()
449 static int test14(TestClass obj1, SubTestClass obj2) { in test14()
470 TestClass.si = 1; in test15()
472 return TestClass.si; in test15()
489 TestClass obj = new TestClass(1, 2); in test16()
507 TestClass obj = new TestClass(); in test17()
521 static int test18(TestClass obj) { in test18()
550 static TestClass test20() { in test20()
551 TestClass obj = new TestClass(); in test20()
573 static void test21(TestClass obj0) { in test21()
574 TestClass obj = new TestClass(); in test21()
611 TestClass obj1 = new TestClass(); in test22()
614 TestClass obj2 = new TestClass(); in test22()
618 TestClass obj3 = new TestClass(); in test22()
656 TestClass obj = new TestClass(); in test23()
729 TestClass obj = new TestClass(); in test25()
822 TestClass obj = new TestClass(); in test27()
930 static int test30(TestClass obj, boolean b) { in test30()
966 TestClass obj = new TestClass(); in test31()
1031 static int test33(TestClass obj, boolean x) { in test33()
1062 static int test34(TestClass obj, boolean x, boolean y) { in test34()
1101 static int test35(TestClass obj, boolean x, boolean y) { in test35()
1135 static int test36(TestClass obj, boolean x) { in test36()
1159 static int test37(TestClass obj, boolean x) { in test37()
1179 static int test38(TestClass obj, boolean x) { in test38()
1212 static int test39(TestClass obj, boolean x) { in test39()
1213 obj.next = new TestClass(1, 2); in test39()
1240 static int $noinline$testConversion1(TestClass obj, int x) { in $noinline$testConversion1()
1279 static int $noinline$testConversion2(TestClass obj, int x) { in $noinline$testConversion2()
1326 static int $noinline$testConversion3(TestClass obj, int x) { in $noinline$testConversion3()
1366 static int $noinline$testConversion4(TestClass obj, int x) { in $noinline$testConversion4()
1439 TestClass obj = new TestClass(); in $noinline$testHSelect()
1440 TestClass obj2 = null; in $noinline$testHSelect()
1581 TestClass.si = 61; in testStoreStore4()
1582 TestClass.si = 62; in testStoreStore4()
1849 TestClass obj = new TestClass(); in testExitMerge()
1871 TestClass obj = new TestClass(); in testExitMerge2()
2218 private static int testLoop1(TestClass obj, int n) { in testLoop1()
2245 private static int testLoop2(TestClass obj, int n) { in testLoop2()
2267 private static int testLoop3(TestClass obj, int n) { in testLoop3()
2288 private static int testLoop4(TestClass obj, int n) { in testLoop4()
2315 private static int testLoop5(TestClass obj, int n) { in testLoop5()
2350 private static int testLoop6(TestClass obj, int n) { in testLoop6()
2388 TestClass obj = new TestClass(); in testLoop7()
2429 TestClass obj = new TestClass(); in testLoop8()
2489 private static int testLoop9(TestClass obj, int n) { in testLoop9()
2490 TestClass obj0 = new TestClass(); in testLoop9()
2525 private static int testLoop10(TestClass obj, int n) { in testLoop10()
2561 private static int testLoop11(TestClass obj, int n) { in testLoop11()
2598 private static int testLoop12(TestClass obj, int n) { in testLoop12()
2644 private static int testLoop13(TestClass obj, int n) { in testLoop13()
2779 static int testLoop16(TestClass obj, int n) { in testLoop16()
2814 static int testLoop17(TestClass obj, int n) { in testLoop17()
2844 static int testLoop18(TestClass obj, int n) { in testLoop18()
2872 static int testLoop19(TestClass obj, int n) { in testLoop19()
2901 static int testLoop20(TestClass obj, int n) { in testLoop20()
2940 static int testLoop21(TestClass obj, int n) { in testLoop21()
2975 static int testLoop22(TestClass obj, int n) { in testLoop22()
3004 static int testLoop23(TestClass obj, int n) { in testLoop23()
3043 static int testLoop24(TestClass obj, int n) { in testLoop24()
3087 static int testLoop25(TestClass obj, int n) { in testLoop25()
3132 static int testLoop26(TestClass obj, int n) { in testLoop26()
3133 obj.next = new TestClass(1, 2); in testLoop26()
3164 static int testLoop27(TestClass obj, int n) { in testLoop27()
3165 obj.next = new TestClass(1, 2); in testLoop27()
3211 private static int testLoop28(TestClass obj, int n) { in testLoop28()
3326 static int testLoop32(TestClass obj, int n) { in testLoop32()
3376 static int testLoop33(TestClass obj, int n) { in testLoop33()
3595 private static int testNestedLoop1(TestClass obj, int n) { in testNestedLoop1()
3635 private static int testNestedLoop2(TestClass obj, int n) { in testNestedLoop2()
3678 private static int testNestedLoop3(TestClass obj, int n) { in testNestedLoop3()
3716 private static int testNestedLoop4(TestClass obj, int n) { in testNestedLoop4()
3752 private static int testNestedLoop5(TestClass obj, int n) { in testNestedLoop5()
3795 private static int testNestedLoop6(TestClass obj, int n) { in testNestedLoop6()
3826 private static int testNestedLoop7(TestClass obj, int n) { in testNestedLoop7()
3864 private static int testNestedLoop8(TestClass obj, int n) { in testNestedLoop8()
3868 obj.next = new TestClass(); in testNestedLoop8()
3953 private static int $noinline$testPartialEscape1(TestClass obj, boolean escape) { in $noinline$testPartialEscape1()
3954 TestClass i = new SubTestClass(); in $noinline$testPartialEscape1()
3995 assertIntEquals(test1(new TestClass(), new TestClass()), 3); in main()
3996 assertIntEquals(test2(new TestClass()), 1); in main()
3997 TestClass obj1 = new TestClass(); in main()
3998 TestClass obj2 = new TestClass(); in main()
4001 assertIntEquals(test4(new TestClass(), true), 1); in main()
4002 assertIntEquals(test4(new TestClass(), false), 1); in main()
4003 assertIntEquals(test5(new TestClass(), true), 1); in main()
4004 assertIntEquals(test5(new TestClass(), false), 2); in main()
4005 assertIntEquals(test6(new TestClass(), new TestClass(), true), 4); in main()
4006 assertIntEquals(test6(new TestClass(), new TestClass(), false), 2); in main()
4007 assertIntEquals(test7(new TestClass()), 1); in main()
4009 obj1 = new TestClass(); in main()
4010 obj2 = new TestClass(); in main()
4012 assertIntEquals(test9(new TestClass()), 1); in main()
4013 assertIntEquals(test10(new TestClass(3, 4)), 3); in main()
4014 assertIntEquals(TestClass.si, 3); in main()
4015 assertIntEquals(test11(new TestClass()), 10); in main()
4016 assertIntEquals(test12(new TestClass(), new TestClass()), 10); in main()
4017 assertIntEquals(test13(new TestClass(), new TestClass2()), 3); in main()
4023 assertIntEquals(test18(new TestClass()), 1); in main()
4028 test21(new TestClass()); in main()
4043 assertIntEquals(test30(new TestClass(), true), 1); in main()
4044 assertIntEquals(test30(new TestClass(), false), 0); in main()
4049 assertIntEquals(test33(new TestClass(), true), 1); in main()
4050 assertIntEquals(test33(new TestClass(), false), 2); in main()
4051 assertIntEquals(test34(new TestClass(), true, true), 3); in main()
4052 assertIntEquals(test34(new TestClass(), false, true), 4); in main()
4053 assertIntEquals(test34(new TestClass(), true, false), 1); in main()
4054 assertIntEquals(test34(new TestClass(), false, false), 2); in main()
4055 assertIntEquals(test35(new TestClass(), true, true), 3); in main()
4056 assertIntEquals(test35(new TestClass(), false, true), 2); in main()
4057 assertIntEquals(test35(new TestClass(), true, false), 1); in main()
4058 assertIntEquals(test35(new TestClass(), false, false), 2); in main()
4059 assertIntEquals(test36(new TestClass(), true), 2); in main()
4060 assertIntEquals(test36(new TestClass(), false), 4); in main()
4061 assertIntEquals(test37(new TestClass(), true), 1); in main()
4062 assertIntEquals(test37(new TestClass(), false), 0); in main()
4063 assertIntEquals(test38(new TestClass(), true), 1); in main()
4064 assertIntEquals(test38(new TestClass(), false), 2); in main()
4065 assertIntEquals(test39(new TestClass(), true), 0); in main()
4066 assertIntEquals(test39(new TestClass(), false), 1); in main()
4077 assertIntEquals($noinline$testConversion1(new TestClass(), 300), 300); in main()
4078 assertIntEquals($noinline$testConversion1(new TestClass(), 301), 45); in main()
4079 assertIntEquals($noinline$testConversion2(new TestClass(), 300), 300); in main()
4080 assertIntEquals($noinline$testConversion2(new TestClass(), 301), 90); in main()
4081 assertIntEquals($noinline$testConversion3(new TestClass(), 0), 0); in main()
4082 assertIntEquals($noinline$testConversion3(new TestClass(), 1), 0); in main()
4083 assertIntEquals($noinline$testConversion3(new TestClass(), 128), 127); in main()
4084 assertIntEquals($noinline$testConversion3(new TestClass(), 129), -128); in main()
4085 assertIntEquals($noinline$testConversion4(new TestClass(), 0), 0); in main()
4086 assertIntEquals($noinline$testConversion4(new TestClass(), 1), 0); in main()
4087 assertIntEquals($noinline$testConversion4(new TestClass(), 128), 254); in main()
4088 assertIntEquals($noinline$testConversion4(new TestClass(), 129), -256); in main()
4135 assertIntEquals(TestClass.si, 62); in main()
4181 TestClass[] tca = new TestClass[] { new TestClass(), null }; in main()
4193 assertIntEquals(testLoop1(new TestClass(), 0), 0); in main()
4194 assertIntEquals(testLoop1(new TestClass(), 1), 0); in main()
4195 assertIntEquals(testLoop1(new TestClass(), 2), 1); in main()
4196 assertIntEquals(testLoop1(new TestClass(), 3), 2); in main()
4197 assertIntEquals(testLoop2(new TestClass(), 0), 1); in main()
4198 assertIntEquals(testLoop2(new TestClass(), 1), 1); in main()
4199 assertIntEquals(testLoop2(new TestClass(), 2), 1); in main()
4200 assertIntEquals(testLoop2(new TestClass(), 3), 1); in main()
4201 assertIntEquals(testLoop3(new TestClass(), 0), 1); in main()
4202 assertIntEquals(testLoop3(new TestClass(), 1), 1); in main()
4203 assertIntEquals(testLoop3(new TestClass(), 2), 1); in main()
4204 assertIntEquals(testLoop3(new TestClass(), 3), 1); in main()
4205 assertIntEquals(testLoop4(new TestClass(), 0), 0); in main()
4206 assertIntEquals(testLoop4(new TestClass(), 1), 1); in main()
4207 assertIntEquals(testLoop4(new TestClass(), 2), 2); in main()
4208 assertIntEquals(testLoop4(new TestClass(), 3), 3); in main()
4209 assertIntEquals(testLoop5(new TestClass(), 0), 0); in main()
4210 assertIntEquals(testLoop5(new TestClass(), 1), 1); in main()
4211 assertIntEquals(testLoop5(new TestClass(), 2), 2); in main()
4212 assertIntEquals(testLoop5(new TestClass(), 3), 3); in main()
4213 assertIntEquals(testLoop6(new TestClass(), 0), 0); in main()
4214 assertIntEquals(testLoop6(new TestClass(), 1), 1); in main()
4215 assertIntEquals(testLoop6(new TestClass(), 2), 2); in main()
4216 assertIntEquals(testLoop6(new TestClass(), 3), 3); in main()
4225 assertIntEquals(testLoop9(new TestClass(), 0), 0); in main()
4226 assertIntEquals(testLoop9(new TestClass(), 1), 1); in main()
4227 assertIntEquals(testLoop9(new TestClass(), 2), 2); in main()
4228 assertIntEquals(testLoop9(new TestClass(), 3), 3); in main()
4229 assertIntEquals(testLoop10(new TestClass(), 0), 2); in main()
4230 assertIntEquals(testLoop10(new TestClass(), 1), 2); in main()
4231 assertIntEquals(testLoop10(new TestClass(), 2), 2); in main()
4232 assertIntEquals(testLoop10(new TestClass(), 3), 2); in main()
4233 assertIntEquals(testLoop11(new TestClass(), 0), 1); in main()
4234 assertIntEquals(testLoop11(new TestClass(), 1), 3); in main()
4235 assertIntEquals(testLoop11(new TestClass(), 2), 2); in main()
4236 assertIntEquals(testLoop11(new TestClass(), 3), 3); in main()
4237 assertIntEquals(testLoop12(new TestClass(), 0), 1); in main()
4238 assertIntEquals(testLoop12(new TestClass(), 1), 2); in main()
4239 assertIntEquals(testLoop12(new TestClass(), 2), 3); in main()
4240 assertIntEquals(testLoop12(new TestClass(), 3), 2); in main()
4241 assertIntEquals(testLoop13(new TestClass(1, 2), 0), 0); in main()
4242 assertIntEquals(testLoop13(new TestClass(1, 2), 1), 0); in main()
4243 assertIntEquals(testLoop13(new TestClass(1, 2), 2), 0); in main()
4244 assertIntEquals(testLoop13(new TestClass(1, 2), 3), 1); in main()
4253 assertIntEquals(testLoop16(new TestClass(), 0), 0); in main()
4254 assertIntEquals(testLoop16(new TestClass(), 1), 1); in main()
4255 assertIntEquals(testLoop16(new TestClass(), 2), 2); in main()
4256 assertIntEquals(testLoop16(new TestClass(), 3), 3); in main()
4257 assertIntEquals(testLoop17(new TestClass(), 0), 2); in main()
4258 assertIntEquals(testLoop17(new TestClass(), 1), 4); in main()
4259 assertIntEquals(testLoop17(new TestClass(), 2), 2); in main()
4260 assertIntEquals(testLoop17(new TestClass(), 3), 4); in main()
4261 assertIntEquals(testLoop18(new TestClass(), 0), 0); in main()
4262 assertIntEquals(testLoop18(new TestClass(), 1), 1); in main()
4263 assertIntEquals(testLoop18(new TestClass(), 2), 2); in main()
4264 assertIntEquals(testLoop18(new TestClass(), 3), 3); in main()
4265 assertIntEquals(testLoop19(new TestClass(), 0), 0); in main()
4266 assertIntEquals(testLoop19(new TestClass(), 1), 1); in main()
4267 assertIntEquals(testLoop19(new TestClass(), 2), 2); in main()
4268 assertIntEquals(testLoop19(new TestClass(), 3), 3); in main()
4269 assertIntEquals(testLoop20(new TestClass(), 0), 0); in main()
4270 assertIntEquals(testLoop20(new TestClass(), 1), 1); in main()
4271 assertIntEquals(testLoop20(new TestClass(), 2), 2); in main()
4272 assertIntEquals(testLoop20(new TestClass(), 3), 3); in main()
4273 assertIntEquals(testLoop21(new TestClass(), 0), 0); in main()
4274 assertIntEquals(testLoop21(new TestClass(), 1), 1); in main()
4275 assertIntEquals(testLoop21(new TestClass(), 2), 2); in main()
4276 assertIntEquals(testLoop21(new TestClass(), 3), 3); in main()
4277 assertIntEquals(testLoop22(new TestClass(), 0), 0); in main()
4278 assertIntEquals(testLoop22(new TestClass(), 1), 1); in main()
4279 assertIntEquals(testLoop22(new TestClass(), 2), 2); in main()
4280 assertIntEquals(testLoop22(new TestClass(), 3), 3); in main()
4281 assertIntEquals(testLoop23(new TestClass(), 0), -1); in main()
4282 assertIntEquals(testLoop23(new TestClass(), 1), 2); in main()
4283 assertIntEquals(testLoop23(new TestClass(), 2), 1); in main()
4284 assertIntEquals(testLoop23(new TestClass(), 3), 2); in main()
4285 assertIntEquals(testLoop24(new TestClass(), 0), -1); in main()
4286 assertIntEquals(testLoop24(new TestClass(), 1), 2); in main()
4287 assertIntEquals(testLoop24(new TestClass(), 2), 1); in main()
4288 assertIntEquals(testLoop24(new TestClass(), 3), -2); in main()
4289 assertIntEquals(testLoop25(new TestClass(), 0), 2); in main()
4290 assertIntEquals(testLoop25(new TestClass(), 1), 2); in main()
4291 assertIntEquals(testLoop25(new TestClass(), 2), 4); in main()
4292 assertIntEquals(testLoop25(new TestClass(), 3), -1); in main()
4293 assertIntEquals(testLoop26(new TestClass(), 0), 1); in main()
4294 assertIntEquals(testLoop26(new TestClass(), 1), 0); in main()
4295 assertIntEquals(testLoop26(new TestClass(), 2), 0); in main()
4296 assertIntEquals(testLoop26(new TestClass(), 3), 0); in main()
4297 assertIntEquals(testLoop27(new TestClass(), 0), 1); in main()
4298 assertIntEquals(testLoop27(new TestClass(), 1), 1); in main()
4299 assertIntEquals(testLoop27(new TestClass(), 2), 0); in main()
4300 assertIntEquals(testLoop27(new TestClass(), 3), 0); in main()
4301 assertIntEquals(testLoop28(new TestClass(1, 2), 0), 0); in main()
4302 assertIntEquals(testLoop28(new TestClass(1, 2), 1), 0); in main()
4303 assertIntEquals(testLoop28(new TestClass(1, 2), 2), 0); in main()
4304 assertIntEquals(testLoop28(new TestClass(1, 2), 3), 1); in main()
4317 assertIntEquals(testLoop32(new TestClass(), 0), -1); in main()
4318 assertIntEquals(testLoop32(new TestClass(), 1), 2); in main()
4319 assertIntEquals(testLoop32(new TestClass(), 2), 1); in main()
4320 assertIntEquals(testLoop32(new TestClass(), 3), -2); in main()
4321 assertIntEquals(testLoop33(new TestClass(), 0), 0); in main()
4322 assertIntEquals(testLoop33(new TestClass(), 1), 0); in main()
4323 assertIntEquals(testLoop33(new TestClass(), 2), 0); in main()
4324 assertIntEquals(testLoop33(new TestClass(), 3), 0); in main()
4337 assertIntEquals(testNestedLoop1(new TestClass(), 0), 1); in main()
4338 assertIntEquals(testNestedLoop1(new TestClass(), 1), 1); in main()
4339 assertIntEquals(testNestedLoop1(new TestClass(), 2), 1); in main()
4340 assertIntEquals(testNestedLoop1(new TestClass(), 3), 1); in main()
4341 assertIntEquals(testNestedLoop2(new TestClass(), 0), 1); in main()
4342 assertIntEquals(testNestedLoop2(new TestClass(), 1), 2); in main()
4343 assertIntEquals(testNestedLoop2(new TestClass(), 2), 2); in main()
4344 assertIntEquals(testNestedLoop2(new TestClass(), 3), 2); in main()
4345 assertIntEquals(testNestedLoop3(new TestClass(), 0), 1); in main()
4346 assertIntEquals(testNestedLoop3(new TestClass(), 1), 2); in main()
4347 assertIntEquals(testNestedLoop3(new TestClass(), 2), 2); in main()
4348 assertIntEquals(testNestedLoop3(new TestClass(), 3), 2); in main()
4349 assertIntEquals(testNestedLoop4(new TestClass(), 0), 1); in main()
4350 assertIntEquals(testNestedLoop4(new TestClass(), 1), 1); in main()
4351 assertIntEquals(testNestedLoop4(new TestClass(), 2), 2); in main()
4352 assertIntEquals(testNestedLoop4(new TestClass(), 3), 2); in main()
4353 assertIntEquals(testNestedLoop5(new TestClass(), 0), 1); in main()
4354 assertIntEquals(testNestedLoop5(new TestClass(), 1), 2); in main()
4355 assertIntEquals(testNestedLoop5(new TestClass(), 2), 2); in main()
4356 assertIntEquals(testNestedLoop5(new TestClass(), 3), 2); in main()
4357 assertIntEquals(testNestedLoop6(new TestClass(), 0), 1); in main()
4358 assertIntEquals(testNestedLoop6(new TestClass(), 1), 1); in main()
4359 assertIntEquals(testNestedLoop6(new TestClass(), 2), 2); in main()
4360 assertIntEquals(testNestedLoop6(new TestClass(), 3), 2); in main()
4361 assertIntEquals(testNestedLoop7(new TestClass(), 0), 0); in main()
4362 assertIntEquals(testNestedLoop7(new TestClass(), 1), 1); in main()
4363 assertIntEquals(testNestedLoop7(new TestClass(), 2), 2); in main()
4364 assertIntEquals(testNestedLoop7(new TestClass(), 3), 3); in main()
4365 assertIntEquals(testNestedLoop8(new TestClass(), 0), 0); in main()
4366 assertIntEquals(testNestedLoop8(new TestClass(), 1), 0); in main()
4367 assertIntEquals(testNestedLoop8(new TestClass(), 2), 0); in main()
4368 assertIntEquals(testNestedLoop8(new TestClass(), 3), 0); in main()
4371 assertIntEquals($noinline$testPartialEscape1(new TestClass(), true), 1); in main()
4372 assertIntEquals($noinline$testPartialEscape1(new TestClass(), false), 0); in main()