/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 | 156 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/ |
D | stream.js | 55 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/ |
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() 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()
|
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()
|
D | uvectr32.cpp | 77 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/ |
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() 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()
|
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()
|
D | uvectr32.cpp | 77 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/ |
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()
|
D | uvectr32.cpp | 77 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/ |
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
|