Home
last modified time | relevance | path

Searched refs:charArray (Results 1 – 6 of 6) sorted by relevance

/art/test/045-reflect-array/src/
DMain.java73 Object charArray = Array.newInstance(Character.TYPE, 7); in testSingleChar() local
75 char[] array = (char[]) charArray; in testSingleChar()
83 Array.setChar(charArray, 1, '1'); in testSingleChar()
84 Array.setChar(charArray, 4, '4'); in testSingleChar()
86 Array.setShort(charArray, 3, (short) 'Y'); in testSingleChar()
90 Array.setInt(charArray, 5, 'Z'); in testSingleChar()
96 if (Array.getInt(charArray, i) - '0' != i) { in testSingleChar()
101 if (Array.getInt(charArray, 4) != '4') { in testSingleChar()
108 Array.getByte(charArray, 2); in testSingleChar()
112 Array.setChar(charArray, 3, (char) 0xffff); in testSingleChar()
[all …]
/art/test/011-array-copy/src/
DMain.java87 char[] charArray = new char[ARRAY_SIZE]; in makeCopies() local
93 initCharArray(charArray); in makeCopies()
99 System.arraycopy(charArray, srcPos, charArray, dstPos, length); in makeCopies()
114 } else if (intArray[i] != charArray[i]) { in makeCopies()
116 Arrays.toString(charArray)); in makeCopies()
/art/test/020-string/src/
DMain.java99 char[] charArray = new char[] { 'c', 'h', 'a', 'r', 'A', 'r', 'r', 'a', 'y' }; in constructorTest() local
121 String s10 = new String(charArray); in constructorTest()
122 String s11 = new String(charArray, 0, 4); in constructorTest()
/art/test/412-new-array/smali/
Dfill_array_data.smali58 .method public static charArray([C)V
/art/runtime/
Dtransaction_test.cc398 Handle<mirror::CharArray> charArray = in TEST_F() local
400 ASSERT_TRUE(charArray != nullptr); in TEST_F()
401 ASSERT_EQ(charArray->GetLength(), 1); in TEST_F()
402 ASSERT_EQ(charArray->GetWithoutChecks(0), 0u); in TEST_F()
465 charArray->SetWithoutChecks<true>(0, 1u); in TEST_F()
477 EXPECT_EQ(charArray->GetWithoutChecks(0), 0u); in TEST_F()
/art/tools/ahat/src/test-dump/
DDumpedStuff.java171 public char[] charArray = "char thing".toCharArray(); field in DumpedStuff