/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/458-checker-instruction-simplification/src/ |
D | Main.java | 1772 assertIntEquals(Short.MAX_VALUE, floatToIntToShort((float)(Short.MIN_VALUE - 1))); in main() 1773 assertIntEquals(Short.MIN_VALUE, floatToIntToShort((float)(Short.MAX_VALUE + 1))); in main() 1783 assertIntEquals(Short.MIN_VALUE, shortToCharToShort(Short.MIN_VALUE)); in main() 1784 assertIntEquals(Short.MAX_VALUE, shortToCharToShort(Short.MAX_VALUE)); in main() 1786 assertIntEquals(Short.MIN_VALUE, shortToLongToInt(Short.MIN_VALUE)); in main() 1787 assertIntEquals(Short.MAX_VALUE, shortToLongToInt(Short.MAX_VALUE)); in main() 1790 assertIntEquals(0, shortToCharToByte(Short.MIN_VALUE)); in main() 1791 assertIntEquals(-1, shortToCharToByte(Short.MAX_VALUE)); in main() 1805 assertIntEquals(Short.MAX_VALUE, intAnd0x17fffToShort(Integer.MAX_VALUE)); in main() 1811 assertDoubleEquals((double)Short.MAX_VALUE, shortAnd0xffffToShortToDouble(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/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() 352 Map<Short,Integer> offsetIndexMap = createTryHandlerOffsetToIndexMap(codeItem); in updateTryBlocks()
|
/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/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/test/800-smali/smali/ |
D | sameFieldNames.smali | 20 .field static public a:Ljava/lang/Short;
|
/art/test/082-inline-execute/src/ |
D | Main.java | 1219 Short.reverseBytes((short)0x1357); 1220 Assert.assertEquals(Short.reverseBytes((short)0x0000), (short)0x0000); 1221 Assert.assertEquals(Short.reverseBytes((short)0xffff), (short)0xffff); 1222 Assert.assertEquals(Short.reverseBytes((short)0x8000), (short)0x0080); 1223 Assert.assertEquals(Short.reverseBytes((short)0x0080), (short)0x8000); 1224 Assert.assertEquals(Short.reverseBytes((short)0x0123), (short)0x2301); 1225 Assert.assertEquals(Short.reverseBytes((short)0x4567), (short)0x6745); 1226 Assert.assertEquals(Short.reverseBytes((short)0x89ab), (short)0xab89); 1227 Assert.assertEquals(Short.reverseBytes((short)0xcdef), (short)0xefcd); 1376 poke_short = io_memory.getDeclaredMethod("pokeShort", Long.TYPE, Short.TYPE, Boolean.TYPE);
|
/art/runtime/ |
D | art_field-inl.h | 170 FIELD_GET(object, Short); in GetShort() 175 FIELD_SET(object, Short, s); in SetShort()
|
D | jni_internal.cc | 1291 GET_PRIMITIVE_FIELD(Short, obj); in GetShortField() 1323 GET_STATIC_PRIMITIVE_FIELD(Short); in GetStaticShortField() 1371 SET_PRIMITIVE_FIELD(Short, obj, v); in SetShortField() 1403 SET_STATIC_PRIMITIVE_FIELD(Short, v); in SetStaticShortField()
|
D | jni_internal_test.cc | 1764 EXPECT_STATIC_PRIMITIVE_FIELD(EXPECT_EQ, Short, "sS", "S", 1, 2); in TEST_F() 1773 EXPECT_PRIMITIVE_FIELD(EXPECT_EQ, o, Short, "iS", "S", 1, 2); in TEST_F()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 100 const ShortType& Short() SHARED_REQUIRES(Locks::mutator_lock_) { in Short() function
|
D | method_verifier.cc | 1729 reg_line->SetRegisterType<LockOp::kClear>(this, arg_start + cur_arg, reg_types_.Short()); in SetTypesFromSignature() 2704 VerifyAGet(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction() 2726 VerifyAPut(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction() 2748 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true, false); in CodeFlowVerifyInstruction() 2771 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true, false); in CodeFlowVerifyInstruction() 2794 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true, true); in CodeFlowVerifyInstruction() 2817 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true, true); in CodeFlowVerifyInstruction() 3093 work_line_->CheckUnaryOp(this, inst, reg_types_.Short(), reg_types_.Integer()); in CodeFlowVerifyInstruction() 3290 VerifyQuickFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction() 3305 VerifyQuickFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction()
|
D | reg_type_cache.cc | 85 return Short(); in FromDescriptor()
|
D | reg_type.cc | 669 return reg_types->Short(); // short MERGE short => short in Merge()
|
D | reg_type_test.cc | 191 const RegType& short_reg_type = cache.Short(); in TEST_F()
|
/art/test/100-reflect2/src/ |
D | Main.java | 100 f.set(null, Short.valueOf((short) 14)); in testFieldReflection()
|
/art/test/100-reflect2/ |
D | expected.txt | 33 14 (class java.lang.Short)
|
/art/tools/ |
D | libcore_failures.txt | 100 description: "Short date format flag ignored for es_US locale.",
|
/art/test/107-int-math2/src/ |
D | Main.java | 825 res += throwClassCast(new Short((short)321)); in testClassCast()
|