Home
last modified time | relevance | path

Searched refs:newChars (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_stringbuilder.cpp65 auto newChars = static_cast<char16_t *> (uprv_malloc(sizeof(char16_t) * capacity)); in operator =() local
67 if (newChars == nullptr || newFields == nullptr) { in operator =()
69 uprv_free(newChars); in operator =()
77 fChars.heap.ptr = newChars; in operator =()
272 auto newChars = static_cast<char16_t *> (uprv_malloc(sizeof(char16_t) * newCapacity)); in prepareForInsertHelper() local
274 if (newChars == nullptr || newFields == nullptr) { in prepareForInsertHelper()
275 uprv_free(newChars); in prepareForInsertHelper()
284 uprv_memcpy2(newChars + newZero, oldChars + oldZero, sizeof(char16_t) * index); in prepareForInsertHelper()
285 uprv_memcpy2(newChars + newZero + index + count, in prepareForInsertHelper()
298 fChars.heap.ptr = newChars; in prepareForInsertHelper()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrieBuilder.java141 char[] newChars=new char[newCapacity]; in ensureCapacity() local
143 newChars, newChars.length-charsLength, charsLength); in ensureCapacity()
144 chars=newChars; in ensureCapacity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrieBuilder.java145 char[] newChars=new char[newCapacity]; in ensureCapacity() local
147 newChars, newChars.length-charsLength, charsLength); in ensureCapacity()
148 chars=newChars; in ensureCapacity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java303 char[] newChars = new char[newCapacity];
308 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
311 newChars,
321 chars = newChars;
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java305 char[] newChars = new char[newCapacity];
310 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
313 newChars,
323 chars = newChars;