/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableCollection.java | 218 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 223 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | MinMaxPriorityQueue.java | 928 int oldCapacity = queue.length; in calculateNewCapacity() local 929 int newCapacity = (oldCapacity < 64) in calculateNewCapacity() 930 ? (oldCapacity + 1) * 2 in calculateNewCapacity() 931 : IntMath.checkedMultiply(oldCapacity / 2, 3); in calculateNewCapacity()
|
D | MapMakerInternalMap.java | 2571 int oldCapacity = oldTable.length(); in expand() local 2572 if (oldCapacity >= MAXIMUM_CAPACITY) { in expand() 2587 AtomicReferenceArray<ReferenceEntry<K, V>> newTable = newEntryArray(oldCapacity << 1); in expand() 2590 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
|
/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/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/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 331 int oldCapacity = usingBytes ? bcdBytes.length : 0; in ensureCapacity() local 334 } else if (oldCapacity < capacity) { in ensureCapacity() 336 System.arraycopy(bcdBytes, 0, bcd1, 0, oldCapacity); in ensureCapacity()
|
D | NumberStringBuilder.java | 297 int oldCapacity = getCapacity(); 301 if (length + count > oldCapacity) { 328 int newZero = oldCapacity / 2 - (length + count) / 2;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 329 int oldCapacity = usingBytes ? bcdBytes.length : 0; in ensureCapacity() local 332 } else if (oldCapacity < capacity) { in ensureCapacity() 334 System.arraycopy(bcdBytes, 0, bcd1, 0, oldCapacity); in ensureCapacity()
|
D | NumberStringBuilder.java | 295 int oldCapacity = getCapacity(); 299 if (length + count > oldCapacity) { 326 int newZero = oldCapacity / 2 - (length + count) / 2;
|
/external/skqp/src/core/ |
D | SkTDynamicHash.h | 260 int oldCapacity = fCapacity; in resize() 267 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/skia/src/core/ |
D | SkTDynamicHash.h | 260 int oldCapacity = fCapacity; in resize() 267 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/icu/icu4c/source/i18n/ |
D | number_stringbuilder.cpp | 263 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local 267 if (fLength + count > oldCapacity) { in prepareForInsertHelper() 305 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
|
D | number_decimalquantity.cpp | 1051 int32_t oldCapacity = usingBytes ? fBCD.bcdBytes.len : 0; in ensureCapacity() local 1060 } else if (oldCapacity < capacity) { in ensureCapacity() 1062 uprv_memcpy(bcd1, fBCD.bcdBytes.ptr, oldCapacity * sizeof(int8_t)); in ensureCapacity() 1064 uprv_memset(bcd1 + oldCapacity, 0, (capacity - oldCapacity) * sizeof(int8_t)); in ensureCapacity()
|
/external/skqp/include/private/ |
D | SkTHash.h | 190 int oldCapacity = fCapacity; in resize() local 198 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/skia/include/private/ |
D | SkTHash.h | 190 int oldCapacity = fCapacity; in resize() local 198 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/flatbuffers/dart/lib/ |
D | flat_buffers.dart | 713 int oldCapacity = _buf.lengthInBytes; 714 if (_tail + bufSize > oldCapacity) { 715 int desiredNewCapacity = (oldCapacity + bufSize) * 2; 716 int deltaCapacity = desiredNewCapacity - oldCapacity; 718 int newCapacity = oldCapacity + deltaCapacity;
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2901 int oldCapacity = oldTable.length(); in expand() local 2902 if (oldCapacity >= MAXIMUM_CAPACITY) { in expand() 2917 AtomicReferenceArray<ReferenceEntry<K, V>> newTable = newEntryArray(oldCapacity << 1); in expand() 2920 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
|
/external/antlr/runtime/ObjC/Framework/ |
D | HashMap.m | 1282 NSInteger oldCapacity = Capacity; 1283 if (oldCapacity == MAXIMUM_CAPACITY) {
|