Home
last modified time | relevance | path

Searched refs:shortArray (Results 1 – 4 of 4) sorted by relevance

/art/test/011-array-copy/src/
DMain.java84 short[] shortArray = new short[ARRAY_SIZE]; in makeCopies() local
90 initShortArray(shortArray); in makeCopies()
96 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); in makeCopies()
106 } else if (intArray[i] != shortArray[i]) { in makeCopies()
108 Arrays.toString(shortArray)); in makeCopies()
/art/test/045-reflect-array/src/
DMain.java126 Object shortArray = Array.newInstance(Short.TYPE, 1); in testSingleShort() local
127 Array.setShort(shortArray, 0, (short) -1); in testSingleShort()
128 if (Array.getInt(shortArray, 0) != -1) { in testSingleShort()
132 Short box = (Short) Array.get(shortArray, 0); in testSingleShort()
/art/test/412-new-array/smali/
Dfill_array_data.smali45 .method public static shortArray([S)V
/art/runtime/
Dtransaction_test.cc406 Handle<mirror::ShortArray> shortArray = in TEST_F() local
408 ASSERT_TRUE(shortArray != nullptr); in TEST_F()
409 ASSERT_EQ(shortArray->GetLength(), 1); in TEST_F()
410 ASSERT_EQ(shortArray->GetWithoutChecks(0), 0); in TEST_F()
466 shortArray->SetWithoutChecks<true>(0, 1); in TEST_F()
478 EXPECT_EQ(shortArray->GetWithoutChecks(0), 0); in TEST_F()