Home
last modified time | relevance | path

Searched refs:ensureCapacity (Results 1 – 25 of 102) 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.java156 ensureCapacity(position + 1); in setDigitPos()
160 ensureCapacity(position + 1); in setDigitPos()
174 ensureCapacity(precision + numDigits); in shiftLeft()
249 ensureCapacity(); in readLongToBcd()
274 ensureCapacity(); // allocate initial byte array in readBigIntegerToBcd()
278 ensureCapacity(i + 1); in readBigIntegerToBcd()
359 private void ensureCapacity() { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
360 ensureCapacity(40); in ensureCapacity()
363 private void ensureCapacity(int capacity) { in ensureCapacity() method in DecimalQuantity_DualStorageBCD
390 ensureCapacity(); in switchStorage()
[all …]
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/
Dstream.js55 this.ensureCapacity(1);
60 this.ensureCapacity(2);
68 this.ensureCapacity(3);
77 this.ensureCapacity(view.length);
99 ensureCapacity(size) { method in ByteStream
/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
Duvector.cpp74 if (ensureCapacity(other.count, ec)) { in assign()
104 if (ensureCapacity(count + 1, status)) { in addElement()
111 if (ensureCapacity(count + 1, status)) { in adoptElement()
119 if (ensureCapacity(count + 1, status)) { in addElement()
150 if (ensureCapacity(count + 1, status)) { in insertElementAt()
170 if (ensureCapacity(count + 1, status)) { in insertElementAt()
326 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
367 if (!ensureCapacity(newSize, status)) { in setSize()
461 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()
Duvectr32.cpp77 if (ensureCapacity(other.count, ec)) { in assign()
107 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
285 if (!ensureCapacity(newSize, ec)) { in setSize()
321 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
/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()
104 if (ensureCapacity(count + 1, status)) { in addElement()
111 if (ensureCapacity(count + 1, status)) { in adoptElement()
119 if (ensureCapacity(count + 1, status)) { in addElement()
150 if (ensureCapacity(count + 1, status)) { in insertElementAt()
170 if (ensureCapacity(count + 1, status)) { in insertElementAt()
326 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) { in ensureCapacity() function in UVector
367 if (!ensureCapacity(newSize, status)) { in setSize()
461 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()
Duvectr32.cpp77 if (ensureCapacity(other.count, ec)) { in assign()
107 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
285 if (!ensureCapacity(newSize, ec)) { in setSize()
321 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
/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()
Duvectr32.cpp77 if (ensureCapacity(other.count, ec)) { in assign()
107 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
285 if (!ensureCapacity(newSize, ec)) { in setSize()
321 if (ensureCapacity(count + 1, ec)) { in sortedInsert()
/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