Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 8 of 8) sorted by relevance

/dalvik/tests/045-reflect-array/src/
DMain.java5 import java.lang.reflect.Array;
26 intArray = Array.newInstance(Integer.TYPE, 2); in testSingleInt()
30 Array.setInt(intArray, 1, 6); in testSingleInt()
32 if (Array.getInt(intArray, 0) != 5) in testSingleInt()
41 Array.setInt(intArray, 2, 27); in testSingleInt()
44 if (array.length != Array.getLength(intArray) || in testSingleInt()
53 Array.set(intArray, 0, x123); in testSingleInt()
54 Array.set(intArray, 1, x456); in testSingleInt()
55 if (!Array.get(intArray, 0).equals(x123) || !Array.get(intArray, 1).equals(x456)) { in testSingleInt()
65 intArray = Array.newInstance(Integer.TYPE, 0); in testSingleInt()
[all …]
/dalvik/tests/003-omnibus-opcodes/
Dexpected.txt50 Array check...
51 Array.checkRange32
52 Array.checkRange64
53 Array.checkNegAlloc
/dalvik/dx/tests/070-dex-multianewarray/
Dexpected.txt8 …0008: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
22 …0008: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
37 …0009: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
52 …0009: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
68 …000a: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
85 …000c: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
102 …000c: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
119 …000c: invoke-static {v1, v2}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
133 …0008: invoke-static {v0, v1}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
144 …0008: invoke-static {v0, v1}, java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/…
[all …]
/dalvik/tests/080-oom-throw/
Dexpected.txt1 Array allocation failed
/dalvik/tests/003-omnibus-opcodes/src/
DMain.java55 Array.run(); in run()
DArray.java7 public class Array { class
/dalvik/vm/
DCheckJni.cpp1782 static _artype Check_New##_jname##Array(JNIEnv* env, jsize length) { \
1784 return CHECK_JNI_EXIT("a", baseEnv(env)->New##_jname##Array(env, length)); \
1806 _ctype##Array array, jboolean* isCopy) \
1827 _ctype##Array array, _ctype* elems, jint mode) \
1845 _ctype##Array array, jsize start, jsize len, _ctype* buf) { \
1853 _ctype##Array array, jsize start, jsize len, const _ctype* buf) { \
DJni.cpp2323 static _artype New##_jname##Array(JNIEnv* env, jsize length) { \
2353 _ctype##Array jarr, jboolean* isCopy) \
2374 _ctype##Array jarr, _ctype* elems, jint mode) \
2398 _ctype##Array jarr, jsize start, jsize len, _ctype* buf) \
2415 _ctype##Array jarr, jsize start, jsize len, const _ctype* buf) \