/art/test/567-checker-builder-intrinsics/src/ |
D | TestCompare.java | 313 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)(Byte.MIN_VALUE + 1))); in testCompareBytes() 314 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)-1)); in testCompareBytes() 315 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)0)); in testCompareBytes() 316 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)1)); in testCompareBytes() 317 expectEquals(-1, compareBytes(Byte.MIN_VALUE, Byte.MAX_VALUE)); in testCompareBytes() 322 expectEquals(0, compareBytes(Byte.MIN_VALUE, Byte.MIN_VALUE)); in testCompareBytes() 326 expectEquals(0, compareBytes(Byte.MAX_VALUE, Byte.MAX_VALUE)); in testCompareBytes() 331 expectEquals(1, compareBytes(Byte.MAX_VALUE, Byte.MIN_VALUE)); in testCompareBytes() 332 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)-1)); in testCompareBytes() 333 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)0)); in testCompareBytes() [all …]
|
D | TestSignum.java | 127 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte() 133 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()
|
/art/test/580-crc32/src/ |
D | Main.java | 276 CRC32BytesUsingUpdateInt(0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE), in TestCRC32UpdateBytes() 277 CRC32ByteArray(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE})); in TestCRC32UpdateBytes() 279 CRC32BytesUsingUpdateInt(0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE), in TestCRC32UpdateBytes() 280 CRC32ByteArray(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE}, 0, 4)); in TestCRC32UpdateBytes() 293 CRC32BytesUsingUpdateInt(0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE), in TestCRC32UpdateBytes() 294 CRC32ByteAndByteArray(0, new byte[] {-1, Byte.MIN_VALUE, Byte.MAX_VALUE})); in TestCRC32UpdateBytes() 307 CRC32BytesUsingUpdateInt(0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE), in TestCRC32UpdateBytes() 308 CRC32ByteArrayAndByte(new byte[] {0, -1, Byte.MIN_VALUE}, Byte.MAX_VALUE)); in TestCRC32UpdateBytes() 376 CRC32BytesUsingUpdateInt(0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE), in TestCRC32UpdateByteBuffer() 377 CRC32ByteBuffer(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE}, 0, 4)); in TestCRC32UpdateByteBuffer() [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | SampleValues.java | 27 public static final Byte[] BYTES = 28 new Byte[] {(byte) -128, (byte) -61, (byte) 7, (byte) 127, (byte) 33}; 78 public static Byte get_Byte(int index) { in get_Byte()
|
D | VarHandleArrayTests.java | 124 final int u0 = Byte.toUnsignedInt(b0); in toHost() 125 final int u1 = Byte.toUnsignedInt(b1); in toHost() 134 final int u0 = Byte.toUnsignedInt(b0); in toHost() 135 final int u1 = Byte.toUnsignedInt(b1); in toHost() 136 final int u2 = Byte.toUnsignedInt(b2); in toHost() 137 final int u3 = Byte.toUnsignedInt(b3); in toHost()
|
D | VarHandleUnitTest.java | 60 assertEquals(Byte.valueOf(expected), Byte.valueOf(actual)); in assertEquals()
|
/art/test/640-checker-integer-valueof/src/ |
D | Main.java | 73 return Byte.valueOf(value).byteValue(); in $noinline$boxUnboxByte() 206 Byte boxed = Byte.valueOf(value); in $noinline$boxUnboxByteAsUint8() 212 Byte merged = $inline$returnTrue() ? boxed : null; in $noinline$boxUnboxByteAsUint8()
|
/art/test/904-object-allocation/src/art/ |
D | Test904.java | 39 Byte.class.getName(); in prefetchClassNames() 68 l.add(new Byte((byte)0)); in doTest() 76 l.add(new Byte((byte)0)); in doTest() 90 l.add(new Byte((byte)0)); in doTest()
|
/art/test/457-regs/src/ |
D | Main.java | 25 m.invoke(null, new Boolean(true), new Byte((byte)2)); in main() 27 m.invoke(null, new Boolean(true), new Byte((byte)2)); in main()
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 74 int signExtensionSize = Integer.SIZE - Byte.SIZE; in testBitCountByte() 76 int signBit = Byte.SIZE - 1; in testBitCountByte() 90 for (int i = 0; i < Byte.SIZE; i++) { in testBitCountByte()
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 86 Byte, enumConstant 484 byte byteValue = value instanceof Byte ? ((Byte) value).byteValue() : (byte) 0; in tryAccessor() 486 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT)); in tryAccessor() 488 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT)); in tryAccessor() 490 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IGET)); in tryAccessor() 492 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SGET)); in tryAccessor() 586 Byte boxed = new Byte(b); in main() 588 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IPUT); in main() 590 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IGET); in main() 593 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SPUT); in main() [all …]
|
/art/test/1338-gc-no-los/src-art/ |
D | Main.java | 27 byte[] arr2 = (byte[])VMRuntime.getRuntime().newNonMovableArray(Byte.TYPE, 200); in main()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Value.java | 198 public Byte asByte() { in asByte() 275 public Byte asByte() { in asByte() 286 return Byte.toString(mByte); in toString()
|
/art/test/ti-agent/ |
D | scoped_primitive_array.h | 90 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jbyte, Byte); 140 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jbyte, Byte);
|
/art/test/1970-force-early-return-long/src/art/ |
D | NonStandardExit.java | 31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
|
/art/test/1971-multi-force-early-return/src/art/ |
D | NonStandardExit.java | 31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
|
/art/test/jvmti-common/ |
D | NonStandardExit.java | 31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
|
/art/test/1968-force-early-return/src/art/ |
D | NonStandardExit.java | 31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
|
/art/test/1969-force-early-return-void/src/art/ |
D | NonStandardExit.java | 31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
|
/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 121 myHandler.returnType = Byte.class; in testProxyReturns() 122 check(proxyMyInterface.byteFoo() == Byte.MAX_VALUE); in testProxyReturns() 126 check(proxyMyInterface.byteBar() == Byte.MIN_VALUE); in testProxyReturns()
|
/art/test/021-string2/src/junit/framework/ |
D | Assert.java | 160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
|
/art/test/952-invoke-custom/src/ |
D | TestReturnValues.java | 210 byte[] values = {Byte.MIN_VALUE, Byte.MAX_VALUE}; in testByteReturnValues()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
|
/art/test/093-serialization/src/ |
D | Main.java | 111 private Byte six = 26;
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 3999 assertIntEquals(Byte.MIN_VALUE, $noinline$byteToDoubleToInt(Byte.MIN_VALUE)); in main() 4000 assertIntEquals(Byte.MAX_VALUE, $noinline$byteToDoubleToInt(Byte.MAX_VALUE)); in main() 4004 assertIntEquals(Byte.MIN_VALUE, $noinline$byteToDoubleToShort(Byte.MIN_VALUE)); in main() 4005 assertIntEquals(Byte.MAX_VALUE, $noinline$byteToDoubleToShort(Byte.MAX_VALUE)); in main()
|