Searched refs:minimumCapacity (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/third_party/icu/source/common/ |
D | uvectr64.h | 128 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 131 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status); 202 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 203 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity() 206 return expandCapacity(minimumCapacity, status); in ensureCapacity()
|
D | uvectr64.cpp | 116 UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument 117 if (minimumCapacity < 0) { in expandCapacity() 121 if (capacity >= minimumCapacity) { in expandCapacity() 124 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity() 133 if (newCap < minimumCapacity) { in expandCapacity() 134 newCap = minimumCapacity; in expandCapacity()
|
D | uvectr32.h | 129 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 132 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status); 213 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 214 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity() 217 return expandCapacity(minimumCapacity, status); in ensureCapacity()
|
D | uvectr32.cpp | 198 UBool UVector32::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument 199 if (minimumCapacity < 0) { in expandCapacity() 203 if (capacity >= minimumCapacity) { in expandCapacity() 206 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity() 215 if (newCap < minimumCapacity) { in expandCapacity() 216 newCap = minimumCapacity; in expandCapacity()
|
D | uvector.cpp | 328 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 329 if (minimumCapacity < 0) { in ensureCapacity() 333 if (capacity < minimumCapacity) { in ensureCapacity() 339 if (newCap < minimumCapacity) { in ensureCapacity() 340 newCap = minimumCapacity; in ensureCapacity()
|
D | uvector.h | 190 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
|
/external/icu4c/common/ |
D | uvectr64.h | 128 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 131 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status); 202 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 203 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity() 206 return expandCapacity(minimumCapacity, status); in ensureCapacity()
|
D | uvectr64.cpp | 116 UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument 117 if (minimumCapacity < 0) { in expandCapacity() 121 if (capacity >= minimumCapacity) { in expandCapacity() 124 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity() 133 if (newCap < minimumCapacity) { in expandCapacity() 134 newCap = minimumCapacity; in expandCapacity()
|
D | uvectr32.h | 129 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status); 132 UBool expandCapacity(int32_t minimumCapacity, UErrorCode &status); 213 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 214 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) { in ensureCapacity() 217 return expandCapacity(minimumCapacity, status); in ensureCapacity()
|
D | uvectr32.cpp | 198 UBool UVector32::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { in expandCapacity() argument 199 if (minimumCapacity < 0) { in expandCapacity() 203 if (capacity >= minimumCapacity) { in expandCapacity() 206 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity() 215 if (newCap < minimumCapacity) { in expandCapacity() 216 newCap = minimumCapacity; in expandCapacity()
|
D | uvector.cpp | 329 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() argument 330 if (minimumCapacity < 0) { in ensureCapacity() 334 if (capacity < minimumCapacity) { in ensureCapacity() 340 if (newCap < minimumCapacity) { in ensureCapacity() 341 newCap = minimumCapacity; in ensureCapacity()
|
D | uvector.h | 173 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringBuilder.cpp | 37 static const unsigned minimumCapacity = 16; in expandedCapacity() local 38 return std::max(requiredLength, std::max(minimumCapacity, capacity * 2)); in expandedCapacity()
|