Home
last modified time | relevance | path

Searched refs:Short (Results 1 – 22 of 22) sorted by relevance

/art/test/460-multiple-returns3/src/
DMain.java27 short result = (Short) m.invoke(null); in main()
/art/tools/dexfuzz/src/dexfuzz/program/
DCodeTranslator.java214 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/045-reflect-array/src/
DMain.java126 Object shortArray = Array.newInstance(Short.TYPE, 1); in testSingleShort()
132 Short box = (Short) Array.get(shortArray, 0); in testSingleShort()
/art/test/044-proxy/src/
DReturnsAndArgPassing.java139 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/082-inline-execute/src/junit/framework/
DAssert.java186 assertEquals(message, new Short(expected), new Short(actual)); in assertEquals()
/art/test/021-string2/src/junit/framework/
DAssert.java186 assertEquals(message, new Short(expected), new Short(actual)); in assertEquals()
/art/test/093-serialization/src/
DMain.java113 Short eight;
/art/test/082-inline-execute/src/
DMain.java953 Short.reverseBytes((short)0x1357);
954 Assert.assertEquals(Short.reverseBytes((short)0x0000), (short)0x0000);
955 Assert.assertEquals(Short.reverseBytes((short)0xffff), (short)0xffff);
956 Assert.assertEquals(Short.reverseBytes((short)0x8000), (short)0x0080);
957 Assert.assertEquals(Short.reverseBytes((short)0x0080), (short)0x8000);
958 Assert.assertEquals(Short.reverseBytes((short)0x0123), (short)0x2301);
959 Assert.assertEquals(Short.reverseBytes((short)0x4567), (short)0x6745);
960 Assert.assertEquals(Short.reverseBytes((short)0x89ab), (short)0xab89);
961 Assert.assertEquals(Short.reverseBytes((short)0xcdef), (short)0xefcd);
1069 poke_short = io_memory.getDeclaredMethod("pokeShort", Long.TYPE, Short.TYPE, Boolean.TYPE);
/art/test/800-smali/smali/
DsameFieldNames.smali20 .field static public a:Ljava/lang/Short;
/art/runtime/
Dart_field-inl.h169 FIELD_GET(object, Short); in GetShort()
174 FIELD_SET(object, Short, s); in SetShort()
Djni_internal.cc1296 GET_PRIMITIVE_FIELD(Short, obj); in GetShortField()
1328 GET_STATIC_PRIMITIVE_FIELD(Short); in GetStaticShortField()
1376 SET_PRIMITIVE_FIELD(Short, obj, v); in SetShortField()
1408 SET_STATIC_PRIMITIVE_FIELD(Short, v); in SetStaticShortField()
Djni_internal_test.cc1697 EXPECT_STATIC_PRIMITIVE_FIELD(EXPECT_EQ, Short, "sS", "S", 1, 2); in TEST_F()
1706 EXPECT_PRIMITIVE_FIELD(EXPECT_EQ, o, Short, "iS", "S", 1, 2); in TEST_F()
Dcheck_jni.cc1915 FIELD_ACCESSORS(jshort, Short, Primitive::kPrimShort, S) in FIELD_ACCESSORS()
2028 CALL(jshort, Short, Primitive::kPrimShort, S) in CALL()
2270 PRIMITIVE_ARRAY_FUNCTIONS(jshort, Short, Primitive::kPrimShort) in PRIMITIVE_ARRAY_FUNCTIONS()
/art/runtime/verifier/
Dreg_type_cache.h89 const ShortType& Short() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Short() function
Dmethod_verifier.cc1390 reg_line->SetRegisterType(this, arg_start + cur_arg, reg_types_.Short()); in SetTypesFromSignature()
2270 VerifyAGet(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction()
2292 VerifyAPut(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction()
2314 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true, false); in CodeFlowVerifyInstruction()
2337 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true, false); in CodeFlowVerifyInstruction()
2360 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true, true); in CodeFlowVerifyInstruction()
2383 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true, true); in CodeFlowVerifyInstruction()
2667 work_line_->CheckUnaryOp(this, inst, reg_types_.Short(), reg_types_.Integer()); in CodeFlowVerifyInstruction()
2857 VerifyQuickFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction()
2872 VerifyQuickFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Short(), true); in CodeFlowVerifyInstruction()
Dreg_type_cache.cc79 return Short(); in FromDescriptor()
Dreg_type.cc658 return reg_types->Short(); // short MERGE short => short in Merge()
Dreg_type_test.cc184 const RegType& short_reg_type = cache.Short(); in TEST_F()
/art/tools/
Dlibcore_failures.txt93 description: "Short date format flag ignored for es_US locale.",
/art/test/100-reflect2/src/
DMain.java100 f.set(null, Short.valueOf((short) 14)); in testFieldReflection()
/art/test/100-reflect2/
Dexpected.txt33 14 (class java.lang.Short)
/art/test/107-int-math2/src/
DMain.java823 res += throwClassCast(new Short((short)321)); in testClassCast()