Home
last modified time | relevance | path

Searched refs:newCapacity (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/text/
DAutoGrowArray.java100 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local
101 final byte[] newValues = ArrayUtils.newUnpaddedByteArray(newCapacity); in ensureCapacity()
209 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local
210 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
318 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() local
319 final float[] newValues = ArrayUtils.newUnpaddedFloatArray(newCapacity); in ensureCapacity()
/frameworks/base/core/java/android/util/
DIntArray.java155 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
156 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity()
DLongArray.java142 final int newCapacity = targetCap > minCapacity ? targetCap : minCapacity; in ensureCapacity() local
143 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBArray.m255 //%- (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 …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp173 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore() local
174 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp2431 size_t newCapacity = in append() local
2434 newCapacity = (newCapacity + 1023) & ~1023; in append()
2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java919 final int newCapacity = oldCapacity * 2;
920 final char[] newChars = new char[newCapacity];