Lines Matching refs:sampleText

145         UChar sampleText[] = {0x0031, 0xd801, 0xdc01, 0x0032};  in TestSurrogateBehaviour()  local
150 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
156 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
165 UChar sampleText[] = {0x00a1, 0xd801, 0xdc01, 0x00a4}; in TestSurrogateBehaviour() local
170 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
173 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
177 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
180 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
187 UChar sampleText[] = { 0x4e00, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestSurrogateBehaviour() local
196 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
199 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
242 …static const UChar sampleText[] = { 0x4e00,0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, 0… in TestSurrogateBehaviour() local
262 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
265 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
272 …static const UChar sampleText[] = { 0x4e00, 0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, … in TestSurrogateBehaviour() local
290 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
293 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
302 … static const UChar sampleText[] = { 0x4e00, 0x0701, 0x0031, 0xbfc1, 0xd801, 0xdc01, 0x0032}; in TestSurrogateBehaviour() local
312 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
315 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
318 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
321 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
326 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", 0, TRUE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
329 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", 0, FALSE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
332 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", fromOffsets, TRUE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
335 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", fromOffsets, FALSE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
345 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
353 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
356 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
365 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
368 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
380 static const UChar sampleText[] = { 0x00a1, 0xd801}; in TestErrorBehaviour() local
399 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
402 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
406 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
409 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
422 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
425 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
457 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
469 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
472 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
554 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
567 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
570 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
595 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
611 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
614 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
651 uint8_t sampleText[] = { 0xa2, 0xae, 0x03, 0x04}; in TestToUnicodeErrorBehaviour() local
654 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
657 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
663 uint8_t sampleText[] = { 0xa2, 0xFF}; in TestToUnicodeErrorBehaviour() local
669 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
672 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
941 UChar sampleText[] = in TestWithBufferSize() local
951 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestWithBufferSize()
1539 static const UChar sampleText[] = {0x00a1, 0xd801, 0xdc01, 0x00a4}; in TestResetBehaviour() local
1549 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1552 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1561 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1564 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1577 static const UChar sampleText[] = { 0x4e00, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1592 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1595 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1658 UChar sampleText[] = { 0x4e00,0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1692 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1695 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1706 …static const UChar sampleText[] = { 0x4e00, 0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, … in TestResetBehaviour() local
1736 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1739 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1752 … static const UChar sampleText[] = { 0x4e00, 0x0701, 0x0031, 0xbfc1, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1762 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1765 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1768 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1771 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1775sampleText, UPRV_LENGTHOF(sampleText), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE)) in TestResetBehaviour()
1778sampleText, UPRV_LENGTHOF(sampleText), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE)) in TestResetBehaviour()
1781sampleText, UPRV_LENGTHOF(sampleText), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE)) in TestResetBehaviour()
1784sampleText, UPRV_LENGTHOF(sampleText), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE)) in TestResetBehaviour()