/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 109 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/ |
D | DecimalQuantity_DualStorageBCD.java | 108 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/ |
D | charstr.cpp | 39 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
|
D | uvectr64.h | 130 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()
|
D | uvector.cpp | 99 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()
|
D | uvectr32.h | 131 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/ |
D | charstr.cpp | 66 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
|
D | uvector.cpp | 74 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()
|
D | uvectr64.h | 130 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()
|
D | uvectr32.h | 131 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/ |
D | charstr.cpp | 66 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
|
D | uvectr64.h | 130 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()
|
D | uvector.cpp | 99 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()
|
D | uvectr32.h | 131 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/ |
D | charstr.cpp | 66 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
|
D | uvectr64.h | 130 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()
|
D | uvector.cpp | 99 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()
|
D | uvectr32.h | 131 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/ |
D | CharsTrieBuilder.java | 139 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()
|
D | BytesTrieBuilder.java | 164 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/ |
D | CharsTrieBuilder.java | 135 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()
|
D | BytesTrieBuilder.java | 157 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/ |
D | DecimalQuantity_ByteArrayBCD.java | 65 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/ |
D | DecimalQuantity_ByteArrayBCD.java | 68 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/ |
D | textfile.cpp | 55 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
|