HomeSort by relevance Sort by last modified time
    Searched refs:oldCapacity (Results 1 - 12 of 12) sorted by null

  /system/core/libcutils/
array.c 48 int oldCapacity = array->capacity;
49 if (capacity > oldCapacity) {
50 int newCapacity = (oldCapacity == 0) ? INITIAL_CAPACITY : oldCapacity;
  /libcore/luni/src/main/java/org/apache/xml/dtm/ref/
ExpandedNameTable.java 247 int oldCapacity = m_capacity;
250 int newCapacity = 2 * oldCapacity + 1;
255 for (int i = oldCapacity-1; i >=0 ; i--)
  /libcore/luni/src/main/java/java/util/
HashMap.java 528 int oldCapacity = oldTable.length;
529 if (newCapacity <= oldCapacity) {
532 if (newCapacity == oldCapacity << 1) {
541 for (int i = 0; i < oldCapacity; i++) {
574 int oldCapacity = oldTable.length;
575 if (oldCapacity == MAXIMUM_CAPACITY) {
578 int newCapacity = oldCapacity << 1;
584 for (int j = 0; j < oldCapacity; j++) {
593 int highBit = e.hash & oldCapacity;
597 int nextHighBit = n.hash & oldCapacity;
    [all...]
Hashtable.java 447 int oldCapacity = oldTable.length;
448 if (newCapacity <= oldCapacity) {
454 if (newCapacity == oldCapacity << 1) {
463 for (int i = 0; i < oldCapacity; i++) {
507 int oldCapacity = oldTable.length;
508 if (oldCapacity == MAXIMUM_CAPACITY) {
511 int newCapacity = oldCapacity << 1;
517 for (int j = 0; j < oldCapacity; j++) {
526 int highBit = e.hash & oldCapacity;
530 int nextHighBit = n.hash & oldCapacity;
    [all...]
Scanner.java     [all...]
  /external/srec/portable/src/
phashtable.c 277 unsigned int oldCapacity = table->args.capacity;
278 unsigned int newCapacity = ((oldCapacity << 1) | 0x01);
293 for (i = oldCapacity; i < newCapacity; ++i)
298 for (i = 0; i < oldCapacity; i++)
  /external/webkit/JavaScriptCore/wtf/
Deque.h 414 size_t oldCapacity = m_buffer.capacity();
415 size_t newCapacity = max(static_cast<size_t>(16), oldCapacity + oldCapacity / 4 + 1);
422 size_t newStart = newCapacity - (oldCapacity - m_start);
423 TypeOperations::move(oldBuffer + m_start, oldBuffer + oldCapacity, m_buffer.buffer() + newStart);
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 554 final int oldCapacity = oldChars.length;
555 if (newLength > oldCapacity) {
556 final int newCapacity = oldCapacity * 2;
  /libcore/luni/src/main/java/java/util/concurrent/
ScheduledThreadPoolExecutor.java     [all...]
ConcurrentHashMap.java 458 int oldCapacity = oldTable.length;
459 if (oldCapacity >= MAXIMUM_CAPACITY)
476 HashEntry<K,V>[] newTable = HashEntry.newArray(oldCapacity<<1);
479 for (int i = 0; i < oldCapacity ; i++) {
    [all...]
  /external/guava/src/com/google/common/collect/
CustomConcurrentHashMap.java     [all...]
  /external/icu4c/i18n/
ucol.cpp 261 int32_t oldCapacity;
263 oldCapacity = data->extendCEsSize;
265 oldCapacity = LENGTHOF(data->CEs);
267 return reallocCEs(data, 2 * oldCapacity);
272 int32_t oldCapacity;
274 oldCapacity = data->extendCEsSize;
276 oldCapacity = LENGTHOF(data->CEs);
278 if(minCapacity <= oldCapacity) {
281 oldCapacity *= 2;
282 return reallocCEs(data, minCapacity > oldCapacity ? minCapacity : oldCapacity)
    [all...]

Completed in 262 milliseconds