Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 58) sorted by relevance

123

/art/test/567-checker-builder-intrinsics/src/
DTestCompare.java313 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 …]
DTestSignum.java122 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte()
128 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()
/art/test/580-crc32/src/
DMain.java276 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/
DSampleValues.java27 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()
DVarHandleUnitTest.java58 assertEquals(Byte.valueOf(expected), Byte.valueOf(actual)); in assertEquals()
/art/test/904-object-allocation/src/art/
DTest904.java39 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/564-checker-bitcount/src/
DMain.java80 int signExtensionSize = Integer.SIZE - Byte.SIZE; in testBitCountByte()
82 int signBit = Byte.SIZE - 1; in testBitCountByte()
96 for (int i = 0; i < Byte.SIZE; i++) { in testBitCountByte()
/art/test/1338-gc-no-los/src-art/
DMain.java27 byte[] arr2 = (byte[])VMRuntime.getRuntime().newNonMovableArray(Byte.TYPE, 200); in main()
/art/test/457-regs/src/
DMain.java29 m.invoke(null, new Boolean(true), new Byte((byte)2)); in main()
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java84 Byte, enumConstant
482 byte byteValue = value instanceof Byte ? ((Byte) value).byteValue() : (byte) 0; in tryAccessor()
484 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT)); in tryAccessor()
486 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT)); in tryAccessor()
488 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IGET)); in tryAccessor()
490 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SGET)); in tryAccessor()
584 Byte boxed = new Byte(b); in main()
586 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IPUT); in main()
588 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IGET); in main()
591 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SPUT); in main()
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DValue.java197 public Byte asByte() { in asByte()
274 public Byte asByte() { in asByte()
285 return Byte.toString(mByte); in toString()
/art/test/1968-force-early-return/src/art/
DNonStandardExit.java31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
/art/test/1969-force-early-return-void/src/art/
DNonStandardExit.java31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
/art/test/1970-force-early-return-long/src/art/
DNonStandardExit.java31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
/art/test/1971-multi-force-early-return/src/art/
DNonStandardExit.java31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
/art/test/jvmti-common/
DNonStandardExit.java31 if (n instanceof Integer || n instanceof Short || n instanceof Byte) { in forceEarlyReturn()
/art/test/ti-agent/
Dscoped_primitive_array.h90 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jbyte, Byte);
140 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jbyte, Byte);
/art/test/458-checker-instruct-simplification/src/
DMain.java2636 assertIntEquals(Byte.MIN_VALUE, $noinline$byteToDoubleToInt(Byte.MIN_VALUE)); in main()
2637 assertIntEquals(Byte.MAX_VALUE, $noinline$byteToDoubleToInt(Byte.MAX_VALUE)); in main()
2641 assertIntEquals(Byte.MIN_VALUE, $noinline$byteToDoubleToShort(Byte.MIN_VALUE)); in main()
2642 assertIntEquals(Byte.MAX_VALUE, $noinline$byteToDoubleToShort(Byte.MAX_VALUE)); in main()
/art/test/093-serialization/src/
DMain.java111 private Byte six = 26;
/art/test/021-string2/src/junit/framework/
DAssert.java160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
/art/test/952-invoke-custom/src/
DTestReturnValues.java210 byte[] values = {Byte.MIN_VALUE, Byte.MAX_VALUE}; in testByteReturnValues()
/art/test/044-proxy/src/
DReturnsAndArgPassing.java121 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/1979-threaded-structural-transformation/src/art/
DTest1979.java46 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()
/art/test/1982-no-virtuals-structural-redefinition/src/art/
DTest1982.java44 if (oc.isArray() && oc.getComponentType() == Byte.TYPE) { in printGeneric()

123