Home | History | Annotate | Download | only in common

Lines Matching refs:newLen

1576 void UnicodeSet::ensureCapacity(int32_t newLen, UErrorCode& ec) {
1577 if (newLen <= capacity)
1579 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA));
1586 capacity = newLen + GROW_EXTRA;
1590 void UnicodeSet::ensureBufferCapacity(int32_t newLen, UErrorCode& ec) {
1591 if (buffer != NULL && newLen <= bufferCapacity)
1593 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA));
1600 bufferCapacity = newLen + GROW_EXTRA;