Home
last modified time | relevance | path

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

/dalvik/tests/045-reflect-array/src/
DMain.java72 Object charArray = Array.newInstance(Character.TYPE, 7); in testSingleChar() local
74 char[] array = (char[]) charArray; in testSingleChar()
82 Array.setChar(charArray, 1, '1'); in testSingleChar()
83 Array.setChar(charArray, 4, '4'); in testSingleChar()
85 Array.setShort(charArray, 3, (short) 'Y'); in testSingleChar()
89 Array.setInt(charArray, 5, 'Z'); in testSingleChar()
95 if (Array.getInt(charArray, i) - '0' != i) { in testSingleChar()
100 if (Array.getInt(charArray, 4) != '4') { in testSingleChar()
107 Array.getByte(charArray, 2); in testSingleChar()
111 Array.setChar(charArray, 3, (char) 0xffff); in testSingleChar()
[all …]
/dalvik/vm/
DInlineNative.cpp453 ArrayObject* charArray = in indexOfCommon() local
455 const u2* chars = (const u2*)(void*)charArray->contents; in indexOfCommon()