Lines Matching refs:capacity
60 sal_Int32 capacity, in rtl_uStringbuffer_newFromStringBuffer() argument
63 sal_Int32 newCapacity = capacity; in rtl_uStringbuffer_newFromStringBuffer()
81 (rtl_uString ** This, sal_Int32* capacity, sal_Int32 minimumCapacity) in rtl_uStringbuffer_ensureCapacity() argument
83 if (minimumCapacity > *capacity) in rtl_uStringbuffer_ensureCapacity()
87 *capacity = ((*This)->length + 1) * 2; in rtl_uStringbuffer_ensureCapacity()
88 if (minimumCapacity > *capacity) in rtl_uStringbuffer_ensureCapacity()
90 *capacity = minimumCapacity; in rtl_uStringbuffer_ensureCapacity()
92 rtl_uString_new_WithLength(&pNew, *capacity); in rtl_uStringbuffer_ensureCapacity()
105 sal_Int32 * capacity, in rtl_uStringbuffer_insert() argument
115 if (*capacity < (*This)->length + len) in rtl_uStringbuffer_insert()
116 rtl_uStringbuffer_ensureCapacity( This, capacity, (*This)->length + len ); in rtl_uStringbuffer_insert()
145 rtl_uString ** pThis, sal_Int32 * capacity, sal_Int32 offset, sal_uInt32 c) in rtl_uStringbuffer_insertUtf32() argument
159 rtl_uStringbuffer_insert(pThis, capacity, offset, buf, len); in rtl_uStringbuffer_insertUtf32()
166 /*inout*/sal_Int32 * capacity, in rtl_uStringbuffer_insert_ascii() argument
176 if (*capacity < (*This)->length + len) in rtl_uStringbuffer_insert_ascii()
177 rtl_uStringbuffer_ensureCapacity( This, capacity, (*This)->length + len ); in rtl_uStringbuffer_insert_ascii()