/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_TestResource.java | 21 final String array[] = {"Str1", "Str2", "Str3"}; field in class:Support_TestResource 27 { "parent4", "parentValue4" }, {"IntegerVal", 1}, {"StringArray", array}};
|
H A D | Support_Proxy_I2.java | 22 int[] array(long[] f); method in interface:Support_Proxy_I2
|
H A D | Support_Proxy_I1.java | 23 int[] array(long[] f); method in interface:Support_Proxy_I1
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
H A D | Util.java | 43 * Check array bounds method for methods like doSomething(Object[], offset, 45 * index, NullPointerException for null array, IndexOutOfBoundsException for 46 * offset+length > array.length 48 public static void assertArrayIndex(Object[] array, int offset, int length) { argument 53 if ((long) offset + (long) length > array.length) { 59 public static void assertArrayIndex(boolean[] array, int offset, int length) { argument 64 if ((long) offset + (long) length > array.length) { 70 public static void assertArrayIndex(byte[] array, int offset, int length) { argument 75 if ((long) offset + (long) length > array.length) { 81 public static void assertArrayIndex(short[] array, in argument 92 assertArrayIndex(int[] array, int offset, int length) argument 103 assertArrayIndex(long[] array, int offset, int length) argument 114 assertArrayIndex(float[] array, int offset, int length) argument 125 assertArrayIndex(double[] array, int offset, int length) argument 136 assertArrayIndex(char[] array, int offset, int length) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/utils/ |
H A D | Array.java | 37 * Represents <code>array</code> as <code>String</code> 40 * @param array to be represented as <code>String</code> 42 * @return <code>String</code> representation of the <code>array</code> 44 public static String toString(byte[] array, String prefix) { argument 57 for (i=0; i<array.length; i++) { 70 int currentByte = (0xff & array[i]);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/ |
H A D | Arrays.java | 4 * General array utilities. 39 byte[] array, 42 for (int i = 0; i < array.length; i++) 44 array[i] = value; 49 long[] array, 52 for (int i = 0; i < array.length; i++) 54 array[i] = value; 59 short[] array, 62 for (int i = 0; i < array.length; i++) 64 array[ 38 fill( byte[] array, byte value) argument 48 fill( long[] array, long value) argument 58 fill( short[] array, short value) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
H A D | ListOfVariables.java | 25 ArrayList<TypeVariable<?>> array = new ArrayList<TypeVariable<?>>(); field in class:ListOfVariables 29 array.add(elem); 33 TypeVariable<?>[] a = new TypeVariable[array.size()]; 34 return array.toArray(a);
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | GenericArrayTypeTest.java | 37 T[] array; field in class:GenericArrayTypeTest.A 48 Field field = clazz.getDeclaredField("array"); 60 B<T>[] array; field in class:GenericArrayTypeTest.B 71 Field field = clazz.getDeclaredField("array");
|
H A D | GenericReflectionTestsBase.java | 57 public static void assertLenghtOne(Object[] array) { argument 58 TestCase.assertEquals("Array does NOT contain exactly one element.", 1, array.length); 61 public static void assertLenghtZero(Object[] array) { argument 62 TestCase.assertEquals("Array has more than zero elements.", 0, array.length);
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | BufferFactory.java | 33 * Returns a new byte buffer based on the specified byte array. 35 * @param array 36 * The byte array 37 * @return A new byte buffer based on the specified byte array. 39 public static ByteBuffer newByteBuffer(byte array[]) { argument 40 return new ReadWriteHeapByteBuffer(array); 44 * Returns a new array based byte buffer with the specified capacity. 48 * @return A new array based byte buffer with the specified capacity. 55 * Returns a new char buffer based on the specified char array. 57 * @param array 61 newCharBuffer(char array[]) argument 105 newDoubleBuffer(double array[]) argument 127 newFloatBuffer(float array[]) argument 160 newIntBuffer(int array[]) argument 182 newLongBuffer(long array[]) argument 204 newShortBuffer(short array[]) argument [all...] |
H A D | DoubleArrayBuffer.java | 22 * compose the implementation of array based double buffers. 38 DoubleArrayBuffer(double[] array) { argument 39 this(array.length, array, 0);
|
H A D | FloatArrayBuffer.java | 22 * compose the implementation of array based float buffers. 38 FloatArrayBuffer(float[] array) { argument 39 this(array.length, array, 0);
|
H A D | IntArrayBuffer.java | 22 * the implementation of array based int buffers. 38 IntArrayBuffer(int[] array) { argument 39 this(array.length, array, 0);
|
H A D | LongArrayBuffer.java | 22 * the implementation of array based long buffers. 38 LongArrayBuffer(long[] array) { argument 39 this(array.length, array, 0);
|
H A D | ShortArrayBuffer.java | 22 * compose the implementation of array based short buffers. 38 ShortArrayBuffer(short[] array) { argument 39 this(array.length, array, 0);
|
H A D | CharArrayBuffer.java | 22 * the implementation of array based char buffers. 38 CharArrayBuffer(char[] array) { argument 39 this(array.length, array, 0);
|
H A D | ReadWriteCharArrayBuffer.java | 22 * the implementation of array based char buffers. 42 ReadWriteCharArrayBuffer(char[] array) { argument 43 super(array);
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
H A D | ThreadLocalTest.java | 65 ITLThread(int[] array) { x = array; } argument
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Collection.java | 296 * Returns a new array containing all elements contained in this {@code Collection}. 299 * array in the same order as an iterator would return them. 301 * The array returned does not reflect any changes of the {@code Collection}. A new 302 * array is created even if the underlying data structure is already an 303 * array. 305 * @return an array of the elements from this {@code Collection}. 311 * Returns an array containing all elements contained in this {@code Collection}. If 312 * the specified array is large enough to hold the elements, the specified 313 * array is used, otherwise an array o 332 toArray(T[] array) argument [all...] |
H A D | Set.java | 187 * Returns an array containing all elements contained in this set. 189 * @return an array of the elements from this set. 195 * Returns an array containing all elements contained in this set. If the 196 * specified array is large enough to hold the elements, the specified array 197 * is used, otherwise an array of the same type is created. If the specified 198 * array is used and is larger than this set, the array element following 201 * @param array 202 * the array 210 toArray(T[] array) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | InformationObjectSet.java | 90 private int hashIntArray(int[] array) { argument 92 for (int i = 0; i < array.length && i < 4; i++) { 93 intHash += array[i] << (8 * i); //TODO what about to find better one?
|
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/ |
H A D | X500PrincipalTest.java | 315 private byte[] getByteArray(byte[] array) { argument 318 ByteArrayInputStream is = new ByteArrayInputStream(array);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | EncodedArrayItem.java | 33 * Encoded array of constant values. 39 /** non-null; the array to represent */ 40 private final CstArray array; field in class:EncodedArrayItem 51 * @param array non-null; array to represent 53 public EncodedArrayItem(CstArray array) { argument 60 if (array == null) { 61 throw new NullPointerException("array == null"); 64 this.array = array; [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicReferenceArray.java | 12 * An array of object references in which elements may be updated 18 * @param <E> The base class of elements held in this array 28 private final Object[] array; field in class:AtomicReferenceArray 31 if (i < 0 || i >= array.length) 38 * @param length the length of the array 41 array = new Object[length]; 44 unsafe.putObjectVolatile(array, rawIndex(0), null); 49 * all elements copied from, the given array. 51 * @param array the array t 54 AtomicReferenceArray(E[] array) argument [all...] |
/dalvik/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 36 * method for adding keys before values in objects. There are <code>array</code> 37 * and <code>endArray</code> methods that make and bound array values, and 48 * The first method called must be <code>array</code> or <code>object</code>. 67 * 'a' (array), 81 * The object/array stack. 127 * Begin appending a new array. All values until the balancing 128 * <code>endArray</code> will be appended to this array. The 129 * <code>endArray</code> method must be called to mark the array's end. 133 * outermost array or object). 135 public JSONStringer array() throw method in class:JSONStringer [all...] |