Home
last modified time | relevance | path

Searched refs:newStr (Results 1 – 25 of 26) sorted by relevance

12

/aoo41x/main/i18npool/source/nativenumber/
H A Dnativenumbersupplier.cxx83 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 Dustring.h1103 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 Dstring.h783 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 Dstrbuf.h45 void SAL_CALL rtl_stringbuffer_newFromStr_WithLength( rtl_String ** newStr,
64 sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer( rtl_String ** newStr,
H A Dustrbuf.h45 void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( rtl_uString ** newStr,
64 sal_Int32 SAL_CALL rtl_uStringbuffer_newFromStringBuffer( rtl_uString ** newStr,
H A Dstring.hxx637 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 Dustring.hxx1005 … 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 Dwidthfolding.cxx52 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 Dstrbuf.c40 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 Dustrbuf.c40 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 Dustring.c761 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 DhalfwidthToFullwidth.cxx57 …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 DfullwidthToHalfwidth.cxx60 …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 DignoreKiKuFollowedBySa_ja_JP.cxx45 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 DignoreProlongedSoundMark_ja_JP.cxx307 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 DignoreIandEfollowedByYa_ja_JP.cxx85 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 DignoreIterationMark_ja_JP.cxx100 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 Dtransliteration_Ignore.cxx136 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 Dtransliteration_OneToOne.cxx72 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 Dtextconversion_zh.cxx83 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 Dtextconversion_ko.cxx156 … 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 Dx_rtl_ustring.h40 …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 Drtl_OString2.cxx491 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 Dlocaledata.cxx627 …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 Drtl_OString.cxx3462 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()

Completed in 169 milliseconds

12