Home
last modified time | relevance | path

Searched defs:newCapacity (Results 1 – 25 of 88) sorted by relevance

1234

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DArrayQueue.kt37 val newCapacity = currentSize shl 1 in ensureCapacity() constant
/external/icu/icu4c/source/common/
Dcmemory.h229 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
245 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
301 MaybeStackArray(int32_t newCapacity, UErrorCode status) : MaybeStackArray() { in MaybeStackArray()
456 inline T *MaybeStackArray<T, stackCapacity>::resize(int32_t newCapacity, int32_t length) { in resize()
627 inline H *MaybeStackHeaderAndArray<H, T, stackCapacity>::resize(int32_t newCapacity, in resize()
/external/icu/libicu/cts_headers/
Dcmemory.h229 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
245 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
301 MaybeStackArray(int32_t newCapacity, UErrorCode status) : MaybeStackArray() { in MaybeStackArray()
456 inline T *MaybeStackArray<T, stackCapacity>::resize(int32_t newCapacity, int32_t length) { in resize()
627 inline H *MaybeStackHeaderAndArray<H, T, stackCapacity>::resize(int32_t newCapacity, in resize()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/
DNamedDispatchers.kt55 val newCapacity = currentSize shl 1 in ensureCapacity() constant
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DUVector64.java44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length; in ensureAppendCapacity() local
DUVector32.java44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length; in ensureAppendCapacity() local
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DUVector32.java40 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length; in ensureAppendCapacity() local
DUVector64.java40 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length; in ensureAppendCapacity() local
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DIntArrayQueue.java96 int newCapacity = data.length << 1; in doubleArraySize() local
DTimedValueQueue.java132 int newCapacity = capacity * 2; in doubleCapacityIfFull() local
/external/skqp/src/core/
DSkTDynamicHash.h245 auto newCapacity = fCapacity > 0 ? fCapacity : 4; in maybeGrow() local
258 void resize(int newCapacity) { in resize()
/external/lzma/CPP/Common/
DMyVector.h24 unsigned newCapacity = _capacity + (_capacity >> 2) + 1; in ReserveOnePosition() local
65 void Reserve(unsigned newCapacity) in Reserve()
80 void ClearAndReserve(unsigned newCapacity) in ClearAndReserve()
429 void ClearAndReserve(unsigned newCapacity) { Clear(); _v.ClearAndReserve(newCapacity); } in ClearAndReserve()
/external/guava/android/guava/src/com/google/common/collect/
DCompactHashSet.java357 int newCapacity = in resizeMeMaybe() local
369 void resizeEntries(int newCapacity) { in resizeEntries()
375 private int resizeTable(int mask, int newCapacity, int targetHash, int targetEntryIndex) { in resizeTable()
DCompactHashMap.java360 int newCapacity = in resizeMeMaybe() local
372 void resizeEntries(int newCapacity) { in resizeEntries()
379 private int resizeTable(int mask, int newCapacity, int targetHash, int targetEntryIndex) { in resizeTable()
DObjectCountHashMap.java329 int newCapacity = entriesSize + Math.max(1, entriesSize >>> 1); in resizeMeMaybe() local
343 void resizeEntries(int newCapacity) { in resizeEntries()
355 private void resizeTable(int newCapacity) { // newCapacity always a power of two in resizeTable()
/external/guava/guava/src/com/google/common/collect/
DCompactHashSet.java361 int newCapacity = in resizeMeMaybe() local
373 void resizeEntries(int newCapacity) { in resizeEntries()
379 private int resizeTable(int mask, int newCapacity, int targetHash, int targetEntryIndex) { in resizeTable()
DCompactHashMap.java363 int newCapacity = in resizeMeMaybe() local
375 void resizeEntries(int newCapacity) { in resizeEntries()
382 private int resizeTable(int mask, int newCapacity, int targetHash, int targetEntryIndex) { in resizeTable()
/external/deqp/framework/delibs/depool/
DdePoolArray.c72 int newCapacity = deAlign32(size, 1 << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); in dePoolArray_reserve() local
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1EncodableVector.java150 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate() local
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DASN1EncodableVector.java148 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1EncodableVector.java146 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate() local
/external/antlr/tool/src/main/java/org/antlr/misc/
DIntArrayList.java89 public void ensureCapacity(int newCapacity) { in ensureCapacity()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java216 int newCapacity = cap + (cap >> 1); // *1.5 in ensureCapacity() local
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableCollection.java131 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity() local
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrieBuilder.java141 int newCapacity=chars.length; in ensureCapacity() local

1234