Home
last modified time | relevance | path

Searched refs:oldCapacity (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dqueue.js65 var oldCapacity = this._capacity;
69 var moveItemsCount = (front + length) & (oldCapacity - 1);
70 arrayMove(this, 0, this, oldCapacity, moveItemsCount);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java324 int oldCapacity = usingBytes ? bcdBytes.length : 0; in ensureCapacity() local
327 } else if (oldCapacity < capacity) { in ensureCapacity()
329 System.arraycopy(bcdBytes, 0, bcd1, 0, oldCapacity); in ensureCapacity()
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local
278 if (fLength + count > oldCapacity) { in prepareForInsertHelper()
316 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
Dnumber_decimalquantity.cpp1192 int32_t oldCapacity = usingBytes ? fBCD.bcdBytes.len : 0; in ensureCapacity() local
1201 } else if (oldCapacity < capacity) { in ensureCapacity()
1203 uprv_memcpy(bcd1, fBCD.bcdBytes.ptr, oldCapacity * sizeof(int8_t)); in ensureCapacity()
1205 uprv_memset(bcd1 + oldCapacity, 0, (capacity - oldCapacity) * sizeof(int8_t)); in ensureCapacity()
/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.cpp274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local
278 if (fLength + count > oldCapacity) { in prepareForInsertHelper()
321 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
Dnumber_decimalquantity.cpp1195 int32_t oldCapacity = usingBytes ? fBCD.bcdBytes.len : 0; in ensureCapacity() local
1204 } else if (oldCapacity < capacity) { in ensureCapacity()
1206 uprv_memcpy(bcd1, fBCD.bcdBytes.ptr, oldCapacity * sizeof(int8_t)); in ensureCapacity()
1208 uprv_memset(bcd1 + oldCapacity, 0, (capacity - oldCapacity) * sizeof(int8_t)); in ensureCapacity()
/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.cpp274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local
278 if (fLength + count > oldCapacity) { in prepareForInsertHelper()
321 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
Dnumber_decimalquantity.cpp1210 int32_t oldCapacity = usingBytes ? fBCD.bcdBytes.len : 0; in ensureCapacity() local
1219 } else if (oldCapacity < capacity) { in ensureCapacity()
1221 uprv_memcpy(bcd1, fBCD.bcdBytes.ptr, oldCapacity * sizeof(int8_t)); in ensureCapacity()
1223 uprv_memset(bcd1 + oldCapacity, 0, (capacity - oldCapacity) * sizeof(int8_t)); in ensureCapacity()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedStringBuilder.java328 int oldCapacity = getCapacity();
332 if (length + count > oldCapacity) {
359 int newZero = oldCapacity / 2 - (length + count) / 2;
/third_party/flutter/skia/src/core/
DSkTDynamicHash.h260 int oldCapacity = fCapacity; in resize()
267 for (int i = 0; i < oldCapacity; i++) { in resize()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_stringbuilder.cpp263 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper() local
267 if (fLength + count > oldCapacity) { in prepareForInsertHelper()
305 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
Dnumber_decimalquantity.cpp1051 int32_t oldCapacity = usingBytes ? fBCD.bcdBytes.len : 0; in ensureCapacity() local
1060 } else if (oldCapacity < capacity) { in ensureCapacity()
1062 uprv_memcpy(bcd1, fBCD.bcdBytes.ptr, oldCapacity * sizeof(int8_t)); in ensureCapacity()
1064 uprv_memset(bcd1 + oldCapacity, 0, (capacity - oldCapacity) * sizeof(int8_t)); in ensureCapacity()
/third_party/flutter/skia/include/private/
DSkTHash.h190 int oldCapacity = fCapacity; in resize() local
198 for (int i = 0; i < oldCapacity; i++) { in resize()
/third_party/skia/include/private/
DSkTHash.h263 int oldCapacity = fCapacity; in resize() local
271 for (int i = 0; i < oldCapacity; i++) { in resize()
/third_party/node/deps/npm/node_modules/bluebird/js/browser/
Dbluebird.core.js3165 var oldCapacity = this._capacity;
3169 var moveItemsCount = (front + length) & (oldCapacity - 1);
3170 arrayMove(this, 0, this, oldCapacity, moveItemsCount);
Dbluebird.js4264 var oldCapacity = this._capacity;
4268 var moveItemsCount = (front + length) & (oldCapacity - 1);
4269 arrayMove(this, 0, this, oldCapacity, moveItemsCount);