Home
last modified time | relevance | path

Searched refs:ensureCapacity (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java109 ensureCapacity(position + 1); in setDigitPos()
113 ensureCapacity(position + 1); in setDigitPos()
127 ensureCapacity(precision + numDigits); in shiftLeft()
207 ensureCapacity(); in readLongToBcd()
232 ensureCapacity(); // allocate initial byte array in readBigIntegerToBcd()
236 ensureCapacity(i + 1); in readBigIntegerToBcd()
317 private void ensureCapacity() { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
318 ensureCapacity(40); in ensureCapacity()
321 private void ensureCapacity(int capacity) { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
348 ensureCapacity(); in switchStorage()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java108 ensureCapacity(position + 1); in setDigitPos()
112 ensureCapacity(position + 1); in setDigitPos()
126 ensureCapacity(precision + numDigits); in shiftLeft()
201 ensureCapacity(); in readLongToBcd()
226 ensureCapacity(); // allocate initial byte array in readBigIntegerToBcd()
230 ensureCapacity(i + 1); in readBigIntegerToBcd()
311 private void ensureCapacity() { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
312 ensureCapacity(40); in ensureCapacity()
315 private void ensureCapacity(int capacity) { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
342 ensureCapacity(); in switchStorage()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcharstr.cpp39 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { in copyFrom()
66 if(ensureCapacity(len+2, 0, errorCode)) { in append()
99 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
120 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
140 if(ensureCapacity(len+ucharsLen+1, 0, errorCode)) { in appendInvariantChars()
148 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity() function in CharString
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
218 if (ensureCapacity(count + 1, status)) { in addElement()
225 if (ensureCapacity(count+size, status) == FALSE) { in reserveBlock()
Duvector.cpp99 if (ensureCapacity(other.count, ec)) { in assign()
128 if (ensureCapacity(count + 1, status)) { in addElement()
134 if (ensureCapacity(count + 1, status)) { in addElement()
165 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
177 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
331 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
374 if (!ensureCapacity(newSize, status)) { in setSize()
477 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
229 if (ensureCapacity(count + 1, status)) { in addElement()
236 if (ensureCapacity(count+size, status) == FALSE) { in reserveBlock()
/third_party/node/deps/icu-small/source/common/
Dcharstr.cpp66 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { in copyFrom()
105 if(ensureCapacity(len+2, 0, errorCode)) { in append()
138 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
211 if(ensureCapacity(len+ucharsLen+1, 0, errorCode)) { in appendInvariantChars()
219 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity() function in CharString
Duvector.cpp74 if (ensureCapacity(other.count, ec)) { in assign()
112 if (ensureCapacity(count + 1, status)) { in addElement()
119 if (ensureCapacity(count + 1, status)) { in adoptElement()
127 if (ensureCapacity(count + 1, status)) { in addElement()
158 if (ensureCapacity(count + 1, status)) { in insertElementAt()
178 if (ensureCapacity(count + 1, status)) { in insertElementAt()
366 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
406 if (!ensureCapacity(newSize, status)) { in setSize()
500 if (!ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
218 if (ensureCapacity(count + 1, status)) { in addElement()
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
229 if (ensureCapacity(count + 1, status)) { in addElement()
236 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
/third_party/icu/icu4c/source/common/
Dcharstr.cpp66 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { in copyFrom()
105 if(ensureCapacity(len+2, 0, errorCode)) { in append()
138 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
211 if(ensureCapacity(len+ucharsLen+1, 0, errorCode)) { in appendInvariantChars()
219 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity() function in CharString
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
218 if (ensureCapacity(count + 1, status)) { in addElement()
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
Duvector.cpp99 if (ensureCapacity(other.count, ec)) { in assign()
128 if (ensureCapacity(count + 1, status)) { in addElement()
134 if (ensureCapacity(count + 1, status)) { in addElement()
165 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
177 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
331 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
374 if (!ensureCapacity(newSize, status)) { in setSize()
477 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
229 if (ensureCapacity(count + 1, status)) { in addElement()
236 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
/third_party/skia/third_party/externals/icu/source/common/
Dcharstr.cpp66 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { in copyFrom()
105 if(ensureCapacity(len+2, 0, errorCode)) { in append()
138 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
211 if(ensureCapacity(len+ucharsLen+1, 0, errorCode)) { in appendInvariantChars()
219 UBool CharString::ensureCapacity(int32_t capacity, in ensureCapacity() function in CharString
Duvectr64.h130 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
204 inline UBool UVector64::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
218 if (ensureCapacity(count + 1, status)) { in addElement()
225 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
Duvector.cpp99 if (ensureCapacity(other.count, ec)) { in assign()
128 if (ensureCapacity(count + 1, status)) { in addElement()
134 if (ensureCapacity(count + 1, status)) { in addElement()
165 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
177 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
331 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
374 if (!ensureCapacity(newSize, status)) { in setSize()
477 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
Duvectr32.h131 inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
215 inline UBool UVector32::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function
229 if (ensureCapacity(count + 1, status)) { in addElement()
236 if (ensureCapacity(count+size, status) == false) { in reserveBlock()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrieBuilder.java139 private void ensureCapacity(int length) { in ensureCapacity() method in CharsTrieBuilder
160 ensureCapacity(newLength); in write()
174 ensureCapacity(newLength); in write()
185 ensureCapacity(newLength); in write()
DBytesTrieBuilder.java164 private void ensureCapacity(int length) { in ensureCapacity() method in BytesTrieBuilder
185 ensureCapacity(newLength); in write()
199 ensureCapacity(newLength); in write()
210 ensureCapacity(newLength); in write()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCharsTrieBuilder.java135 private void ensureCapacity(int length) { in ensureCapacity() method in CharsTrieBuilder
156 ensureCapacity(newLength); in write()
170 ensureCapacity(newLength); in write()
181 ensureCapacity(newLength); in write()
DBytesTrieBuilder.java157 private void ensureCapacity(int length) { in ensureCapacity() method in BytesTrieBuilder
178 ensureCapacity(newLength); in write()
192 ensureCapacity(newLength); in write()
203 ensureCapacity(newLength); in write()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_ByteArrayBCD.java65 ensureCapacity(position + 1); in setDigitPos()
71 ensureCapacity(precision + numDigits); in shiftLeft()
156 ensureCapacity(i + 1); in readBigIntegerToBcd()
214 private void ensureCapacity(int capacity) { in ensureCapacity() method in DecimalQuantity_ByteArrayBCD
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
DDecimalQuantity_ByteArrayBCD.java68 ensureCapacity(position + 1); in setDigitPos()
74 ensureCapacity(precision + numDigits); in shiftLeft()
159 ensureCapacity(i + 1); in readBigIntegerToBcd()
217 private void ensureCapacity(int capacity) { in ensureCapacity() method in DecimalQuantity_ByteArrayBCD
/third_party/icu/icu4c/source/test/intltest/
Dtextfile.cpp55 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile()
136 if (!ensureCapacity(index+1)) { in setBuffer()
151 UBool TextFile::ensureCapacity(int32_t mincapacity) { in ensureCapacity() function in TextFile

12345