Searched refs:minimumCapacity (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uvectr64.h | 130 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()
|
D | uvectr64.cpp | 118 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()
|
D | uvectr32.h | 131 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()
|
D | uvectr32.cpp | 200 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()
|
D | uvector.cpp | 331 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()
|
D | uvector.h | 175 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Buffer.java | 1110 Segment writableSegment(int minimumCapacity) { 1111 if (minimumCapacity < 1 || minimumCapacity > Segment.SIZE) throw new IllegalArgumentException(); 1119 if (tail.limit + minimumCapacity > Segment.SIZE || !tail.owner) {
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | Buffer.java | 1112 Segment writableSegment(int minimumCapacity) { 1113 if (minimumCapacity < 1 || minimumCapacity > Segment.SIZE) throw new IllegalArgumentException(); 1121 if (tail.limit + minimumCapacity > Segment.SIZE || !tail.owner) {
|