Searched refs:newLength (Results 1 - 10 of 10) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
H A D | Arrays.java | 2421 * Copies {@code newLength} elements from {@code original} into a new array. 2422 * If {@code newLength} is greater than {@code original.length}, the result is padded 2426 * @param newLength the length of the new array 2428 * @throws NegativeArraySizeException if {@code newLength < 0} 2432 public static boolean[] copyOf(boolean[] original, int newLength) { argument 2433 if (newLength < 0) { 2434 throw new NegativeArraySizeException(Integer.toString(newLength)); 2436 return copyOfRange(original, 0, newLength); 2440 * Copies {@code newLength} elements from {@code original} into a new array. 2441 * If {@code newLength} i 2451 copyOf(byte[] original, int newLength) argument 2470 copyOf(char[] original, int newLength) argument 2489 copyOf(double[] original, int newLength) argument 2508 copyOf(float[] original, int newLength) argument 2527 copyOf(int[] original, int newLength) argument 2546 copyOf(long[] original, int newLength) argument 2565 copyOf(short[] original, int newLength) argument 2584 copyOf(T[] original, int newLength) argument 2608 copyOf(U[] original, int newLength, Class<? extends T[]> newType) argument [all...] |
H A D | BitSet.java | 141 int newLength = Math.max(desiredLongCount, bits.length * 2); 142 long[] newBits = new long[newLength];
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/ |
H A D | DigestTest.java | 74 int newLength = newDigest.doFinal(newHash, 0); 79 assertEquals("Hash sizes must be equal", oldLength, newLength);
|
/libcore/luni/src/main/java/java/io/ |
H A D | BufferedInputStream.java | 159 int newLength = localBuf.length * 2; 160 if (newLength > marklimit) { 161 newLength = marklimit; 163 byte[] newbuf = new byte[newLength];
|
H A D | BufferedReader.java | 156 int newLength = buf.length * 2; 157 if (newLength > markLimit) { 158 newLength = markLimit; 160 char[] newbuf = new char[newLength];
|
H A D | File.java | 187 int newLength = 0; 192 newPath[newLength++] = separatorChar; 196 newPath[newLength++] = ch; 201 if (lastWasSlash && newLength > 1) { 202 newLength--; 205 return (newLength != length) ? new String(newPath, 0, newLength) : origPath;
|
H A D | RandomAccessFile.java | 607 * Sets the length of this file to {@code newLength}. If the current file is 610 * size is bigger than {@code newLength}. If the current file pointer 613 * @param newLength 616 * if {@code newLength < 0}. 620 public void setLength(long newLength) throws IOException { argument 621 if (newLength < 0) { 622 throw new IllegalArgumentException("newLength < 0"); 625 Libcore.os.ftruncate(fd, newLength); 631 if (filePointer > newLength) { 632 seek(newLength); [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | HexStringParser.java | 267 int newLength = countBitsLength(mantissa); 270 if (oldLength >= MANTISSA_WIDTH && newLength > oldLength) {
|
/libcore/luni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 565 public void setLength(long newLength) { argument 566 length = newLength;
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |
Completed in 4758 milliseconds