Lines Matching refs:length
51 (*newStr)->length = count; in rtl_uStringbuffer_newFromStr_WithLength()
65 if (newCapacity < oldStr->length) in rtl_uStringbuffer_newFromStringBuffer()
66 newCapacity = oldStr->length; in rtl_uStringbuffer_newFromStringBuffer()
70 if (oldStr->length > 0) { in rtl_uStringbuffer_newFromStringBuffer()
71 (*newStr)->length = oldStr->length; in rtl_uStringbuffer_newFromStringBuffer()
72 rtl_copyMemory( (*newStr)->buffer, oldStr->buffer, oldStr->length * sizeof(sal_Unicode)); in rtl_uStringbuffer_newFromStringBuffer()
87 *capacity = ((*This)->length + 1) * 2; in rtl_uStringbuffer_ensureCapacity()
93 pNew->length = (*This)->length; in rtl_uStringbuffer_ensureCapacity()
96 rtl_copyMemory( (*This)->buffer, pTmp->buffer, pTmp->length * sizeof(sal_Unicode) ); in rtl_uStringbuffer_ensureCapacity()
115 if (*capacity < (*This)->length + len) in rtl_uStringbuffer_insert()
116 rtl_uStringbuffer_ensureCapacity( This, capacity, (*This)->length + len ); in rtl_uStringbuffer_insert()
122 nOldLen = (*This)->length; in rtl_uStringbuffer_insert()
139 (*This)->length = nOldLen + len; in rtl_uStringbuffer_insert()
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()
179 nOldLen = (*This)->length; in rtl_uStringbuffer_insert_ascii()
199 (*This)->length = nOldLen + len; in rtl_uStringbuffer_insert_ascii()