Lines Matching refs:rTest
168 void doComplexCharSetTest(ComplexCharSetTest const & rTest) { in doComplexCharSetTest() argument
169 if (rTest.m_bForward) { in doComplexCharSetTest()
172 = rtl_createTextToUnicodeConverter(rTest.m_nEncoding); in doComplexCharSetTest()
181 reinterpret_cast< sal_Char const * >(rTest.m_pText), in doComplexCharSetTest()
182 rTest.m_nTextSize, aUnicode, TEST_STRING_SIZE, in doComplexCharSetTest()
187 | (rTest.m_bGlobalSignature ? in doComplexCharSetTest()
192 (nSize == rTest.m_nUnicodeSize && nInfo == 0 in doComplexCharSetTest()
193 && nConverted == rTest.m_nTextSize)); in doComplexCharSetTest()
197 for (sal_Size i = 0; i < rTest.m_nUnicodeSize; ++i) { in doComplexCharSetTest()
198 if (aUnicode[i] != rTest.m_aUnicode[i]) { in doComplexCharSetTest()
205 if (rTest.m_bForward) { in doComplexCharSetTest()
208 = rtl_createTextToUnicodeConverter(rTest.m_nEncoding); in doComplexCharSetTest()
215 for (bool bFlush = true; nInput < rTest.m_nTextSize || bFlush;) { in doComplexCharSetTest()
221 | (rTest.m_bGlobalSignature ? in doComplexCharSetTest()
223 if (nInput >= rTest.m_nTextSize) { in doComplexCharSetTest()
232 reinterpret_cast< sal_Char const * >(rTest.m_pText + nInput), in doComplexCharSetTest()
243 nOutput == rTest.m_nUnicodeSize && nInput == rTest.m_nTextSize); in doComplexCharSetTest()
245 for (sal_Size i = 0; i < rTest.m_nUnicodeSize; ++i) { in doComplexCharSetTest()
246 if (aUnicode[i] != rTest.m_aUnicode[i]) { in doComplexCharSetTest()
256 if (rTest.m_bNoContext && rTest.m_bForward) { in doComplexCharSetTest()
260 = rtl_createTextToUnicodeConverter(rTest.m_nEncoding); in doComplexCharSetTest()
263 if (i == rTest.m_nTextSize) { in doComplexCharSetTest()
266 sal_Char c1 = rTest.m_pText[i++]; in doComplexCharSetTest()
275 | (rTest.m_bGlobalSignature ? in doComplexCharSetTest()
285 if (i == rTest.m_nTextSize) { in doComplexCharSetTest()
288 c1 = rTest.m_pText[i++]; in doComplexCharSetTest()
295 | (rTest.m_bGlobalSignature ? in doComplexCharSetTest()
328 for (sal_Size i = 0; i < rTest.m_nUnicodeSize; ++i) { in doComplexCharSetTest()
329 if (aUnicode[i] != rTest.m_aUnicode[i]) { in doComplexCharSetTest()
336 if (rTest.m_bReverse) { in doComplexCharSetTest()
339 = rtl_createUnicodeToTextConverter(rTest.m_nEncoding); in doComplexCharSetTest()
347 aConverter, aContext, rTest.m_aUnicode, rTest.m_nUnicodeSize, aText, in doComplexCharSetTest()
349 (rTest.m_nReverseUndefined | RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR in doComplexCharSetTest()
351 | (rTest.m_bGlobalSignature ? in doComplexCharSetTest()
356 (nSize == rTest.m_nTextSize in doComplexCharSetTest()
359 && (rTest.m_nReverseUndefined in doComplexCharSetTest()
361 && nConverted == rTest.m_nUnicodeSize)); in doComplexCharSetTest()
365 for (sal_Size i = 0; i < rTest.m_nTextSize; ++i) { in doComplexCharSetTest()
366 if (aText[i] != rTest.m_pText[i]) { in doComplexCharSetTest()
375 void doComplexCharSetCutTest(ComplexCharSetTest const & rTest) { in doComplexCharSetCutTest() argument
376 if (rTest.m_bNoContext) { in doComplexCharSetCutTest()
379 = rtl_createTextToUnicodeConverter(rTest.m_nEncoding); in doComplexCharSetCutTest()
385 aConverter, 0, reinterpret_cast< sal_Char const * >(rTest.m_pText), in doComplexCharSetCutTest()
386 rTest.m_nTextSize, aUnicode, TEST_STRING_SIZE, in doComplexCharSetCutTest()
393 (nSize <= rTest.m_nUnicodeSize in doComplexCharSetCutTest()
398 && nConverted < rTest.m_nTextSize)); in doComplexCharSetCutTest()
402 if (aUnicode[i] != rTest.m_aUnicode[i]) { in doComplexCharSetCutTest()