• Home
  • Raw
  • Download

Lines Matching refs:res

519         int res = 1234;  in switchTest()  local
522 case -1: res = 1; return res; in switchTest()
523 case 0: res = 2; return res; in switchTest()
525 case 2: res = 3; return res; in switchTest()
526 case 3: res = 4; return res; in switchTest()
527 case 4: res = 5; return res; in switchTest()
528 default: res = 6; return res; in switchTest()
531 case 3: res = 7; return res; in switchTest()
532 case 4: res = 8; return res; in switchTest()
540 case 0x12345679: res = 9; return res; in switchTest()
541 default: res = 1; return res; in switchTest()
544 case 57: res = 10; return res; in switchTest()
545 case -6: res = 11; return res; in switchTest()
547 case 22: res = 12; return res; in switchTest()
548 case 3: res = 13; return res; in switchTest()
549 default: res = 14; return res; in switchTest()
552 case -6: res = 15; return res; in switchTest()
553 case 3: res = 16; return res; in switchTest()
559 case 12: res = 17; return res; in switchTest()
561 case 0: res = 18; return res; in switchTest()
562 default: res = 19; return res; in switchTest()
568 return res; in switchTest()
574 int res = 1111; in testIntCompare() local
591 res = res; in testIntCompare()
610 res = res; in testIntCompare()
614 return res; in testIntCompare()
624 int res = 2222; in testLongCompare() local
640 res = res; in testLongCompare()
661 return res; in testLongCompare()
700 int res = 4444; in testDoubleCompare() local
726 return res; in testDoubleCompare()
820 int res = 0; in testClassCast() local
822 res += throwClassCast(Integer.valueOf(123)); in testClassCast()
824 res += 456; in testClassCast()
827 res += throwClassCast(new Short((short)321)); in testClassCast()
829 res += 765; in testClassCast()
831 return res; in testClassCast()
839 int res=0; in testArrayStoreException() local
843 res += 1; in testArrayStoreException()
845 res += 2; in testArrayStoreException()
849 res += 10; in testArrayStoreException()
851 res += 20; in testArrayStoreException()
855 res += 100; in testArrayStoreException()
857 res += 200; in testArrayStoreException()
859 return res; in testArrayStoreException()
882 int res = 0; in testArrayAllocation() local
885 res += 1; in testArrayAllocation()
887 res += 2; in testArrayAllocation()
891 res += 10; in testArrayAllocation()
893 res += 20; in testArrayAllocation()
895 return res; in testArrayAllocation()
900 int res; in main() local
910 res = unopTest(38); in main()
911 if (res == 37) { in main()
914 System.out.println("unopTest FAILED: " + res); in main()
917 res = shiftTest1(); in main()
918 if (res == 0) { in main()
921 System.out.println("shiftTest1 FAILED: " + res); in main()
924 res = shiftTest2(); in main()
925 if (res == 0) { in main()
928 System.out.println("shiftTest2 FAILED: " + res); in main()
931 res = unsignedShiftTest(); in main()
932 if (res == 0) { in main()
935 System.out.println("unsignedShiftTest FAILED: " + res); in main()
938 res = convTest(); in main()
939 if (res == 0) { in main()
942 System.out.println("convTest FAILED: " + res); in main()
945 res = charSubTest(); in main()
946 if (res == 0) { in main()
949 System.out.println("charSubTest FAILED: " + res); in main()
952 res = intOperTest(70000, -3); in main()
953 if (res == 0) { in main()
956 System.out.println("intOperTest FAILED: " + res); in main()
959 res = lit16Test(77777); in main()
960 if (res == 0) { in main()
963 System.out.println("lit16Test FAILED: " + res); in main()
966 res = lit8Test(-55555); in main()
967 if (res == 0) { in main()
970 System.out.println("lit8Test FAILED: " + res); in main()
973 res = intShiftTest(0xff00aa01, 8); in main()
974 if (res == 0) { in main()
977 System.out.println("intShiftTest FAILED: " + res); in main()
980 res = longOperTest(70000000000L, -3L); in main()
981 if (res == 0) { in main()
984 System.out.println("longOperTest FAILED: " + res); in main()
995 res = switchTest(1); in main()
996 if (res == 1234) { in main()
999 System.out.println("switchTest FAILED: " + res); in main()
1003 res = testIntCompare(-5, 4, 4, 0); in main()
1004 if (res == 1111) { in main()
1007 System.out.println("testIntCompare FAILED: " + res); in main()
1011 res = testLongCompare(-5L, -4294967287L, 4L, 8L); in main()
1012 if (res == 2222) { in main()
1015 System.out.println("testLongCompare FAILED: " + res); in main()
1019 res = testFloatCompare(-5.0f, 4.0f, 4.0f, (1.0f/0.0f) / (1.0f/0.0f)); in main()
1020 if (res == 3333) { in main()
1023 System.out.println("testFloatCompare FAILED: " + res); in main()
1027 res = testDoubleCompare(-5.0, 4.0, 4.0, (1.0/0.0) / (1.0/0.0)); in main()
1028 if (res == 4444) { in main()
1031 System.out.println("testDoubleCompare FAILED: " + res); in main()
1035 res = fibonacci(10); in main()
1036 if (res == 55) { in main()
1039 System.out.println("fibonacci FAILED: " + res); in main()
1043 res = throwAndCatch(); in main()
1044 if (res == 0) { in main()
1047 System.out.println("throwAndCatch FAILED: " + res); in main()
1051 res = testClassCast(); in main()
1052 if (res == 888) { in main()
1055 System.out.println("testClassCast FAILED: " + res); in main()
1059 res = testArrayStoreException(); in main()
1060 if (res == 211) { in main()
1063 System.out.println("testArrayStore FAILED: " + res); in main()
1075 res = testArrayAllocation(); in main()
1076 if (res == 12) { in main()
1079 System.out.println("testArrayAllocation FAILED: " + res); in main()
1083 res = manyArgs(0, 1L, 2, 3L, 4, 5L, 6, 7, 8.0, 9.0f, 10.0, in main()
1086 if (res == -1) { in main()
1089 System.out.println("manyArgs FAILED: " + res); in main()
1093 res = staticCall(3); in main()
1094 if (res == 6) { in main()
1097 System.out.println("virtualCall FAILED: " + res); in main()
1101 res = testIGetPut(111); in main()
1102 if (res == 333) { in main()
1105 System.out.println("testGetPut FAILED: " + res); in main()
1109 res = staticFieldTest(404); in main()
1110 if (res == 1404) { in main()
1113 System.out.println("staticFieldTest FAILED: " + res); in main()
1117 res = catchBlock(1000); in main()
1118 if (res == 1579) { in main()
1121 System.out.println("catchBlock(1000) FAILED: " + res); in main()
1124 res = catchBlock(7000); in main()
1125 if (res == 7777) { in main()
1128 System.out.println("catchBlock(7000) FAILED: " + res); in main()
1131 res = catchBlockNoThrow(1000); in main()
1132 if (res == 1123) { in main()
1135 System.out.println("catchBlockNoThrow FAILED: " + res); in main()
1139 res = superTest(4141); in main()
1140 if (res == 4175) { in main()
1143 System.out.println("superTest FAILED: " + res); in main()
1147 res = constClassTest(1111); in main()
1148 if (res == 2222) { in main()
1151 System.out.println("constClassTest FAILED: " + res); in main()
1155 res = constStringTest(10); in main()
1156 if (res == 22) { in main()
1159 System.out.println("constStringTest FAILED: " + res); in main()
1163 res = instanceTest(10); in main()
1164 if (res == 1436) { in main()
1167 System.out.println("instanceTest FAILED: " + res); in main()