Searched refs:newCapacity (Results 1 – 3 of 3) sorted by relevance
63 sal_Int32 newCapacity = capacity; in rtl_stringbuffer_newFromStringBuffer() local65 if (newCapacity < oldStr->length) in rtl_stringbuffer_newFromStringBuffer()66 newCapacity = oldStr->length; in rtl_stringbuffer_newFromStringBuffer()68 rtl_string_new_WithLength( newStr, newCapacity ); in rtl_stringbuffer_newFromStringBuffer()73 return newCapacity; in rtl_stringbuffer_newFromStringBuffer()
63 sal_Int32 newCapacity = capacity; in rtl_uStringbuffer_newFromStringBuffer() local65 if (newCapacity < oldStr->length) in rtl_uStringbuffer_newFromStringBuffer()66 newCapacity = oldStr->length; in rtl_uStringbuffer_newFromStringBuffer()68 rtl_uString_new_WithLength( newStr, newCapacity ); in rtl_uStringbuffer_newFromStringBuffer()74 return newCapacity; in rtl_uStringbuffer_newFromStringBuffer()
158 int newCapacity = (oldCapacity * 3)/2 + 1; in ensureCapacity() local159 if (newCapacity < minCapacity) in ensureCapacity()160 newCapacity = minCapacity; in ensureCapacity()161 elementData = new Object[newCapacity]; in ensureCapacity()
Completed in 18 milliseconds