Searched refs:shortArray (Results 1 – 3 of 3) sorted by relevance
/art/test/011-array-copy/src/ |
D | Main.java | 78 short[] shortArray = new short[ARRAY_SIZE]; in makeCopies() local 83 initShortArray(shortArray); in makeCopies() 88 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); in makeCopies() 97 } else if (intArray[i] != shortArray[i]) { in makeCopies() 99 Arrays.toString(shortArray)); in makeCopies()
|
/art/test/045-reflect-array/src/ |
D | Main.java | 126 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/runtime/ |
D | transaction_test.cc | 335 mirror::ShortArray* shortArray = shortArrayField->GetObject(h_klass.Get())->AsShortArray(); in TEST_F() local 336 ASSERT_TRUE(shortArray != nullptr); in TEST_F() 337 ASSERT_EQ(shortArray->GetLength(), 1); in TEST_F() 338 ASSERT_EQ(shortArray->GetWithoutChecks(0), 0); in TEST_F() 391 shortArray->SetWithoutChecks<true>(0, 1); in TEST_F() 404 EXPECT_EQ(shortArray->GetWithoutChecks(0), 0); in TEST_F()
|