Searched refs:minimumCapacity (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Duvectr32.h129 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) { argument
214 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) {
217 return expandCapacity(minimumCapacity, status);
H A Duvectr64.cpp116 UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { argument
117 if (minimumCapacity < 0) {
121 if (capacity >= minimumCapacity) {
124 if (maxCapacity>0 && minimumCapacity>maxCapacity) {
133 if (newCap < minimumCapacity) {
134 newCap = minimumCapacity;
140 // We keep the original memory contents on bad minimumCapacity/maxCapacity.
H A Duvectr64.h128 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) { argument
203 if ((minimumCapacity >= 0) && (capacity >= minimumCapacity)) {
206 return expandCapacity(minimumCapacity, status);
H A Duvectr32.cpp198 UBool UVector32::expandCapacity(int32_t minimumCapacity, UErrorCode &status) { argument
199 if (minimumCapacity < 0) {
203 if (capacity >= minimumCapacity) {
206 if (maxCapacity>0 && minimumCapacity>maxCapacity) {
215 if (newCap < minimumCapacity) {
216 newCap = minimumCapacity;
222 // We keep the original memory contents on bad minimumCapacity/maxCapacity.
H A Duvector.cpp329 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { argument
330 if (minimumCapacity < 0) {
334 if (capacity < minimumCapacity) {
340 if (newCap < minimumCapacity) {
341 newCap = minimumCapacity;
344 // We keep the original memory contents on bad minimumCapacity.
350 // We keep the original contents on the memory failure on realloc or bad minimumCapacity.
H A Duvector.h173 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);

Completed in 113 milliseconds