Searched refs:newCapacity (Results 1 – 7 of 7) 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()
255 //%- (void)internalResizeToCapacity:(NSUInteger)newCapacity {256 //% _values = reallocf(_values, newCapacity * sizeof(TYPE));262 //% (unsigned long)(newCapacity * sizeof(TYPE))];264 //% _capacity = newCapacity;438 - (void)internalResizeToCapacity:(NSUInteger)newCapacity {439 _values = reallocf(_values, newCapacity * sizeof(int32_t));445 (unsigned long)(newCapacity * sizeof(int32_t))];447 _capacity = newCapacity;686 - (void)internalResizeToCapacity:(NSUInteger)newCapacity {687 _values = reallocf(_values, newCapacity * sizeof(uint32_t));[all …]
173 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore() local174 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore()
2431 size_t newCapacity = in append() local2434 newCapacity = (newCapacity + 1023) & ~1023; in append()2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()
919 final int newCapacity = oldCapacity * 2;920 final char[] newChars = new char[newCapacity];