• Home
  • Raw
  • Download

Lines Matching refs:sampleText

143         UChar sampleText[] = {0x0031, 0xd801, 0xdc01, 0x0032};  in TestSurrogateBehaviour()  local
148 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
154 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
163 UChar sampleText[] = {0x00a1, 0xd801, 0xdc01, 0x00a4}; in TestSurrogateBehaviour() local
168 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
171 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
175 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
178 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
185 UChar sampleText[] = { 0x4e00, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestSurrogateBehaviour() local
194 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
197 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
240 …static const UChar sampleText[] = { 0x4e00,0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, 0… in TestSurrogateBehaviour() local
260 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
263 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
270 …static const UChar sampleText[] = { 0x4e00, 0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, … in TestSurrogateBehaviour() local
288 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
291 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
300 … static const UChar sampleText[] = { 0x4e00, 0x0701, 0x0031, 0xbfc1, 0xd801, 0xdc01, 0x0032}; in TestSurrogateBehaviour() local
310 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
313 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
316 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
319 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestSurrogateBehaviour()
324 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", 0, TRUE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
327 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", 0, FALSE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
330 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", fromOffsets, TRUE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
333 sampleText, UPRV_LENGTHOF(sampleText), "UTF8", fromOffsets, FALSE, U_ZERO_ERROR )) in TestSurrogateBehaviour()
343 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
351 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
354 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
363 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
366 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
378 static const UChar sampleText[] = { 0x00a1, 0xd801}; in TestErrorBehaviour() local
397 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
400 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
404 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
407 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
420 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
423 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
455 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
467 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
470 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
552 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
565 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
568 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
593 static const UChar sampleText[] = { 0x0031, 0xd801}; in TestErrorBehaviour() local
609 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
612 if(!convertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestErrorBehaviour()
649 uint8_t sampleText[] = { 0xa2, 0xae, 0x03, 0x04}; in TestToUnicodeErrorBehaviour() local
652 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
655 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
661 uint8_t sampleText[] = { 0xa2, 0xFF}; in TestToUnicodeErrorBehaviour() local
667 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
670 if(!convertToU(sampleText, sizeof(sampleText), in TestToUnicodeErrorBehaviour()
939 UChar sampleText[] = in TestWithBufferSize() local
949 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestWithBufferSize()
1537 static const UChar sampleText[] = {0x00a1, 0xd801, 0xdc01, 0x00a4}; in TestResetBehaviour() local
1547 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1550 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1559 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1562 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1575 static const UChar sampleText[] = { 0x4e00, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1590 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1593 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1656 UChar sampleText[] = { 0x4e00,0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1690 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1693 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1704 …static const UChar sampleText[] = { 0x4e00, 0xd801, 0xdc01, 0x04e01, 0x0031, 0xd801, 0xdc01, … in TestResetBehaviour() local
1734 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1737 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1750 … static const UChar sampleText[] = { 0x4e00, 0x0701, 0x0031, 0xbfc1, 0xd801, 0xdc01, 0x0032}; in TestResetBehaviour() local
1760 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1763 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1766 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1769 if(!testConvertFromU(sampleText, UPRV_LENGTHOF(sampleText), in TestResetBehaviour()
1773sampleText, UPRV_LENGTHOF(sampleText), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE)) in TestResetBehaviour()
1776sampleText, UPRV_LENGTHOF(sampleText), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE)) in TestResetBehaviour()
1779sampleText, UPRV_LENGTHOF(sampleText), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE)) in TestResetBehaviour()
1782sampleText, UPRV_LENGTHOF(sampleText), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE)) in TestResetBehaviour()