Home
last modified time | relevance | path

Searched refs:minCapacity (Results 1 – 25 of 36) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
DImmutableCollection.java218 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument
219 if (minCapacity < 0) { in expandedCapacity()
224 if (newCapacity < minCapacity) { in expandedCapacity()
225 newCapacity = Integer.highestOneBit(minCapacity - 1) << 1; in expandedCapacity()
330 private void ensureCapacity(int minCapacity) { in ensureCapacity() argument
331 if (contents.length < minCapacity) { in ensureCapacity()
333 this.contents, expandedCapacity(contents.length, minCapacity)); in ensureCapacity()
DImmutableMap.java193 private void ensureCapacity(int minCapacity) { in ensureCapacity() argument
194 if (minCapacity > entries.length) { in ensureCapacity()
196 entries, ImmutableCollection.Builder.expandedCapacity(entries.length, minCapacity)); in ensureCapacity()
/external/icu/icu4c/source/common/
Dappendable.cpp60 Appendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
64 if(minCapacity<1 || scratchCapacity<minCapacity) { in getAppendBuffer()
Dcharstr.cpp95 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
104 if(appendCapacity>=minCapacity) { in getAppendBuffer()
108 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
Dunistr.cpp1718 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1719 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1889 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1893 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1898 if(minCapacity <= (kMaxCapacity - oldLength) && in getAppendBuffer()
1900 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
Dcharstr.h108 char *getAppendBuffer(int32_t minCapacity,
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java136 …private static void ensureAppendCapacity(ByteArrayWrapper sink, int minCapacity, int desiredCapaci… in ensureAppendCapacity() argument
138 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
139 if (desiredCapacity < minCapacity) { desiredCapacity = minCapacity; } in ensureAppendCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java137 …private static void ensureAppendCapacity(ByteArrayWrapper sink, int minCapacity, int desiredCapaci… in ensureAppendCapacity() argument
139 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
140 if (desiredCapacity < minCapacity) { desiredCapacity = minCapacity; } in ensureAppendCapacity()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DPool.java47 public void ensureCapacity(int minCapacity) { in ensureCapacity() argument
48 objects.ensureCapacity(minCapacity); in ensureCapacity()
DTweenManager.java125 public void ensureCapacity(int minCapacity) { in ensureCapacity() argument
126 objects.ensureCapacity(minCapacity); in ensureCapacity()
DTimeline.java71 public static void ensurePoolCapacity(int minCapacity) { in ensurePoolCapacity() argument
72 pool.ensureCapacity(minCapacity); in ensurePoolCapacity()
DTween.java140 public static void ensurePoolCapacity(int minCapacity) { in ensurePoolCapacity() argument
141 pool.ensureCapacity(minCapacity); in ensurePoolCapacity()
/external/icu/icu4c/source/common/unicode/
Dappendable.h141 virtual char16_t *getAppendBuffer(int32_t minCapacity,
223 virtual char16_t *getAppendBuffer(int32_t minCapacity,
Dunistr.h2851 char16_t *getBuffer(int32_t minCapacity);
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1459 int32_t minCapacity = key1Length + key2Length; in getMergedCollationKey() local
1460 if(key1Length > 0) { --minCapacity; } in getMergedCollationKey()
1461 if(minCapacity <= mergedKeyCapacity) { in getMergedCollationKey()
1464 if(minCapacity <= 200) { in getMergedCollationKey()
1466 } else if(minCapacity <= 2 * mergedKeyCapacity) { in getMergedCollationKey()
1469 mergedKeyCapacity = minCapacity; in getMergedCollationKey()
/external/robolectric/v1/lib/main/
Dxpp3-1.1.4c.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/guice/extensions/persist/lib/
Ddom4j-1.6.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/dom4j/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Ddom4j-1.6.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/dom4j/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/ ...
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/error_prone/error_prone/
Derror_prone_core-2.2.0-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/annotation-tools/annotation-file-utilities/lib/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/annotation-tools/annotation-file-utilities/
Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/ ...

12