Home
last modified time | relevance | path

Searched defs:newLength (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/crypto/digests/
DDigestTest.java85 int newLength = newDigest.doFinal(newHash, 0); in doTestMessageDigest() local
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java458 public static <T> T[] copyOf(T[] original, int newLength) { in copyOf()
463 U[] original, int newLength, java.lang.Class<? extends T[]> newType) { in copyOf()
467 public static byte[] copyOf(byte[] original, int newLength) { in copyOf()
471 public static short[] copyOf(short[] original, int newLength) { in copyOf()
475 public static int[] copyOf(int[] original, int newLength) { in copyOf()
479 public static long[] copyOf(long[] original, int newLength) { in copyOf()
483 public static char[] copyOf(char[] original, int newLength) { in copyOf()
487 public static float[] copyOf(float[] original, int newLength) { in copyOf()
491 public static double[] copyOf(double[] original, int newLength) { in copyOf()
495 public static boolean[] copyOf(boolean[] original, int newLength) { in copyOf()
/libcore/ojluni/src/main/java/java/util/
DArrays.java3528 public static <T> T[] copyOf(T[] original, int newLength) { in copyOf()
3557 public static <T,U> T[] copyOf(U[] original, int newLength, Class<? extends T[]> newType) { in copyOf()
3584 public static byte[] copyOf(byte[] original, int newLength) { in copyOf()
3608 public static short[] copyOf(short[] original, int newLength) { in copyOf()
3632 public static int[] copyOf(int[] original, int newLength) { in copyOf()
3656 public static long[] copyOf(long[] original, int newLength) { in copyOf()
3680 public static char[] copyOf(char[] original, int newLength) { in copyOf()
3704 public static float[] copyOf(float[] original, int newLength) { in copyOf()
3728 public static double[] copyOf(double[] original, int newLength) { in copyOf()
3752 public static boolean[] copyOf(boolean[] original, int newLength) { in copyOf()
[all …]
DIdentityHashMap.java464 int newLength = newCapacity * 2; in resize() local
/libcore/ojluni/src/test/java/lang/StringBuilder/
DCompactStringBuilder.java385 private void checkSetLength(StringBuilder sb, int newLength, String expected) { in checkSetLength()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DCompactStringBuffer.java460 private void checkSetLength(StringBuffer sb, int newLength, String expected) { in checkSetLength()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java246 … @libcore.util.NonNull [] copyOf(T @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
248 … @libcore.util.NonNull [] copyOf(U @libcore.util.NonNull [] original, int newLength, @libcore.util… in copyOf()
250 …ibcore.util.NonNull [] copyOf(byte @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
252 …bcore.util.NonNull [] copyOf(short @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
254 …libcore.util.NonNull [] copyOf(int @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
256 …ibcore.util.NonNull [] copyOf(long @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
258 …ibcore.util.NonNull [] copyOf(char @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
260 …bcore.util.NonNull [] copyOf(float @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
262 …core.util.NonNull [] copyOf(double @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
264 …ore.util.NonNull [] copyOf(boolean @libcore.util.NonNull [] original, int newLength) { throw new R… in copyOf()
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java112 public void setLength(long newLength) throws java.io.IOException { in setLength()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java679 public void setLength(long newLength) throws IOException { in setLength()
DObjectOutputStream.java2462 int newLength = (next.length << 1) + 1; in growEntries() local
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuffer.annotated.java49 public synchronized void setLength(int newLength) { throw new RuntimeException("Stub!"); } in setLength()
DStringBuilder.annotated.java130 public void setLength(int newLength) { throw new RuntimeException("Stub!"); } in setLength()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java69 public void setLength(int newLength) { in setLength()
/libcore/ojluni/src/main/java/java/lang/
DStringBuffer.java235 public synchronized void setLength(int newLength) { in setLength()
DAbstractStringBuilder.java278 public void setLength(int newLength) { in setLength()
/libcore/ojluni/src/main/java/java/text/
DMessageFormat.java1464 int newLength = formats.length * 2; in makeFormat() local
/libcore/ojluni/src/main/java/jdk/internal/util/
DArraysSupport.java738 public static int newLength(int oldLength, int minGrowth, int prefGrowth) { in newLength() method