Home
last modified time | relevance | path

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

/third_party/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.cpp326 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()
Duvector.h194 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
/third_party/node/deps/icu-small/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.cpp326 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()
Duvector.h194 UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
/third_party/skia/third_party/externals/icu/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);