Home
last modified time | relevance | path

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

/trunk/main/sal/rtl/source/
H A Dstrbuf.c63 sal_Int32 newCapacity = capacity; in rtl_stringbuffer_newFromStringBuffer() local
65 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()
H A Dustrbuf.c63 sal_Int32 newCapacity = capacity; in rtl_uStringbuffer_newFromStringBuffer() local
65 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()
/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/
H A DInterfaceContainer.java158 int newCapacity = (oldCapacity * 3)/2 + 1; in ensureCapacity() local
159 if (newCapacity < minCapacity) in ensureCapacity()
160 newCapacity = minCapacity; in ensureCapacity()
161 elementData = new Object[newCapacity]; in ensureCapacity()

Completed in 18 milliseconds