Searched refs:oldStr (Results 1 – 3 of 3) sorted by relevance
61 rtl_String * oldStr ) in rtl_stringbuffer_newFromStringBuffer() argument65 if (newCapacity < oldStr->length) in rtl_stringbuffer_newFromStringBuffer()66 newCapacity = oldStr->length; in rtl_stringbuffer_newFromStringBuffer()69 if (oldStr->length > 0) { in rtl_stringbuffer_newFromStringBuffer()70 (*newStr)->length = oldStr->length; in rtl_stringbuffer_newFromStringBuffer()71 rtl_copyMemory( (*newStr)->buffer, oldStr->buffer, oldStr->length ); in rtl_stringbuffer_newFromStringBuffer()
61 rtl_uString * oldStr ) in rtl_uStringbuffer_newFromStringBuffer() argument65 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()
627 …replace( sal_Unicode const * const formatCode, sal_Unicode const * const oldStr, sal_Unicode const… in replace() argument633 if (oldStr[0] == 0) // no replacement requires in replace()640 while (formatCode[i] > 0 && oldStr[j] > 0 && k < MAX_FORMATCODE_LENTH) { in replace()642 if (formatCode[i++] != oldStr[j++]) in replace()645 if (oldStr[j] == 0) { in replace()
Completed in 12 milliseconds