/art/test/567-checker-builder-intrinsics/src/ |
D | TestCompare.java | 348 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)(Short.MIN_VALUE + 1))); in testCompareShorts() 349 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)-1)); in testCompareShorts() 350 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)0)); in testCompareShorts() 351 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)1)); in testCompareShorts() 352 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)Short.MAX_VALUE)); in testCompareShorts() 357 expectEquals(0, compareShorts(Short.MIN_VALUE, Short.MIN_VALUE)); in testCompareShorts() 361 expectEquals(0, compareShorts(Short.MAX_VALUE, Short.MAX_VALUE)); in testCompareShorts() 366 expectEquals(1, compareShorts(Short.MAX_VALUE, Short.MIN_VALUE)); in testCompareShorts() 367 expectEquals(1, compareShorts(Short.MAX_VALUE, (short)-1)); in testCompareShorts() 368 expectEquals(1, compareShorts(Short.MAX_VALUE, (short)0)); in testCompareShorts() [all …]
|
D | TestSignum.java | 137 expectEquals(-1, signShort((short)Short.MIN_VALUE)); in testSignShort() 143 expectEquals(1, signShort((short)Short.MAX_VALUE)); in testSignShort()
|
/art/test/712-varhandle-invocations/src/ |
D | SampleValues.java | 33 public static final Short[] SHORTS = 34 new Short[] {(short) -32768, (short) -384, (short) 32767, (short) 0xaa55}; 86 public static Short get_Short(int index) { in get_Short()
|
D | VarHandleUnitTest.java | 68 assertEquals(Short.valueOf(expected), Short.valueOf(actual)); in assertEquals()
|
/art/test/904-object-allocation/ |
D | expected-stdout.txt | 2 …ng.Integer/java.lang.Integer size 16, ObjectAllocated type java.lang.Short/java.lang.Short size 16]
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 4010 assertIntEquals(Short.MAX_VALUE, $noinline$floatToIntToShort((float)(Short.MIN_VALUE - 1))); in main() 4011 assertIntEquals(Short.MIN_VALUE, $noinline$floatToIntToShort((float)(Short.MAX_VALUE + 1))); in main() 4021 assertIntEquals(Short.MIN_VALUE, $noinline$shortToCharToShort(Short.MIN_VALUE)); in main() 4022 assertIntEquals(Short.MAX_VALUE, $noinline$shortToCharToShort(Short.MAX_VALUE)); in main() 4024 assertIntEquals(Short.MIN_VALUE, $noinline$shortToLongToInt(Short.MIN_VALUE)); in main() 4025 assertIntEquals(Short.MAX_VALUE, $noinline$shortToLongToInt(Short.MAX_VALUE)); in main() 4028 assertIntEquals(0, $noinline$shortToCharToByte(Short.MIN_VALUE)); in main() 4029 assertIntEquals(-1, $noinline$shortToCharToByte(Short.MAX_VALUE)); in main() 4049 assertIntEquals(Short.MAX_VALUE, $noinline$intAnd0x17fffToShort(Integer.MAX_VALUE)); in main() 4055 assertDoubleEquals((double)Short.MAX_VALUE, in main() [all …]
|
/art/test/952-invoke-custom/src/ |
D | TestReturnValues.java | 285 Short.MIN_VALUE, Short.MAX_VALUE, (short) Short.SIZE, (short) -Short.SIZE in testShortReturnValues()
|
/art/test/2269-checker-constant-folding-instrinsics/src/ |
D | Main.java | 358 $noinline$assertShortEquals((short) (-129), Short.reverseBytes(Short.MAX_VALUE)); in $noinline$testReverseBytesShort() 359 $noinline$assertShortEquals((short) (128), Short.reverseBytes(Short.MIN_VALUE)); in $noinline$testReverseBytesShort() 360 $noinline$assertShortEquals((short) (0), Short.reverseBytes((short) 0)); in $noinline$testReverseBytesShort() 362 $noinline$assertShortEquals((short) (0x5555), Short.reverseBytes((short) 0x5555)); in $noinline$testReverseBytesShort() 364 $noinline$assertShortEquals((short) (0xAAAA), Short.reverseBytes((short) 0xAAAA)); in $noinline$testReverseBytesShort() 366 $noinline$assertShortEquals((short) (0x0123), Short.reverseBytes((short) 0x2301)); in $noinline$testReverseBytesShort() 367 $noinline$assertShortEquals((short) (0x4567), Short.reverseBytes((short) 0x6745)); in $noinline$testReverseBytesShort() 368 $noinline$assertShortEquals((short) (0x89AB), Short.reverseBytes((short) 0xAB89)); in $noinline$testReverseBytesShort() 369 $noinline$assertShortEquals((short) (0xCDEF), Short.reverseBytes((short) 0xEFCD)); in $noinline$testReverseBytesShort() 370 $noinline$assertShortEquals((short) (0xFEDC), Short.reverseBytes((short) 0xDCFE)); in $noinline$testReverseBytesShort() [all …]
|
/art/test/460-multiple-returns3/src/ |
D | Main.java | 23 short result = (Short) m.invoke(null); in main()
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 99 int signExtensionSize = Integer.SIZE - Short.SIZE; 101 int signBit = Short.SIZE - 1; 117 for (int i = 0; i < Short.SIZE; i++) {
|
/art/test/045-reflect-array/src/ |
D | Main.java | 126 Object shortArray = Array.newInstance(Short.TYPE, 1); in testSingleShort() 132 Short box = (Short) Array.get(shortArray, 0); in testSingleShort()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | CodeTranslator.java | 214 private Map<Short,Integer> createTryHandlerOffsetToIndexMap(CodeItem codeItem) { in createTryHandlerOffsetToIndexMap() 216 List<Short> uniqueOffsets = new ArrayList<Short>(); in createTryHandlerOffsetToIndexMap() 241 Map<Short,Integer> offsetIndexMap = new HashMap<Short,Integer>(); in createTryHandlerOffsetToIndexMap() 253 Map<Short,Integer> offsetIndexMap = createTryHandlerOffsetToIndexMap(codeItem); in readTryBlocks() 359 Map<Short,Integer> offsetIndexMap = createTryHandlerOffsetToIndexMap(codeItem); in updateTryBlocks()
|
/art/test/904-object-allocation/src/art/ |
D | Test904.java | 38 Short.class.getName(); in prefetchClassNames() 64 l.add(new Short((short)0)); in doTest()
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 88 Short, enumConstant 504 short shortValue = value instanceof Short ? ((Short) value).shortValue() : (short) 0; in tryAccessor() 506 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.IPUT)); in tryAccessor() 508 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.SPUT)); in tryAccessor() 510 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.IGET)); in tryAccessor() 512 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.SGET)); in tryAccessor() 616 Short boxed = new Short(s); in main() 618 valueHolder, PrimitiveType.Short, boxed, AccessorType.IPUT); in main() 620 valueHolder, PrimitiveType.Short, boxed, AccessorType.IGET); in main() 623 valueHolder, PrimitiveType.Short, boxed, AccessorType.SPUT); in main() [all …]
|
/art/test/044-proxy/src/ |
D | ReturnsAndArgPassing.java | 139 myHandler.returnType = Short.class; in testProxyReturns() 140 check(proxyMyInterface.shortFoo() == Short.MAX_VALUE); in testProxyReturns() 144 check(proxyMyInterface.shortBar() == Short.MIN_VALUE); in testProxyReturns() 386 myHandler.returnType = Short.class; // Short -> byte == fail in testProxyReturns()
|
/art/test/ti-agent/ |
D | scoped_primitive_array.h | 96 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short); 146 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 534 final short MAX_S = Short.MAX_VALUE; in run() 535 final short MIN_S = Short.MAX_VALUE; in run()
|
/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/988-method-trace/src/art/ |
D | Test988Intrinsics.java | 40 java.lang.Short.class.toString(); in initialize() 82 java.lang.Short.reverseBytes((short) 0); in test()
|
/art/test/2263-method-trace-jit/src/art/ |
D | Test988Intrinsics.java | 40 java.lang.Short.class.toString(); in initialize() 82 java.lang.Short.reverseBytes((short) 0); in test()
|
/art/test/021-string2/src/junit/framework/ |
D | Assert.java | 186 assertEquals(message, new Short(expected), new Short(actual)); in assertEquals()
|