Home
last modified time | relevance | path

Searched refs:minimumCapacity (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4c/source/common/
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
133 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument
205 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity()
208 return expandCapacity(minimumCapacity, status); in ensureCapacity()
Duvectr64.cpp118 UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument
122 if (minimumCapacity < 0) { in expandCapacity()
126 if (capacity >= minimumCapacity) { in expandCapacity()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
138 if (newCap < minimumCapacity) { in expandCapacity()
139 newCap = minimumCapacity; in expandCapacity()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
134 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument
216 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity()
219 return expandCapacity(minimumCapacity, status); in ensureCapacity()
Duvectr32.cpp200 UBool UVector32::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument
204 if (minimumCapacity < 0) { in expandCapacity()
208 if (capacity >= minimumCapacity) { in expandCapacity()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
220 if (newCap < minimumCapacity) { in expandCapacity()
221 newCap = minimumCapacity; in expandCapacity()
Duvector.cpp331 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument
332 if (minimumCapacity < 0) { in ensureCapacity()
336 if (capacity < minimumCapacity) { in ensureCapacity()
342 if (newCap < minimumCapacity) { in ensureCapacity()
343 newCap = minimumCapacity; in ensureCapacity()
Duvector.h175 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
/external/icu/libicu/cts_headers/
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
133 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument
205 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity()
208 return expandCapacity(minimumCapacity, status); in ensureCapacity()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
134 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument
216 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity()
219 return expandCapacity(minimumCapacity, status); in ensureCapacity()
Duvector.h175 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
/external/okio/okio/src/commonMain/kotlin/okio/
DBuffer.kt95 internal fun writableSegment(minimumCapacity: Int): Segment in emitCompleteSegments()
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DBuffer.kt168 internal actual fun writableSegment(minimumCapacity: Int): Segment = in <lambda>()
169 commonWritableSegment(minimumCapacity) in <lambda>()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBuffer.java1112 Segment writableSegment(int minimumCapacity) {
1113 if (minimumCapacity < 1 || minimumCapacity > Segment.SIZE) throw new IllegalArgumentException();
1121 if (tail.limit + minimumCapacity > Segment.SIZE || !tail.owner) {
/external/okhttp/okio/okio/src/main/java/okio/
DBuffer.java1110 Segment writableSegment(int minimumCapacity) {
1111 if (minimumCapacity < 1 || minimumCapacity > Segment.SIZE) throw new IllegalArgumentException();
1119 if (tail.limit + minimumCapacity > Segment.SIZE || !tail.owner) {
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DBuffer.kt552 internal inline fun Buffer.commonWritableSegment(minimumCapacity: Int): Segment { in commonWritableSegment()
553 require(minimumCapacity >= 1 && minimumCapacity <= Segment.SIZE) { "unexpected capacity" } in commonWritableSegment()
564 if (tail!!.limit + minimumCapacity > Segment.SIZE || !tail.owner) { in commonWritableSegment()
/external/okio/okio/src/jvmMain/kotlin/okio/
DBuffer.kt460 internal actual fun writableSegment(minimumCapacity: Int): Segment = in <lambda>()
461 commonWritableSegment(minimumCapacity) in <lambda>()