/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableCollection.java | 126 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 131 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableCollection.java | 380 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 385 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | MinMaxPriorityQueue.java | 945 int oldCapacity = queue.length; in calculateNewCapacity() local 947 (oldCapacity < 64) ? (oldCapacity + 1) * 2 : IntMath.checkedMultiply(oldCapacity / 2, 3); in calculateNewCapacity()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ExpandedNameTable.java | 247 int oldCapacity = m_capacity; in rehash() local 250 int newCapacity = 2 * oldCapacity + 1; in rehash() 255 for (int i = oldCapacity-1; i >=0 ; i--) in rehash()
|
/external/flatbuffers/java/com/google/flatbuffers/ |
D | ArrayReadWriteBuf.java | 236 int oldCapacity = buffer.length; in requestCapacity() local 237 int newCapacity = oldCapacity + (oldCapacity >> 1); in requestCapacity()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 147 int oldCapacity = elements.length; in reallocate() local 148 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 145 int oldCapacity = elements.length; in reallocate() local 146 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ObjectCountHashMap.java | 347 int oldCapacity = entries.length; in resizeEntries() local 349 if (newCapacity > oldCapacity) { in resizeEntries() 350 Arrays.fill(entries, oldCapacity, newCapacity, UNSET); in resizeEntries() 357 int oldCapacity = oldTable.length; in resizeTable() local 358 if (oldCapacity >= MAXIMUM_CAPACITY) { in resizeTable()
|
D | ImmutableCollection.java | 350 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 355 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | ObjectCountLinkedHashMap.java | 164 int oldCapacity = links.length; in resizeEntries() local 166 Arrays.fill(links, oldCapacity, newCapacity, UNSET); in resizeEntries()
|
D | MinMaxPriorityQueue.java | 945 int oldCapacity = queue.length; in calculateNewCapacity() local 947 (oldCapacity < 64) ? (oldCapacity + 1) * 2 : IntMath.checkedMultiply(oldCapacity / 2, 3); in calculateNewCapacity()
|
/external/antlr/tool/src/main/java/org/antlr/misc/ |
D | IntArrayList.java | 90 int oldCapacity = elements.length; in ensureCapacity() local 91 if (n>=oldCapacity) { in ensureCapacity()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 149 int oldCapacity = elements.length; in reallocate() local 150 int newCapacity = Math.max(oldCapacity, minCapacity + (minCapacity >> 1)); in reallocate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 318 int oldCapacity = usingBytes ? bcdBytes.length : 0; in ensureCapacity() local 321 } else if (oldCapacity < capacity) { in ensureCapacity() 323 System.arraycopy(bcdBytes, 0, bcd1, 0, oldCapacity); in ensureCapacity()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 320 int oldCapacity = usingBytes ? bcdBytes.length : 0; in ensureCapacity() local 323 } else if (oldCapacity < capacity) { in ensureCapacity() 325 System.arraycopy(bcdBytes, 0, bcd1, 0, oldCapacity); in ensureCapacity()
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | ImmutableDoubleArray.java | 273 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 278 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | ImmutableIntArray.java | 270 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 275 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | ImmutableLongArray.java | 272 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 277 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/moshi/ |
D | LinkedHashTreeMap.java | 568 int oldCapacity = oldTable.length; in doubleCapacity() local 570 Node<K, V>[] newTable = new Node[oldCapacity * 2]; in doubleCapacity() 576 for (int i = 0; i < oldCapacity; i++) { in doubleCapacity() 587 if ((node.hash & oldCapacity) == 0) { in doubleCapacity() 599 if ((node.hash & oldCapacity) == 0) { in doubleCapacity() 608 newTable[i + oldCapacity] = rightSize > 0 ? rightBuilder.root() : null; in doubleCapacity()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | ImmutableIntArray.java | 299 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 304 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | ImmutableDoubleArray.java | 302 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 307 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | ImmutableLongArray.java | 301 private static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 306 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
/external/icu/icu4c/source/i18n/ |
D | formatted_string_builder.cpp | 274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local 278 if (fLength + count > oldCapacity) { in prepareForInsertHelper() 321 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | FormattedStringBuilder.java | 328 int oldCapacity = getCapacity(); 332 if (length + count > oldCapacity) { 359 int newZero = oldCapacity / 2 - (length + count) / 2;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedStringBuilder.java | 326 int oldCapacity = getCapacity(); 330 if (length + count > oldCapacity) { 357 int newZero = oldCapacity / 2 - (length + count) / 2;
|