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()
629 …replace( sal_Unicode const * const formatCode, sal_Unicode const * const oldStr, sal_Unicode const… in replace() argument635 if (oldStr[0] == 0) // no replacement requires in replace()642 while (formatCode[i] > 0 && oldStr[j] > 0 && k < MAX_FORMATCODE_LENTH) { in replace()644 if (formatCode[i++] != oldStr[j++]) in replace()647 if (oldStr[j] == 0) { in replace()
Completed in 57 milliseconds