Home
last modified time | relevance | path

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

12

/art/test/567-checker-compare/src/
DMain.java342 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)(Byte.MIN_VALUE + 1))); in testCompareBytes()
343 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)-1)); in testCompareBytes()
344 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)0)); in testCompareBytes()
345 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)1)); in testCompareBytes()
346 expectEquals(-1, compareBytes(Byte.MIN_VALUE, Byte.MAX_VALUE)); in testCompareBytes()
351 expectEquals(0, compareBytes(Byte.MIN_VALUE, Byte.MIN_VALUE)); in testCompareBytes()
355 expectEquals(0, compareBytes(Byte.MAX_VALUE, Byte.MAX_VALUE)); in testCompareBytes()
360 expectEquals(1, compareBytes(Byte.MAX_VALUE, Byte.MIN_VALUE)); in testCompareBytes()
361 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)-1)); in testCompareBytes()
362 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)0)); in testCompareBytes()
[all …]
/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/566-checker-signum/src-art/
DMain.java104 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte()
110 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()
/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/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/800-smali/smali/
DsameFieldNames.smali22 .field static public a:Ljava/lang/Byte;
/art/runtime/verifier/
Dreg_type_cache-inl.h52 inline const ByteType& RegTypeCache::Byte() { in Byte() function
/art/test/674-hiddenapi/src-ex/
DChildClass.java29 TByte('B', Byte.TYPE, Byte.valueOf((byte) 0)),
/art/test/082-inline-execute/src/
DMain.java1435 poke_byte = io_memory.getDeclaredMethod("pokeByte", Long.TYPE, Byte.TYPE);
1442 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2);
1451 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3);
1462 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 5);
1475 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 9);
1493 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2);
1503 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3);
1519 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 5);
1533 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 9);
/art/runtime/
Dart_field-inl.h156 FIELD_GET(object, Byte); in GetByte()
162 FIELD_SET(object, Byte, b); in SetByte()
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java252 NamedSet("IntByteSize", Locals::SetLocalVariableInt, Byte.MAX_VALUE - 1));
/art/test/713-varhandle-invokers/src/
DMain.java213 i = (int) invokerMethodHandle.invoke(fieldVarHandle, this, Byte.valueOf((byte) 34)); in run()
/art/test/956-methodhandles/src/
DMain.java882 lookup.findVirtual(Byte.class, "byteValue", MethodType.methodType(byte.class)); in testReturnValues()
883 assertEquals((byte) -77, (byte) mhByteValue.invokeExact(Byte.valueOf((byte) -77))); in testReturnValues()
884 assertEquals((byte) -77, (byte) mhByteValue.invoke(Byte.valueOf((byte) -77))); in testReturnValues()
1293 assertEquals("[32, 64, 97]", mh.invoke(vat, (byte) 32, Byte.valueOf((byte) 64), (byte) 97)); in testVariableArity()
1484 new Number[] { Byte.valueOf((byte) 3), (byte) 3})).lastResult()); in testVariableArity()
1602 assertEquals(Long.valueOf(10l), (Byte) mh.invoke(1, 2, 3, 4)); in testVariableArity()

12