Home
last modified time | relevance | path

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

/art/test/011-array-copy/src/
DMain.java80 long[] longArray = new long[ARRAY_SIZE]; in makeCopies() local
85 initLongArray(longArray); in makeCopies()
90 System.arraycopy(longArray, srcPos, longArray, dstPos, length); in makeCopies()
101 } else if (intArray[i] != longArray[i]) { in makeCopies()
103 Arrays.toString(longArray)); in makeCopies()
/art/test/045-reflect-array/src/
DMain.java138 Object longArray = Array.newInstance(Long.TYPE, 2); in testSingleLong() local
139 Array.setInt(longArray, 0, 123); in testSingleLong()
140 Array.setLong(longArray, 1, 0x1122334455667788L); in testSingleLong()
142 Array.getInt(longArray, 0); in testSingleLong()
146 long[] array = (long[]) longArray; in testSingleLong()
151 float f = Array.getFloat(longArray, 0); in testSingleLong()
155 if (Array.getLong(longArray, 1) != 0x1122334455667788L) { in testSingleLong()
/art/test/412-new-array/smali/
Dfill_array_data.smali70 .method public static longArray([J)V
/art/runtime/
Dtransaction_test.cc422 mirror::LongArray* longArray = longArrayField->GetObject(h_klass.Get())->AsLongArray(); in TEST_F() local
423 ASSERT_TRUE(longArray != nullptr); in TEST_F()
424 ASSERT_EQ(longArray->GetLength(), 1); in TEST_F()
425 ASSERT_EQ(longArray->GetWithoutChecks(0), static_cast<int64_t>(0)); in TEST_F()
466 longArray->SetWithoutChecks<true>(0, 1); in TEST_F()
479 EXPECT_EQ(longArray->GetWithoutChecks(0), static_cast<int64_t>(0)); in TEST_F()