Searched refs:newCapacity (Results 1 – 8 of 8) sorted by relevance
100 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local101 final byte[] newValues = ArrayUtils.newUnpaddedByteArray(newCapacity); in ensureCapacity()209 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local210 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()318 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local319 final float[] newValues = ArrayUtils.newUnpaddedFloatArray(newCapacity); in ensureCapacity()
155 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local156 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
142 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local143 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
775 int newCapacity = mBuffer.position() + size; in reserveProperty() local776 if (newCapacity > Integer.MAX_VALUE >> 1) { in reserveProperty()778 "Item memory requirements too large: " + newCapacity); in reserveProperty()780 newCapacity <<= 1; in reserveProperty()781 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in reserveProperty()
491 int newCapacity = mBuffer.position() + count; in ensureCapacity() local492 if (newCapacity > Integer.MAX_VALUE >> 1) { in ensureCapacity()494 "Item memory requirements too large: " + newCapacity); in ensureCapacity()496 newCapacity <<= 1; in ensureCapacity()497 ByteBuffer buffer = ByteBuffer.allocateDirect(newCapacity); in ensureCapacity()
2431 size_t newCapacity = in append() local2434 newCapacity = (newCapacity + 1023) & ~1023; in append()2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()
949 final int newCapacity = oldCapacity * 2;950 final char[] newChars = new char[newCapacity];
32617 HSPLjava/lang/AbstractStringBuilder;->newCapacity(I)I