Home
last modified time | relevance | path

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

/aoo42x/main/sal/rtl/source/
H A Dstrbuf.c61 rtl_String * oldStr ) in rtl_stringbuffer_newFromStringBuffer() argument
65 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()
H A Dustrbuf.c61 rtl_uString * oldStr ) in rtl_uStringbuffer_newFromStringBuffer() argument
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()
/aoo42x/main/i18npool/source/localedata/
H A Dlocaledata.cxx629 …replace( sal_Unicode const * const formatCode, sal_Unicode const * const oldStr, sal_Unicode const… in replace() argument
635 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