/libcore/luni/src/main/java/java/lang/reflect/ |
D | Array.java | 50 private static RuntimeException badArray(Object array) { in badArray() 70 …public static Object get(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOf… in get() 114 …public static boolean getBoolean(Object array, int index) throws IllegalArgumentException, ArrayIn… in getBoolean() 131 …public static byte getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOut… in getByte() 148 …public static char getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOut… in getChar() 166 …public static double getDouble(Object array, int index) throws IllegalArgumentException, ArrayInde… in getDouble() 196 …public static float getFloat(Object array, int index) throws IllegalArgumentException, ArrayIndexO… in getFloat() 224 …public static int getInt(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOf… in getInt() 244 public static int getLength(Object array) { in getLength() 278 …public static long getLong(Object array, int index) throws IllegalArgumentException, ArrayIndexOut… in getLong() [all …]
|
/libcore/json/src/test/java/org/json/ |
D | JSONArrayTest.java | 30 JSONArray array = new JSONArray(); in testEmptyArray() local 76 JSONArray array = new JSONArray(); in testBooleans() local 126 JSONArray array = new JSONArray(); in testCoerceStringToBoolean() local 138 JSONArray array = new JSONArray(); in testNulls() local 180 JSONArray array = new JSONArray("[\"null\",null]"); in testParseNullYieldsJSONObjectNull() local 199 JSONArray array = new JSONArray(); in testNumbers() local 245 JSONArray array = new JSONArray(); in testStrings() local 298 JSONArray array = new JSONArray(); in testJoin() local 314 JSONArray array = new JSONArray(Arrays.asList(5, 6)); in testJoinWithNull() local 319 JSONArray array = new JSONArray(Arrays.asList(5, 6)); in testJoinWithSpecialCharacters() local [all …]
|
D | JSONObjectTest.java | 535 JSONArray array = object.toJSONArray(names); in testToJSONArray() local 556 JSONArray array = object.toJSONArray(names); in testToJSONArrayMissingNames() local 582 JSONArray array = new JSONArray(); in testToJSONArrayEndsUpEmpty() local 599 JSONArray array = object.toJSONArray(names); in testToJSONArrayNonString() local 775 JSONArray array = object.getJSONArray("foo"); in testAccumulateMutatesInPlace() local 782 JSONArray array = new JSONArray(); in testAccumulateExistingArray() local 878 JSONArray array = object.names(); in testNames() local
|
D | ParsingTest.java | 220 private JSONArray array(Object... elements) { in array() method in ParsingTest 250 JSONArray array = (JSONArray) input; in canonicalize() local
|
/libcore/luni/src/main/java/java/util/ |
D | Arrays.java | 153 public static <T> List<T> asList(T... array) { in asList() 167 public static int binarySearch(byte[] array, byte value) { in binarySearch() 187 public static int binarySearch(byte[] array, int startIndex, int endIndex, byte value) { in binarySearch() 217 public static int binarySearch(char[] array, char value) { in binarySearch() 237 public static int binarySearch(char[] array, int startIndex, int endIndex, char value) { in binarySearch() 267 public static int binarySearch(double[] array, double value) { in binarySearch() 287 public static int binarySearch(double[] array, int startIndex, int endIndex, double value) { in binarySearch() 328 public static int binarySearch(float[] array, float value) { in binarySearch() 348 public static int binarySearch(float[] array, int startIndex, int endIndex, float value) { in binarySearch() 389 public static int binarySearch(int[] array, int value) { in binarySearch() [all …]
|
D | UnsafeArrayList.java | 28 private T[] array; field in UnsafeArrayList 47 public T[] array() { in array() method in UnsafeArrayList
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | PriorityBlockingQueue.java | 247 private void tryGrow(Object[] array, int oldCap) { in tryGrow() 286 Object[] array = queue; in dequeue() local 316 private static <T> void siftUpComparable(int k, T x, Object[] array) { in siftUpComparable() 329 private static <T> void siftUpUsingComparator(int k, T x, Object[] array, in siftUpUsingComparator() 352 private static <T> void siftDownComparable(int k, T x, Object[] array, in siftDownComparable() 371 private static <T> void siftDownUsingComparator(int k, T x, Object[] array, in siftDownUsingComparator() 394 Object[] array = queue; in heapify() local 439 Object[] array; in offer() local 570 Object[] array = queue; in indexOf() local 583 Object[] array = queue; in removeAt() local [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ArrayStoreExceptionTest.java | 23 Object[] array = new String[10]; in testArrayStoreException_store1() local 37 Object[] array = new Nonce[10][]; in testArrayStoreException_store2() local 50 Object[] array = new Float[10][]; in testArrayStoreException_store3() local
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidArrayListTest.java | 30 ArrayList array = new ArrayList(); in testArrayList() local
|
D | OldPriorityQueueTest.java | 44 String[] array = { "AAAAA", "AA", "AAAA", "AAAAAAAA" }; in test_remove_Ljava_lang_Object_using_comparator() local 56 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; in test_remove_Ljava_lang_Object_not_exists() local
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | GenericReflectionTestsBase.java | 57 public static void assertLenghtOne(Object[] array) { in assertLenghtOne() 61 public static void assertLenghtZero(Object[] array) { in assertLenghtZero()
|
D | GenericArrayTypeTest.java | 31 T[] array; field in GenericArrayTypeTest.A 48 B<T>[] array; field in GenericArrayTypeTest.B
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidArrayTest.java | 30 int[] array = (int[]) intArray; in testSingleInt() local 61 String[] array = (String[]) strArray; in testSingle() local
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestResource.java | 21 final String array[] = {"Str1", "Str2", "Str3"}; field in Support_TestResource
|
D | Support_Proxy_I2.java | 22 int[] array(long[] f); in array() method
|
D | Support_Proxy_I1.java | 23 int[] array(long[] f); in array() method
|
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
D | ListOfVariables.java | 25 ArrayList<TypeVariable<?>> array = new ArrayList<TypeVariable<?>>(); field in ListOfVariables
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DateFormatSymbolsTest.java | 133 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); in test_getZoneStrings_no_nulls() local 148 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); in test_getZoneStrings_Apia() local
|
/libcore/luni/src/main/java/java/nio/ |
D | IntBuffer.java | 62 public static IntBuffer wrap(int[] array) { in wrap() 84 public static IntBuffer wrap(int[] array, int start, int intCount) { in wrap() 96 public final int[] array() { in array() method in IntBuffer
|
D | ShortBuffer.java | 64 public static ShortBuffer wrap(short[] array) { in wrap() 86 public static ShortBuffer wrap(short[] array, int start, int shortCount) { in wrap() 98 public final short[] array() { in array() method in ShortBuffer
|
D | DoubleBuffer.java | 65 public static DoubleBuffer wrap(double[] array) { in wrap() 87 public static DoubleBuffer wrap(double[] array, int start, int doubleCount) { in wrap() 99 public final double[] array() { in array() method in DoubleBuffer
|
D | FloatBuffer.java | 64 public static FloatBuffer wrap(float[] array) { in wrap() 88 public static FloatBuffer wrap(float[] array, int start, int floatCount) { in wrap() 100 public final float[] array() { in array() method in FloatBuffer
|
D | LongBuffer.java | 64 public static LongBuffer wrap(long[] array) { in wrap() 86 public static LongBuffer wrap(long[] array, int start, int longCount) { in wrap() 98 public final long[] array() { in array() method in LongBuffer
|
/libcore/luni/src/main/java/libcore/internal/ |
D | StringPool.java | 43 public String get(char[] array, int start, int length) { in get()
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
D | Array.java | 53 public static String toString(byte[] array, String prefix) { in toString()
|