Home
last modified time | relevance | path

Searched refs:newZero (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java301 int newZero = newCapacity / 2 - (length + count) / 2;
308 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
312 newZero + index + count,
314 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
318 newZero + index + count,
323 zero = newZero;
326 int newZero = oldCapacity / 2 - (length + count) / 2;
330 System.arraycopy(oldChars, oldZero, oldChars, newZero, length);
332 newZero + index,
334 newZero + index + count,
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java303 int newZero = newCapacity / 2 - (length + count) / 2;
310 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
314 newZero + index + count,
316 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
320 newZero + index + count,
325 zero = newZero;
328 int newZero = oldCapacity / 2 - (length + count) / 2;
332 System.arraycopy(oldChars, oldZero, oldChars, newZero, length);
334 newZero + index,
336 newZero + index + count,
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_stringbuilder.cpp269 int32_t newZero = newCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper() local
284 uprv_memcpy2(newChars + newZero, oldChars + oldZero, sizeof(char16_t) * index); in prepareForInsertHelper()
285 uprv_memcpy2(newChars + newZero + index + count, in prepareForInsertHelper()
288 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
289 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
302 fZero = newZero; in prepareForInsertHelper()
305 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper() local
310 uprv_memmove2(oldChars + newZero, oldChars + oldZero, sizeof(char16_t) * fLength); in prepareForInsertHelper()
311 uprv_memmove2(oldChars + newZero + index + count, in prepareForInsertHelper()
312 oldChars + newZero + index, in prepareForInsertHelper()
[all …]