/art/test/055-enum-performance/src/ |
D | Main.java | 80 System.out.println(Enum.valueOf(c, "FOUR")); in preTest() 81 System.out.println(Enum.valueOf(c, "ONE")); in preTest() 82 System.out.println(Enum.valueOf(c, "FOURTEEN")); in preTest() 83 System.out.println(Enum.valueOf(c, "NINE")); in preTest() 84 System.out.println(Enum.valueOf(c, "FIVE")); in preTest() 85 System.out.println(Enum.valueOf(c, "TWELVE")); in preTest() 87 System.out.println(Enum.valueOf(c, "ZERO").getClass().getName()); in preTest() 135 Enum.valueOf(c, "ZERO"); in test1() 136 Enum.valueOf(c, "ONE"); in test1() 137 Enum.valueOf(c, "TWO"); in test1() [all …]
|
/art/test/952-invoke-custom/src/ |
D | Main.java | 53 TestLinkerMethodWithRange.test(Double.valueOf(1.0), null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange() 54 Double.valueOf(37.0), null); in TestLinkerMethodWithRange() 55 TestLinkerMethodWithRange.test(null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange() 56 Double.valueOf(37.0), null, Double.valueOf(113.0)); in TestLinkerMethodWithRange() 57 TestLinkerMethodWithRange.test(Double.valueOf(1.0), Double.valueOf(2.0), in TestLinkerMethodWithRange() 58 Double.valueOf(3.0), Double.valueOf(5.0), in TestLinkerMethodWithRange() 59 Double.valueOf(7.0), Double.valueOf(11.0)); in TestLinkerMethodWithRange()
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTest.java | 56 assertEquals(Boolean.valueOf(expected), Boolean.valueOf(actual)); in assertEquals() 60 assertEquals(Byte.valueOf(expected), Byte.valueOf(actual)); in assertEquals() 64 assertEquals(Character.valueOf(expected), Character.valueOf(actual)); in assertEquals() 68 assertEquals(Short.valueOf(expected), Short.valueOf(actual)); in assertEquals() 72 assertEquals(Integer.valueOf(expected), Integer.valueOf(actual)); in assertEquals() 76 assertEquals(Long.valueOf(expected), Long.valueOf(actual)); in assertEquals() 80 assertEquals(Float.valueOf(expected), Float.valueOf(actual)); in assertEquals() 84 assertEquals(Double.valueOf(expected), Double.valueOf(actual)); in assertEquals()
|
/art/test/640-checker-integer-valueof/src/ |
D | Main.java | 24 return Integer.valueOf(a); in foo() 32 return Integer.valueOf(-42); in foo2() 40 return Integer.valueOf(42); in foo3() 48 return Integer.valueOf(55555); in foo4() 73 return Byte.valueOf(value).byteValue(); in $noinline$boxUnboxByte() 98 return Short.valueOf(value).shortValue(); in $noinline$boxUnboxShort() 123 return Character.valueOf(value).charValue(); in $noinline$boxUnboxCharacter() 148 return Integer.valueOf(value).intValue(); in $noinline$boxUnboxInteger() 206 Byte boxed = Byte.valueOf(value); in $noinline$boxUnboxByteAsUint8()
|
/art/test/684-select-condition/src/ |
D | Main.java | 22 checkValue(String.valueOf(doIntegerTest1(4)), "0"); in main() 23 checkValue(String.valueOf(doIntegerTest2(4)), "4"); in main() 27 checkValue(String.valueOf($noinline$test()), "1.0"); in main() 29 checkValue(String.valueOf($noinline$test()), "2.0"); in main() 37 float a = (float)Integer.valueOf(s); in doFloatingPointTest()
|
/art/test/956-methodhandles/src/ |
D | Main.java | 675 assertEquals(Integer.valueOf(2), (Integer) valueOfMH.invokeExact(2)); in testAsType() 676 assertEquals(12345678, (int) atMH.invokeExact((Object) Integer.valueOf(12345678))); in testAsType() 677 assertEquals(Integer.valueOf(987654321), (Integer) at2MH.invokeExact(987654321)); in testAsType() 685 assertEquals(Double.valueOf(1.125e3), (Double) valueOfMH.invokeExact(1.125e3)); in testAsType() 686 assertEquals(2.5e-3, (double) atMH.invokeExact((Object) Double.valueOf(2.5e-3))); in testAsType() 687 assertEquals(Double.valueOf(3.125e-2), (Double) at2MH.invokeExact(3.125e-2)); in testAsType() 956 assertEquals((byte) -77, (byte) mhByteValue.invokeExact(Byte.valueOf((byte) -77))); in testReturnValues() 957 assertEquals((byte) -77, (byte) mhByteValue.invoke(Byte.valueOf((byte) -77))); in testReturnValues() 1018 assertEquals((short) 12131, (short) mhShortValue.invokeExact(Short.valueOf((short) 12131))); in testReturnValues() 1019 assertEquals((short) 12131, (short) mhShortValue.invoke(Short.valueOf((short) 12131))); in testReturnValues() [all …]
|
/art/test/175-alloc-big-bignums/src/ |
D | Main.java | 25 final BigInteger big2_20 = BigInteger.valueOf(1024*1024); // 2^20 in main() 26 BigInteger huge = BigInteger.valueOf(1).shiftLeft(4_000_000); // ~0.5MB in main() 32 } else if (huge.mod(big2_20).compareTo(BigInteger.valueOf(nIters)) != 0) { in main()
|
/art/test/713-varhandle-invokers/src/ |
D | Main.java | 109 fieldVarHandle, this, Integer.valueOf(3)); in run() 149 int i = (int) invokerMethodHandle.invoke(fieldVarHandle, this, Integer.valueOf(3)); in run() 153 i = (int) invokerMethodHandle.invoke(fieldVarHandle, this, Short.valueOf((short) 4)); in run() 250 int i = (int) invokerMethodHandle.invoke(fieldVarHandle, this, Integer.valueOf(3)); in run() 258 i = (int) invokerMethodHandle.invoke(fieldVarHandle, this, Byte.valueOf((byte) 34)); in run() 295 i = (int) invokerMethodHandle.invokeExact(fieldVarHandle, this, Integer.valueOf(3)); in run() 369 floatsArray[2] = Float.valueOf(4.0f); in run() 379 Float.valueOf(4.0f), in run() 443 floatsArray[2] = Float.valueOf(4.0f); in run() 451 Float.valueOf(4.0f), in run()
|
/art/test/1965-get-set-local-primitive-no-tables/jasmin/ |
D | TestCases1965.j | 65 13: invokestatic java/lang/Boolean/valueOf(Z)Ljava/lang/Boolean; 80 14: invokestatic java/lang/Byte/valueOf(B)Ljava/lang/Byte; 95 14: invokestatic java/lang/Character/valueOf(C)Ljava/lang/Character; 110 15: invokestatic java/lang/Short/valueOf(S)Ljava/lang/Short; 125 14: invokestatic java/lang/Integer/valueOf(I)Ljava/lang/Integer; 140 15: invokestatic java/lang/Long/valueOf(J)Ljava/lang/Long; 155 14: invokestatic java/lang/Float/valueOf(F)Ljava/lang/Float; 170 15: invokestatic java/lang/Double/valueOf(D)Ljava/lang/Double;
|
/art/test/414-static-fields/src/ |
D | TestCase.java | 27 String.valueOf(expected) + ", got " + String.valueOf(value)); in assertSame() 34 "Objects are the same: " + String.valueOf(expected)); in assertNotSame() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals()
|
/art/test/407-arrays/src/ |
D | TestCase.java | 27 String.valueOf(expected) + ", got " + String.valueOf(value)); in assertSame() 34 "Objects are the same: " + String.valueOf(expected)); in assertNotSame() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals()
|
/art/test/406-fields/src/ |
D | TestCase.java | 27 String.valueOf(expected) + ", got " + String.valueOf(value)); in assertSame() 34 "Objects are the same: " + String.valueOf(expected)); in assertNotSame() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals()
|
/art/test/412-new-array/src/ |
D | TestCase.java | 27 String.valueOf(expected) + ", got " + String.valueOf(value)); in assertSame() 34 "Objects are the same: " + String.valueOf(expected)); in assertNotSame() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals()
|
/art/test/100-reflect2/src/ |
D | Main.java | 85 f.set(null, Boolean.valueOf(true)); in testFieldReflection() 87 f.set(null, Byte.valueOf((byte) 6)); in testFieldReflection() 89 f.set(null, Character.valueOf('z')); in testFieldReflection() 91 f.set(null, Double.valueOf(1.3)); in testFieldReflection() 93 f.set(null, Float.valueOf(1.3f)); in testFieldReflection() 95 f.set(null, Integer.valueOf(30)); in testFieldReflection() 97 f.set(null, Long.valueOf(62)); in testFieldReflection() 98 f.set(null, Integer.valueOf(62)); in testFieldReflection() 100 f.set(null, Short.valueOf((short) 14)); in testFieldReflection() 121 f.set(null, Integer.valueOf(14)); in testFieldReflection()
|
/art/test/466-get-live-vreg/src/ |
D | Main.java | 56 if ($noinline$testLiveArgument(staticField3, Integer.valueOf(1)) != staticField3 + 1) { in main() 60 if ($noinline$testLiveArgument(staticField3,Integer.valueOf(1)) != staticField3 + 1) { in main()
|
/art/test/1965-get-set-local-primitive-no-tables/smali/ |
D | TestCases1965.smali | 32 invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; 44 invoke-static {v0}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte; 56 invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character; 68 invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double; 80 invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float; 92 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; 104 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; 136 invoke-static {v0}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short;
|
/art/test/1954-pop-frame-jit/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1916-get-set-current-frame/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1928-exception-event-exception/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1925-self-frame-pop/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/993-breakpoints/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1968-force-early-return/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1926-missed-frame-pop/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|
/art/test/1953-pop-frame/src/art/ |
D | Breakpoint.java | 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 139 return Long.valueOf(location).compareTo(Long.valueOf(other.location)); in compareTo()
|