Searched refs:newUChars (Results 1 – 3 of 3) sorted by relevance
332 char16_t *newUChars=static_cast<char16_t *>(uprv_malloc(newCapacity*2)); in ensureCapacity() local333 if(newUChars==nullptr) { in ensureCapacity()340 u_memcpy(newUChars+(newCapacity-ucharsLength), in ensureCapacity()343 uchars=newUChars; in ensureCapacity()
332 UChar *newUChars=static_cast<UChar *>(uprv_malloc(newCapacity*2)); in ensureCapacity() local333 if(newUChars==NULL) { in ensureCapacity()340 u_memcpy(newUChars+(newCapacity-ucharsLength), in ensureCapacity()343 uchars=newUChars; in ensureCapacity()