Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 104) sorted by relevance

12345

/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DArray.java70 public static Object get(Object array, int index) in get()
127 public static boolean getBoolean(Object array, int index) in getBoolean()
162 public static byte getByte(Object array, int index) in getByte()
193 public static char getChar(Object array, int index) in getChar()
228 public static double getDouble(Object array, int index) in getDouble()
259 public static float getFloat(Object array, int index) in getFloat()
290 public static int getInt(Object array, int index) in getInt()
315 public static int getLength(Object array) { in getLength()
371 public static long getLong(Object array, int index) in getLong()
402 public static short getShort(Object array, int index) in getShort()
[all …]
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/
DUtil.java48 public static void assertArrayIndex(Object[] array, int offset, int length) { in assertArrayIndex()
59 public static void assertArrayIndex(boolean[] array, int offset, int length) { in assertArrayIndex()
70 public static void assertArrayIndex(byte[] array, int offset, int length) { in assertArrayIndex()
81 public static void assertArrayIndex(short[] array, int offset, int length) { in assertArrayIndex()
92 public static void assertArrayIndex(int[] array, int offset, int length) { in assertArrayIndex()
103 public static void assertArrayIndex(long[] array, int offset, int length) { in assertArrayIndex()
114 public static void assertArrayIndex(float[] array, int offset, int length) { in assertArrayIndex()
125 public static void assertArrayIndex(double[] array, int offset, int length) { in assertArrayIndex()
136 public static void assertArrayIndex(char[] array, int offset, int length) { in assertArrayIndex()
/dalvik/libcore/nio/src/main/java/java/nio/
DBufferFactory.java39 public static ByteBuffer newByteBuffer(byte array[]) { in newByteBuffer()
61 public static CharBuffer newCharBuffer(char array[]) { in newCharBuffer()
105 public static DoubleBuffer newDoubleBuffer(double array[]) { in newDoubleBuffer()
127 public static FloatBuffer newFloatBuffer(float array[]) { in newFloatBuffer()
160 public static IntBuffer newIntBuffer(int array[]) { in newIntBuffer()
182 public static LongBuffer newLongBuffer(long array[]) { in newLongBuffer()
204 public static ShortBuffer newShortBuffer(short array[]) { in newShortBuffer()
/dalvik/libcore/luni/src/main/java/java/util/
DArrays.java165 public static <T> List<T> asList(T... array) { in asList()
182 public static int binarySearch(byte[] array, byte value) { in binarySearch()
214 public static int binarySearch(char[] array, char value) { in binarySearch()
245 public static int binarySearch(double[] array, double value) { in binarySearch()
277 public static int binarySearch(float[] array, float value) { in binarySearch()
309 public static int binarySearch(int[] array, int value) { in binarySearch()
340 public static int binarySearch(long[] array, long value) { in binarySearch()
375 public static int binarySearch(Object[] array, Object object) { in binarySearch()
413 public static <T> int binarySearch(T[] array, T object, in binarySearch()
446 public static int binarySearch(short[] array, short value) { in binarySearch()
[all …]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DPriorityQueueTest.java55 Integer[] array = { 2, 45, 7, -12, 9 }; in test_iterator() local
142 Integer[] array = { 2, 45, 7, -12, 9 }; in test_iterator_remove() local
180 Integer[] array = { 2, 45, 7, -12, 9 }; in test_iterator_remove_illegalState() local
215 int[] array = { 2, 45, 7, -12, 9 }; in test_size() local
325 Integer[] array = { 2, 45, 7, -12, 9 }; in test_ConstructorILjava_util_Comparator_cast() local
342 Integer[] array = { 2, 45, 7, -12, 9 }; in test_ConstructorLjava_util_Colleciton() local
406 String[] array = { "AAAAA", "AA", "AAAA", "AAAAAAAA" }; in test_ConstructorLjava_util_Colleciton_from_priorityqueue() local
431 int[] array = { 3, 5, 79, -17, 5 }; in test_ConstructorLjava_util_Colleciton_from_sortedset() local
458 int[] array = { 2, 45, 7, -12, 9 }; in test_ConstructorLjava_util_PriorityQueue() local
508 int[] array = { 3, 5, 79, -17, 5 }; in test_ConstructorLjava_util_SortedSet() local
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/
DArrays.java39 byte[] array, in fill()
49 long[] array, in fill()
59 short[] array, in fill()
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
DShortBufferTest.java101 short array[] = buf.array(); in testArray() local
124 short array[] = buf.array(); in testArrayOffset() local
359 short array[] = new short[1]; in testGetshortArray() local
396 short array[] = new short[buf.capacity()]; in testGetshortArrayintint() local
585 short array[] = new short[1]; in testPutshortArray() local
620 short array[] = new short[buf.capacity()]; in testPutshortArrayintint() local
837 short array[] = new short[BUFFER_LENGTH]; in test_Wrap$S() local
869 short array[] = new short[BUFFER_LENGTH]; in test_Wrap$SII() local
899 void loadTestData1(short array[], int offset, int length) { in loadTestData1()
905 void loadTestData2(short array[], int offset, int length) { in loadTestData2()
[all …]
DIntBufferTest.java102 int array[] = buf.array(); in testArray() local
125 int array[] = buf.array(); in testArrayOffset() local
360 int array[] = new int[1]; in testGetintArray() local
397 int array[] = new int[buf.capacity()]; in testGetintArrayintint() local
592 int array[] = new int[1]; in testPutintArray() local
627 int array[] = new int[buf.capacity()]; in testPutintArrayintint() local
844 int array[] = new int[BUFFER_LENGTH]; in test_Wrap$I() local
876 int array[] = new int[BUFFER_LENGTH]; in test_Wrap$III() local
906 void loadTestData1(int array[], int offset, int length) { in loadTestData1()
912 void loadTestData2(int array[], int offset, int length) { in loadTestData2()
[all …]
DLongBufferTest.java101 long array[] = buf.array(); in testArray() local
124 long array[] = buf.array(); in testArrayOffset() local
359 long array[] = new long[1]; in testGetlongArray() local
396 long array[] = new long[buf.capacity()]; in testGetlongArrayintint() local
591 long array[] = new long[1]; in testPutlongArray() local
626 long array[] = new long[buf.capacity()]; in testPutlongArrayintint() local
826 long array[] = new long[BUFFER_LENGTH]; in test_Wrap$L() local
858 long array[] = new long[BUFFER_LENGTH]; in test_Wrap$LII() local
888 void loadTestData1(long array[], int offset, int length) { in loadTestData1()
894 void loadTestData2(long array[], int offset, int length) { in loadTestData2()
[all …]
DDoubleBufferTest.java131 double array[] = buf.array(); in testArray() local
154 double array[] = buf.array(); in testArrayOffset() local
398 double array[] = new double[1]; in testGetdoubleArray() local
435 double array[] = new double[buf.capacity()]; in testGetdoubleArrayintint() local
631 double array[] = new double[1]; in testPutdoubleArray() local
660 double array[] = new double[buf.capacity()]; in testPutdoubleArrayintint() local
850 double array[] = new double[BUFFER_LENGTH]; in test_Wrap$D() local
882 double array[] = new double[BUFFER_LENGTH]; in test_Wrap$DII() local
912 void loadTestData1(double array[], int offset, int length) { in loadTestData1()
918 void loadTestData2(double array[], int offset, int length) { in loadTestData2()
[all …]
DFloatBufferTest.java127 float array[] = buf.array(); in testArray() local
150 float array[] = buf.array(); in testArrayOffset() local
407 float array[] = new float[1]; in testGetfloatArray() local
444 float array[] = new float[buf.capacity()]; in testGetfloatArrayintint() local
642 float array[] = new float[1]; in testPutfloatArray() local
677 float array[] = new float[buf.capacity()]; in testPutfloatArrayintint() local
871 float array[] = new float[BUFFER_LENGTH]; in test_Wrap$S() local
903 float array[] = new float[BUFFER_LENGTH]; in test_Wrap$SII() local
933 void loadTestData1(float array[], int offset, int length) { in loadTestData1()
939 void loadTestData2(float array[], int offset, int length) { in loadTestData2()
[all …]
DCharBufferTest.java106 char array[] = buf.array(); in testArray() local
129 char array[] = buf.array(); in testArrayOffset() local
422 char array[] = new char[1]; in testGetcharArray() local
459 char array[] = new char[buf.capacity()]; in testGetcharArrayintint() local
602 char array[] = new char[1]; in testPutcharArray() local
637 char array[] = new char[buf.capacity()]; in testPutcharArrayintint() local
1007 char array[] = new char[buf.capacity()]; in testPutStringintint() local
1017 protected void loadTestData1(char array[], int offset, int length) { in loadTestData1()
1023 protected void loadTestData2(char array[], int offset, int length) { in loadTestData2()
1043 private void assertContentEquals(CharBuffer buf, char array[], int offset, in assertContentEquals()
[all …]
DReadOnlyLongBufferTest.java135 long array[] = new long[1]; in testPutlongArray() local
157 long array[] = new long[1]; in testPutlongArrayintint() local
DReadOnlyDoubleBufferTest.java134 double array[] = new double[1]; in testPutdoubleArray() local
156 double array[] = new double[1]; in testPutdoubleArrayintint() local
DReadOnlyFloatBufferTest.java135 float array[] = new float[1]; in testPutfloatArray() local
157 float array[] = new float[1]; in testPutfloatArrayintint() local
DReadOnlyIntBufferTest.java135 int array[] = new int[1]; in testPutintArray() local
157 int array[] = new int[1]; in testPutintArrayintint() local
DReadOnlyShortBufferTest.java135 short array[] = new short[1]; in testPutshortArray() local
157 short array[] = new short[1]; in testPutshortArrayintint() local
DWrappedCharBufferTest1.java51 char array[] = new char[BUFFER_LENGTH]; in testWrappedCharBuffer_IllegalArg() local
DReadOnlyCharBufferTest.java134 char array[] = new char[1]; in testPutcharArray() local
156 char array[] = new char[1]; in testPutcharArrayintint() local
/dalvik/tests/057-iteration-performance/src/
DMain.java497 int[] array = INNER_ARRAY; in testA2() local
507 int[] array = INNER_ARRAY; in testA3() local
569 int[] array = INNER_ARRAY; in testB2() local
580 int[] array = INNER_ARRAY; in testB3() local
621 int[] array = INNER_ARRAY; in testC0() local
631 int[] array = INNER_ARRAY; in testC1() local
642 int[] array = INNER_ARRAY; in testC2() local
652 int[] array = INNER_ARRAY; in testC3() local
663 int[] array = INNER_ARRAY; in testC4() local
673 int[] array = INNER_ARRAY; in testC5() local
[all …]
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DGenericArrayTypeTest.java37 T[] array; field in GenericArrayTypeTest.A
60 B<T>[] array; field in GenericArrayTypeTest.B
DGenericReflectionTestsBase.java57 public static void assertLenghtOne(Object[] array) { in assertLenghtOne()
61 public static void assertLenghtZero(Object[] array) { in assertLenghtZero()
/dalvik/tests/045-reflect-array/src/
DMain.java25 int[] array = (int[]) intArray; in testSingleInt() local
64 String[] array = (String[]) strArray; in testSingle() local
/dalvik/libcore/support/src/test/java/tests/support/
DSupport_TestResource.java21 final String array[] = {"Str1", "Str2", "Str3"}; field in Support_TestResource
/dalvik/dx/src/com/android/dx/dex/file/
DEncodedArrayItem.java40 private final CstArray array; field in EncodedArrayItem
53 public EncodedArrayItem(CstArray array) { in EncodedArrayItem()

12345