/aoo41x/main/i18npool/source/nativenumber/ |
H A D | nativenumbersupplier.cxx | 83 newStr->buffer[i] = NumberChar[number][ ch - NUMBER_ZERO ]; in AsciiToNativeChar() 92 newStr->buffer[i] = ch; in AsciiToNativeChar() 182 rtl_uString *newStr = x_rtl_uString_new_WithLength(nCount * 2); in AsciiToNative() local 224 newStr->buffer[count] = numberChar[0]; in AsciiToNative() 239 newStr->buffer[count] = str[i]; in AsciiToNative() 249 OUString resultStr( newStr->buffer, count ); in AsciiToNative() 250 x_rtl_uString_release( newStr ); in AsciiToNative() 331 newStr->buffer[count] = NUMBER_ONE; in NativeToAscii() 361 newStr->buffer[count] = str[i]; in NativeToAscii() 373 OUString resultStr( newStr->buffer, count ); in NativeToAscii() [all …]
|
/aoo41x/main/sal/inc/rtl/ |
H A D | ustring.h | 1103 void SAL_CALL rtl_uString_new( rtl_uString ** newStr ) SAL_THROW_EXTERN_C(); 1118 void SAL_CALL rtl_uString_new_WithLength( rtl_uString ** newStr, sal_Int32 nLen ) SAL_THROW_EXTERN_… 1133 void SAL_CALL rtl_uString_newFromString( rtl_uString ** newStr, const rtl_uString * value ) SAL_THR… 1148 void SAL_CALL rtl_uString_newFromStr( rtl_uString ** newStr, const sal_Unicode * value ) SAL_THROW_… 1186 void SAL_CALL rtl_uString_newFromAscii( rtl_uString ** newStr, const sal_Char * value ) SAL_THROW_E… 1264 void SAL_CALL rtl_uString_newConcat( rtl_uString ** newStr, rtl_uString * left, rtl_uString * right… 1342 void SAL_CALL rtl_uString_newToAsciiLowerCase( rtl_uString ** newStr, rtl_uString * str ) SAL_THROW… 1363 void SAL_CALL rtl_uString_newToAsciiUpperCase( rtl_uString ** newStr, rtl_uString * str ) SAL_THROW… 1384 void SAL_CALL rtl_uString_newTrim( rtl_uString ** newStr, rtl_uString * str ) SAL_THROW_EXTERN_C(); 1514 void SAL_CALL rtl_uString_intern( rtl_uString ** newStr, [all …]
|
H A D | string.h | 783 void SAL_CALL rtl_string_new( rtl_String ** newStr ) SAL_THROW_EXTERN_C(); 798 void SAL_CALL rtl_string_new_WithLength( rtl_String ** newStr, sal_Int32 len ) SAL_THROW_EXTERN_C(); 813 void SAL_CALL rtl_string_newFromString( rtl_String ** newStr, const rtl_String * value ) SAL_THROW_… 828 void SAL_CALL rtl_string_newFromStr( rtl_String ** newStr, const sal_Char * value ) SAL_THROW_EXTER… 847 void SAL_CALL rtl_string_newFromStr_WithLength( rtl_String ** newStr, const sal_Char * value, sal_I… 902 void SAL_CALL rtl_string_newConcat( rtl_String ** newStr, rtl_String * left, rtl_String * right ) S… 959 void SAL_CALL rtl_string_newReplace( rtl_String ** newStr, rtl_String * str, sal_Char oldChar, sal_… 980 void SAL_CALL rtl_string_newToAsciiLowerCase( rtl_String ** newStr, rtl_String * str ) SAL_THROW_EX… 1001 void SAL_CALL rtl_string_newToAsciiUpperCase( rtl_String ** newStr, rtl_String * str ) SAL_THROW_EX… 1022 void SAL_CALL rtl_string_newTrim( rtl_String ** newStr, rtl_String * str ) SAL_THROW_EXTERN_C(); [all …]
|
H A D | strbuf.h | 45 void SAL_CALL rtl_stringbuffer_newFromStr_WithLength( rtl_String ** newStr, 64 sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer( rtl_String ** newStr,
|
H A D | ustrbuf.h | 45 void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( rtl_uString ** newStr, 64 sal_Int32 SAL_CALL rtl_uStringbuffer_newFromStringBuffer( rtl_uString ** newStr,
|
H A D | string.hxx | 637 OString replaceAt( sal_Int32 index, sal_Int32 count, const OString& newStr ) const SAL_THROW(()) in replaceAt() 640 rtl_string_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); in replaceAt()
|
H A D | ustring.hxx | 1005 … OUString replaceAt( sal_Int32 index, sal_Int32 count, const OUString& newStr ) const SAL_THROW(()) in replaceAt() 1008 rtl_uString_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); in replaceAt()
|
/aoo41x/main/i18nutil/source/utility/ |
H A D | widthfolding.cxx | 52 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount * 2 ); // defined in x_rtl_ustring.h in decompose_ja_voiced_sound_marks() local 65 sal_Unicode* dst = newStr->buffer; in decompose_ja_voiced_sound_marks() 93 newStr->length = sal_Int32(dst - newStr->buffer); in decompose_ja_voiced_sound_marks() 95 offset.realloc(newStr->length); in decompose_ja_voiced_sound_marks() 96 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in decompose_ja_voiced_sound_marks() 113 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in compose_ja_voiced_sound_marks() local 117 sal_Unicode* dst = newStr->buffer; in compose_ja_voiced_sound_marks() 196 newStr->length = sal_Int32(dst - newStr->buffer); in compose_ja_voiced_sound_marks() 199 offset.realloc(newStr->length); in compose_ja_voiced_sound_marks() 200 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in compose_ja_voiced_sound_marks()
|
/aoo41x/main/sal/rtl/source/ |
H A D | strbuf.c | 40 void SAL_CALL rtl_stringbuffer_newFromStr_WithLength( rtl_String ** newStr, in rtl_stringbuffer_newFromStr_WithLength() argument 46 rtl_string_new_WithLength( newStr, 16 ); in rtl_stringbuffer_newFromStr_WithLength() 50 rtl_string_new_WithLength( newStr, count + 16 ); in rtl_stringbuffer_newFromStr_WithLength() 51 (*newStr)->length = count; in rtl_stringbuffer_newFromStr_WithLength() 52 rtl_copyMemory( (*newStr)->buffer, value, count ); in rtl_stringbuffer_newFromStr_WithLength() 59 sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer( rtl_String ** newStr, in rtl_stringbuffer_newFromStringBuffer() argument 68 rtl_string_new_WithLength( newStr, newCapacity ); 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 D | ustrbuf.c | 40 void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( rtl_uString ** newStr, in rtl_uStringbuffer_newFromStr_WithLength() argument 46 rtl_uString_new_WithLength( newStr, 16 ); in rtl_uStringbuffer_newFromStr_WithLength() 50 rtl_uString_new_WithLength( newStr, count + 16 ); in rtl_uStringbuffer_newFromStr_WithLength() 51 (*newStr)->length = count; in rtl_uStringbuffer_newFromStr_WithLength() 52 rtl_copyMemory( (*newStr)->buffer, value, count * sizeof(sal_Unicode)); in rtl_uStringbuffer_newFromStr_WithLength() 59 sal_Int32 SAL_CALL rtl_uStringbuffer_newFromStringBuffer( rtl_uString ** newStr, in rtl_uStringbuffer_newFromStringBuffer() argument 68 rtl_uString_new_WithLength( newStr, newCapacity ); 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()
|
H A D | ustring.c | 761 static void rtl_ustring_intern_internal( rtl_uString ** newStr, in rtl_ustring_intern_internal() argument 771 *newStr = rtl_str_hash_intern (str, can_return); in rtl_ustring_intern_internal() 775 if( can_return && *newStr != str ) in rtl_ustring_intern_internal() 781 void SAL_CALL rtl_uString_intern( rtl_uString ** newStr, in rtl_uString_intern() argument 787 *newStr = str; in rtl_uString_intern() 791 rtl_uString *pOrg = *newStr; in rtl_uString_intern() 792 *newStr = NULL; in rtl_uString_intern() 808 if (*newStr) in rtl_uString_internConvert() 810 rtl_uString_release (*newStr); in rtl_uString_internConvert() 811 *newStr = NULL; in rtl_uString_internConvert() [all …]
|
/aoo41x/main/i18npool/source/transliteration/ |
H A D | halfwidthToFullwidth.cxx | 57 …const OUString& newStr = transliteration_OneToOne::transliterate( inStr, startPos, nCount, offset); in transliterate() local 61 …return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOf… in transliterate() 87 …const OUString& newStr = transliteration_OneToOne::transliterate( inStr, startPos, nCount, offset); in transliterate() local 91 …return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOf… in transliterate() 117 …const OUString& newStr = transliteration_OneToOne::transliterate( inStr, startPos, nCount, offset); in transliterate() local 121 …return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOf… in transliterate()
|
H A D | fullwidthToHalfwidth.cxx | 60 …const OUString& newStr = widthfolding::decompose_ja_voiced_sound_marks (inStr, startPos, nCount, o… in transliterate() local 64 …const OUString &tmp = transliteration_OneToOne::transliterate( newStr, 0, newStr.getLength(), offs… in transliterate() 95 …const OUString& newStr = widthfolding::decompose_ja_voiced_sound_marks (inStr, startPos, nCount, o… in transliterate() local 99 …const OUString &tmp = transliteration_OneToOne::transliterate( newStr, 0, newStr.getLength(), offs… in transliterate() 130 …const OUString& newStr = widthfolding::decompose_ja_voiced_sound_marks (inStr, startPos, nCount, o… in transliterate() local 134 …const OUString &tmp = transliteration_OneToOne::transliterate( newStr, 0, newStr.getLength(), offs… in transliterate()
|
H A D | ignoreKiKuFollowedBySa_ja_JP.cxx | 45 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in folding() local 46 sal_Unicode * dst = newStr->buffer; in folding() 96 newStr->length = sal_Int32(dst - newStr->buffer); in folding() 98 offset.realloc(newStr->length); in folding() 99 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in folding()
|
H A D | ignoreProlongedSoundMark_ja_JP.cxx | 307 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in folding() local 308 sal_Unicode * dst = newStr->buffer; in folding() 354 newStr->length = sal_Int32(dst - newStr->buffer); in folding() 356 offset.realloc(newStr->length); in folding() 357 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in folding()
|
H A D | ignoreIandEfollowedByYa_ja_JP.cxx | 85 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in folding() local 86 sal_Unicode * dst = newStr->buffer; in folding() 139 newStr->length = sal_Int32(dst - newStr->buffer); in folding() 141 offset.realloc(newStr->length); in folding() 142 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in folding()
|
H A D | ignoreIterationMark_ja_JP.cxx | 100 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in folding() local 101 sal_Unicode * dst = newStr->buffer; in folding() 146 newStr->length = sal_Int32(dst - newStr->buffer); in folding() 148 offset.realloc(newStr->length); in folding() 149 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in folding()
|
H A D | transliteration_Ignore.cxx | 136 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in folding() local 137 sal_Unicode * dst = newStr->buffer; in folding() 202 newStr->length = sal_Int32(dst - newStr->buffer); in folding() 204 offset.realloc(newStr->length); in folding() 207 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in folding()
|
H A D | transliteration_OneToOne.cxx | 72 rtl_uString * newStr = x_rtl_uString_new_WithLength( nCount ); // defined in x_rtl_ustring.h in transliterate() local 73 sal_Unicode * dst = newStr->buffer; in transliterate() 94 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in transliterate()
|
/aoo41x/main/i18npool/source/textconversion/ |
H A D | textconversion_zh.cxx | 83 rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversion() local 85 newStr->buffer[i] = in getCharConversion() 87 return OUString( newStr, SAL_NO_ACQUIRE ); // take over ownership of <newStr> in getCharConversion() 122 … rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength * 2 ); // defined in x_rtl_ustring.h in getWordConversion() local 158 newStr->buffer[count++] = conversions[0][current++]; in getWordConversion() 163 newStr->buffer[count++] = conversions[0][current++]; in getWordConversion() 194 newStr->buffer[count++] = wordData[current++]; in getWordConversion() 199 newStr->buffer[count++] = wordData[current++]; in getWordConversion() 210 newStr->buffer[count++] = in getWordConversion() 217 OUString resultStr( newStr->buffer, count ); in getWordConversion() [all …]
|
H A D | textconversion_ko.cxx | 156 … rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversions() local 166 newStr->buffer[count++] = address; in getCharConversions() 173 output[0] = OUString( newStr->buffer, count ); in getCharConversions() 175 x_rtl_uString_release( newStr ); in getCharConversions()
|
/aoo41x/main/i18nutil/inc/i18nutil/ |
H A D | x_rtl_ustring.h | 40 …rtl_uString *newStr = (rtl_uString*) rtl_allocateMemory ( sizeof(rtl_uString) + sizeof(sal_Unicode… in x_rtl_uString_new_WithLength() local 41 newStr->refCount = 1; in x_rtl_uString_new_WithLength() 42 newStr->length = nLen; in x_rtl_uString_new_WithLength() 43 return newStr; in x_rtl_uString_new_WithLength()
|
/aoo41x/main/sal/qa/rtl/ostring/ |
H A D | rtl_OString2.cxx | 491 const rtl::OString* newStr, sal_Int32 index, sal_Int32 count) in check_replaceAt() argument 494 aStr1= input->replaceAt( index, count, *newStr ); in check_replaceAt()
|
/aoo41x/main/i18npool/source/localedata/ |
H A D | localedata.cxx | 627 …icode const * const formatCode, sal_Unicode const * const oldStr, sal_Unicode const * const newStr) in replace() argument 648 while (newStr[j] > 0 && k < MAX_FORMATCODE_LENTH) in replace() 649 str[k++] = newStr[j++]; in replace()
|
/aoo41x/main/sal/qa/rtl_strings/ |
H A D | rtl_OString.cxx | 3462 OString* newStr; in test_rtl_OString_replaceAt() member 3466 ~TestCase() { delete input; delete expVal; delete newStr;} in test_rtl_OString_replaceAt() 3495 arrTestCase[i].count, *arrTestCase[i].newStr ); in test_rtl_OString_replaceAt()
|