/art/test/567-checker-compare/src/ |
D | Main.java | 396 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)(Short.MIN_VALUE + 1))); in testCompareShorts() 397 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)-1)); in testCompareShorts() 398 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)0)); in testCompareShorts() 399 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)1)); in testCompareShorts() 400 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)Short.MAX_VALUE)); in testCompareShorts() 405 expectEquals(0, compareShorts(Short.MIN_VALUE, Short.MIN_VALUE)); in testCompareShorts() 409 expectEquals(0, compareShorts(Short.MAX_VALUE, Short.MAX_VALUE)); in testCompareShorts() 414 expectEquals(1, compareShorts(Short.MAX_VALUE, Short.MIN_VALUE)); in testCompareShorts() 415 expectEquals(1, compareShorts(Short.MAX_VALUE, (short)-1)); in testCompareShorts() 416 expectEquals(1, compareShorts(Short.MAX_VALUE, (short)0)); in testCompareShorts() [all …]
|
/art/test/904-object-allocation/ |
D | expected.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 | 2302 assertIntEquals(Short.MAX_VALUE, $noinline$floatToIntToShort((float)(Short.MIN_VALUE - 1))); in main() 2303 assertIntEquals(Short.MIN_VALUE, $noinline$floatToIntToShort((float)(Short.MAX_VALUE + 1))); in main() 2313 assertIntEquals(Short.MIN_VALUE, $noinline$shortToCharToShort(Short.MIN_VALUE)); in main() 2314 assertIntEquals(Short.MAX_VALUE, $noinline$shortToCharToShort(Short.MAX_VALUE)); in main() 2316 assertIntEquals(Short.MIN_VALUE, $noinline$shortToLongToInt(Short.MIN_VALUE)); in main() 2317 assertIntEquals(Short.MAX_VALUE, $noinline$shortToLongToInt(Short.MAX_VALUE)); in main() 2320 assertIntEquals(0, $noinline$shortToCharToByte(Short.MIN_VALUE)); in main() 2321 assertIntEquals(-1, $noinline$shortToCharToByte(Short.MAX_VALUE)); in main() 2335 assertIntEquals(Short.MAX_VALUE, $noinline$intAnd0x17fffToShort(Integer.MAX_VALUE)); in main() 2341 assertDoubleEquals((double)Short.MAX_VALUE, in main() [all …]
|
/art/test/460-multiple-returns3/src/ |
D | Main.java | 27 short result = (Short) m.invoke(null); in main()
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 105 int signExtensionSize = Integer.SIZE - Short.SIZE; 107 int signBit = Short.SIZE - 1; 123 for (int i = 0; i < Short.SIZE; i++) {
|
/art/test/566-checker-signum/src/ |
D | Main.java | 153 expectEquals(-1, signShort((short)Short.MIN_VALUE)); in testSignShort() 159 expectEquals(1, signShort((short)Short.MAX_VALUE)); in testSignShort()
|
/art/test/904-object-allocation/src/art/ |
D | Test904.java | 38 Short.class.getName(); in prefetchClassNames() 63 l.add(new Short((short)0)); in doTest()
|
/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/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 71 Short, enumConstant 487 short shortValue = value instanceof Short ? ((Short)value).shortValue() : (short)0; in tryAccessor() 489 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.IPUT)); in tryAccessor() 491 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.SPUT)); in tryAccessor() 493 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.IGET)); in tryAccessor() 495 resultFor(primitive, PrimitiveType.Short, accessor, AccessorType.SGET)); in tryAccessor() 599 Short boxed = new Short(s); in main() 601 valueHolder, PrimitiveType.Short, boxed, AccessorType.IPUT); in main() 603 valueHolder, PrimitiveType.Short, boxed, AccessorType.IGET); in main() 606 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/988-method-trace/src/art/ |
D | Test988Intrinsics.java | 38 java.lang.Short.class.toString(); in initialize() 80 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()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 186 assertEquals(message, new Short(expected), new Short(actual)); in assertEquals()
|
/art/test/093-serialization/src/ |
D | Main.java | 113 Short eight;
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 55 inline const ShortType& RegTypeCache::Short() { in Short() function
|
D | reg_type_cache.h | 116 const ShortType& Short() REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/test/800-smali/smali/ |
D | sameFieldNames.smali | 20 .field static public a:Ljava/lang/Short;
|
/art/test/082-inline-execute/src/ |
D | Main.java | 1279 Short.reverseBytes((short)0x1357); 1280 Assert.assertEquals(Short.reverseBytes((short)0x0000), (short)0x0000); 1281 Assert.assertEquals(Short.reverseBytes((short)0xffff), (short)0xffff); 1282 Assert.assertEquals(Short.reverseBytes((short)0x8000), (short)0x0080); 1283 Assert.assertEquals(Short.reverseBytes((short)0x0080), (short)0x8000); 1284 Assert.assertEquals(Short.reverseBytes((short)0x0123), (short)0x2301); 1285 Assert.assertEquals(Short.reverseBytes((short)0x4567), (short)0x6745); 1286 Assert.assertEquals(Short.reverseBytes((short)0x89ab), (short)0xab89); 1287 Assert.assertEquals(Short.reverseBytes((short)0xcdef), (short)0xefcd); 1436 poke_short = io_memory.getDeclaredMethod("pokeShort", Long.TYPE, Short.TYPE, Boolean.TYPE);
|
/art/test/956-methodhandles/src/ |
D | Main.java | 947 Short s = (Short) mh.invokeExact(LARGE, SMALL); in testPrimitiveReturnValueConversions() 952 Short s = (Short) mh.invoke(LARGE, SMALL); in testPrimitiveReturnValueConversions() 1174 mh.invoke(vat, Short.MAX_VALUE, Short.MIN_VALUE, Short.valueOf((short) 0))); in testVariableArity()
|
/art/runtime/ |
D | art_field-inl.h | 175 FIELD_GET(object, Short); in GetShort() 181 FIELD_SET(object, Short, s); in SetShort()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 221 ART_GET_FIELD_FROM_CODE(Short, int16_t, ssize_t, uint16_t, Primitive, false, )
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 507 fail("Unexpected value: " + Short.toString(value)); in testIdentity() 1068 public static int spreadShort(String a, Short b, short c, in spreadShort() 1163 String.class, Short.class, short.class, in testSpreaders_primitive()
|
/art/test/100-reflect2/src/ |
D | Main.java | 100 f.set(null, Short.valueOf((short) 14)); in testFieldReflection()
|