/art/test/041-narrowing/src/ |
D | Main.java | 27 + (Integer.toHexString((short)dbl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing() 30 + (Integer.toHexString((int)dbl2).equals("0") ? "00000000" : Integer in test_printNarrowing() 41 + (Integer.toHexString((short)fl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing() 44 + (Integer.toHexString((int)fl2).equals("0") ? "00000000" : Integer in test_printNarrowing() 52 + (Integer.toHexString((byte)dbl3).equals("0") ? "00" : Integer.toHexString( in test_printNarrowing() 55 + (Integer.toHexString((short)dbl3).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing() 58 + Integer.toHexString((int)dbl3) + " expected: 7fffffff"); in test_printNarrowing() 67 + (Integer.toHexString((short)dbl4).equals("0") ? " 0000" : Long in test_printNarrowing() 70 + Integer.toHexString((int)dbl4) + " expected: 80000000"); in test_printNarrowing() 76 + (Integer.toHexString((byte)fl3).equals("0") ? "00" : Integer.toHexString( in test_printNarrowing() [all …]
|
/art/test/082-inline-execute/src/ |
D | Main.java | 227 Assert.assertEquals(Math.abs(Integer.MAX_VALUE), Integer.MAX_VALUE); 228 Assert.assertEquals(Math.abs(Integer.MIN_VALUE), Integer.MIN_VALUE); 229 Assert.assertEquals(Math.abs(Integer.MIN_VALUE - 1), Integer.MAX_VALUE); 230 Assert.assertEquals(Math.abs(Integer.MIN_VALUE + 1), Integer.MAX_VALUE); 246 Assert.assertEquals(Math.min(0, Integer.MAX_VALUE), 0); 247 Assert.assertEquals(Math.min(Integer.MIN_VALUE, 0), Integer.MIN_VALUE); 248 Assert.assertEquals(Math.min(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MIN_VALUE); 255 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE); 256 Assert.assertEquals(Math.max(Integer.MIN_VALUE, 0), 0); 257 Assert.assertEquals(Math.max(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MAX_VALUE); [all …]
|
/art/test/025-access-controller/src/ |
D | Privvy.java | 21 class Privvy implements PrivilegedAction<Integer> { 23 private Integer mValue; 26 mValue = new Integer(val + 1); in Privvy() 29 public Integer run() { in run()
|
D | Main.java | 25 Integer result = AccessController.doPrivileged(priv); in main()
|
/art/test/052-verifier-fun/src/ |
D | Main.java | 35 Integer[] arrayTwo; in arrayCheck1() 38 arrayTwo = new Integer[1]; in arrayCheck1() 49 Integer[] arrayTwo; in arrayCheck1b() 53 arrayTwo = new Integer[1]; in arrayCheck1b() 67 Integer[][] arrayThree; in arrayCheck2() 71 arrayThree = new Integer[1][]; in arrayCheck2()
|
/art/test/027-arithmetic/src/ |
D | Main.java | 34 System.out.println("values are " + Integer.toHexString(i1) in shiftTest1() 35 + " and " + Integer.toHexString(i2)); in shiftTest1() 143 System.out.println("b=0x" + Integer.toHexString((int)b) in unsignedShiftTest() 144 + ", s=0x" + Integer.toHexString((int)s) in unsignedShiftTest() 145 + ", c=0x" + Integer.toHexString((int)c) in unsignedShiftTest() 146 + ", i=0x" + Integer.toHexString(i)); in unsignedShiftTest()
|
/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 77 int select = (Integer)args[0]; in invoke() 146 myHandler.returnType = Integer.class; in testProxyReturns() 147 check(proxyMyInterface.intFoo() == Integer.MAX_VALUE); in testProxyReturns() 151 check(proxyMyInterface.intBar() == Integer.MIN_VALUE); in testProxyReturns() 367 myHandler.returnType = Integer.class; // Int -> byte == fail in testProxyReturns() 445 check((Integer)proxyMyInterface.selectArg(0, Integer.MAX_VALUE, Long.MAX_VALUE, in testProxyArgPassing() 447 check((Integer)proxyMyInterface.selectArg(1, Integer.MAX_VALUE, Long.MAX_VALUE, in testProxyArgPassing() 448 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Integer.MAX_VALUE); in testProxyArgPassing() 449 check((Long)proxyMyInterface.selectArg(2, Integer.MAX_VALUE, Long.MAX_VALUE, in testProxyArgPassing() 451 check((Float)proxyMyInterface.selectArg(3, Integer.MAX_VALUE, Long.MAX_VALUE, in testProxyArgPassing() [all …]
|
D | NarrowingTest.java | 44 return Integer.valueOf(1); in main()
|
/art/compiler/sea_ir/types/ |
D | type_inference_visitor_test.cc | 41 const Type* int_type = &type_cache.Integer(); in TEST_F() 53 const Type* int_type = &type_cache.Integer(); in TEST_F() 68 const Type* new_type = &type_cache.Integer(); in TEST_F() 72 EXPECT_TRUE(merged_type == &type_cache.Integer()); in TEST_F() 97 const Type* int_type = &type_cache.Integer(); in TEST_F() 102 EXPECT_TRUE(merged_type == &type_cache.Integer()); in TEST_F() 114 const Type* int_type = &type_cache.Integer(); in TEST_F()
|
D | type_inference_visitor.cc | 39 crt_type_.push_back(&type_cache_->Integer()); in Visit() 56 crt_type_.push_back(&type_cache_->Integer()); in Visit()
|
D | type_data_test.cc | 31 const Type* int_type = &type_cache.Integer(); in TEST_F()
|
D | type_inference.cc | 73 argument_types.push_back(&(type_cache_->Integer())); in GetDeclaredArgumentTypes() 120 argument_types.push_back(&type_cache_->Integer()); in GetDeclaredArgumentTypes()
|
/art/test/045-reflect-array/src/ |
D | Main.java | 27 intArray = Array.newInstance(Integer.TYPE, 2); in testSingleInt() 51 Integer x123 = Integer.valueOf(123); in testSingleInt() 52 Integer x456 = Integer.valueOf(456); in testSingleInt() 66 intArray = Array.newInstance(Integer.TYPE, 0); in testSingleInt() 189 Array.set(strArray, 0, new Integer(5)); in testSingle() 199 intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); in testMultiInt()
|
/art/test/093-serialization/src/ |
D | Main.java | 87 System.out.println("x=" + Integer.toHexString(x)); in check() 96 Integer two; 101 two = Integer.valueOf(2); in Base()
|
/art/test/201-built-in-exception-detail-messages/src/ |
D | Main.java | 116 Object o = new Integer(5); in arrayStore() 136 Integer[] dst = new Integer[10]; in arrayStore() 177 Integer dst = new Integer(5); in arrayStore() 243 return new Integer(5); in makeInteger() 423 m.invoke(new Integer(5)); // Wrong type for 'this'. in reflection()
|
/art/test/NativeAllocations/ |
D | NativeAllocations.java | 53 …egister_native_allocation = vm_runtime.getDeclaredMethod("registerNativeAllocation", Integer.TYPE); in main() 54 register_native_free = vm_runtime.getDeclaredMethod("registerNativeFree", Integer.TYPE); in main()
|
/art/test/046-reflect/src/ |
D | Main.java | 30 public Main(ArrayList<Integer> stuff) {} in Main() 47 + Integer.toHexString(meth.getModifiers())); in printMethodInfo() 57 + Integer.toHexString(field.getModifiers())); in printFieldInfo() 153 Integer boxval; in run() 154 boxval = (Integer) meth.invoke(instance, argList); in run() 253 Integer boxedIntVal = (Integer) field.get(instance); in run() 256 field.set(instance, new Integer(20202)); in run() 359 args = new Object[] { new Integer(7), new Float(3.3333) }; in run() 467 public Map<Integer,String> fancyMethod(ArrayList<String> blah) { return null; } in fancyMethod()
|
/art/test/019-wrong-array-type/src/ |
D | Main.java | 27 objArray[0] = new Integer(1); in main()
|
/art/test/ThreadStress/ |
D | ThreadStress.java | 107 Map<Operation, Integer> distribution = new HashMap<Operation, Integer>(); in main() 109 Integer ops = distribution.get(operation); in main()
|
/art/test/050-sync-test/src/ |
D | Main.java | 131 private Integer[] mWaitOnMe; // any type of object will do 137 mWaitOnMe = new Integer[] { 1, 2 }; in SleepyThread()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1209 reg_line->SetRegisterType(arg_start + cur_arg, reg_types_.Integer()); in SetTypesFromSignature() 1738 work_line_->SetRegisterType(inst->VRegA_12x(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 1783 work_line_->SetRegisterType(inst->VRegA_23x(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 1795 work_line_->SetRegisterType(inst->VRegA_23x(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 1806 work_line_->SetRegisterType(inst->VRegA_23x(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 1825 work_line_->VerifyRegisterType(inst->VRegA_31t(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 2005 VerifyAGet(inst, reg_types_.Integer(), true); in CodeFlowVerifyInstruction() 2027 VerifyAPut(inst, reg_types_.Integer(), true); in CodeFlowVerifyInstruction() 2049 VerifyISGet(inst, reg_types_.Integer(), true, false); in CodeFlowVerifyInstruction() 2071 VerifyISPut(inst, reg_types_.Integer(), true, false); in CodeFlowVerifyInstruction() [all …]
|
/art/test/002-sleep/src/ |
D | Main.java | 6 millis = Integer.parseInt(args[0]); in main()
|
/art/test/101-fibonacci/src/ |
D | Main.java | 48 int x = Integer.parseInt(arg); in main()
|
/art/test/094-pattern/src/ |
D | Main.java | 90 sb.append(Integer.toHexString((int) text.charAt(i))); in getStringAsHex()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 201 assertEquals(message, new Integer(expected), new Integer(actual)); in assertEquals()
|