Lines Matching refs:nLength
67 TextConversion_zh::getCharConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getCharConversion() argument
83 rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversion()
84 for (sal_Int32 i = 0; i < nLength; i++) in getCharConversion()
91 TextConversion_zh::getWordConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getWordConversion() argument
120 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion()
122 … rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength * 2 ); // defined in x_rtl_ustring.h in getWordConversion()
124 while (currPos < nLength) { in getWordConversion()
125 sal_Int32 len = nLength - currPos; in getWordConversion()
223 TextConversion_zh::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument
230 …result.Candidates[0] = getConversion( aText, nStartPos, nLength, rLocale, nConversionType, nConver… in getConversions()
232 result.Boundary.endPos = nStartPos + nLength; in getConversions()
238 TextConversion_zh::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument
251 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversion()
255 … return getWordConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions, offset); in getConversion()
262 …version_zh::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversionWithOffset() argument
276 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversionWithOffset()
278 if (offset.getLength() < 2*nLength) in getConversionWithOffset()
279 offset.realloc(2*nLength); in getConversionWithOffset()
281 … return getWordConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions, offset); in getConversionWithOffset()