Home | History | Annotate | Download | only in cintltst

Lines Matching refs:TRUE

147                 expected, sizeof(expected), "ibm-920", 0 , TRUE, U_ZERO_ERROR))
153 expected, sizeof(expected), "LATIN_1", 0, TRUE, U_ZERO_ERROR ))
167 expected, sizeof(expected), "ibm-1363", 0 , TRUE, U_ZERO_ERROR))
170 expected, sizeof(expected), "ibm-1363", offsets , TRUE, U_ZERO_ERROR))
174 expected, sizeof(expected), "ibm-1363", 0 , TRUE, U_ZERO_ERROR))
177 expected, sizeof(expected), "ibm-1363", offsets, TRUE, U_ZERO_ERROR))
197 expected, sizeof(expected), "iso-2022-jp", 0 , TRUE, U_ZERO_ERROR))
200 expected, sizeof(expected), "iso-2022-jp", offsets , TRUE, U_ZERO_ERROR))
227 expected, sizeof(expected), "iso-2022-cn", 0 , TRUE, U_ZERO_ERROR))
230 expected, sizeof(expected), "iso-2022-cn", offsets , TRUE, U_ZERO_ERROR))
257 expected, sizeof(expected), "iso-2022-kr", 0 , TRUE, U_ZERO_ERROR))
260 expected, sizeof(expected), "iso-2022-kr", offsets , TRUE, U_ZERO_ERROR))
287 expected, sizeof(expected), "HZ", 0 , TRUE, U_ZERO_ERROR))
290 expected, sizeof(expected), "HZ", offsets , TRUE, U_ZERO_ERROR))
309 expected, sizeof(expected), "UTF8", offsets, TRUE, U_ZERO_ERROR ))
310 log_err("u-> UTF8 with offsets and flush true did not match.\n");
312 expected, sizeof(expected), "UTF8", 0, TRUE, U_ZERO_ERROR ))
313 log_err("u-> UTF8 with offsets and flush true did not match.\n");
316 log_err("u-> UTF8 with offsets and flush true did not match.\n");
319 log_err("u-> UTF8 with offsets and flush true did not match.\n");
322 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", 0, TRUE, U_ZERO_ERROR ))
328 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", fromOffsets, TRUE, U_ZERO_ERROR ))
350 expected, sizeof(expected), "ibm-920", 0, TRUE, U_ZERO_ERROR))
356 expected2, sizeof(expected2), "ibm-920", 0, TRUE, U_ZERO_ERROR))
362 expected, sizeof(expected), "LATIN_1", 0, TRUE, U_ZERO_ERROR))
369 expected2, sizeof(expected2), "LATIN_1", 0, TRUE, U_ZERO_ERROR))
403 expectedSUB, sizeof(expectedSUB), "ibm-1363", 0, TRUE, U_ZERO_ERROR))
410 expectedSUB, sizeof(expectedSUB), "ibm-1363", offsetsSUB, TRUE, U_ZERO_ERROR))
418 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR))
421 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR))
426 expectedSUB, sizeof(expectedSUB), "ibm-1363", 0, TRUE, U_ZERO_ERROR))
433 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR))
443 expected3MBCS, sizeof(expected3MBCS), "ibm-1363", offsets3MBCS, TRUE, U_ZERO_ERROR))
450 expected4MBCS, sizeof(expected4MBCS), "euc-jp", offsets4MBCS, TRUE, U_ZERO_ERROR))
477 expectedSUB, sizeof(expectedSUB), "iso-2022-jp", offsets, TRUE, U_ZERO_ERROR))
484 expected2, sizeof(expected2), "iso-2022-jp", offsets2, TRUE, U_ZERO_ERROR))
494 expected4MBCS, sizeof(expected4MBCS), "iso-2022-jp", offsets4MBCS, TRUE, U_ZERO_ERROR))
521 expectedSUB, sizeof(expectedSUB), "iso-2022-cn", offsets, TRUE, U_ZERO_ERROR))
528 expected2, sizeof(expected2), "iso-2022-cn", offsets2, TRUE, U_ZERO_ERROR))
538 expected3MBCS, sizeof(expected3MBCS), "iso-2022-cn", offsets3MBCS, TRUE, U_ZERO_ERROR))
545 expected4MBCS, sizeof(expected4MBCS), "iso-2022-cn", offsets4MBCS, TRUE, U_ZERO_ERROR))
569 expectedSUB, sizeof(expectedSUB), "iso-2022-kr", offsets, TRUE, U_ZERO_ERROR))
576 expected2, sizeof(expected2), "iso-2022-kr", offsets2, TRUE, U_ZERO_ERROR))
586 expected3MBCS, sizeof(expected3MBCS), "iso-2022-kr", offsets3MBCS, TRUE, U_ZERO_ERROR))
615 expectedSUB, sizeof(expectedSUB), "HZ", offsets, TRUE, U_ZERO_ERROR))
622 expected2, sizeof(expected2), "HZ", offsets2, TRUE, U_ZERO_ERROR))
632 expected3MBCS, sizeof(expected3MBCS), "HZ", offsets3MBCS, TRUE, U_ZERO_ERROR))
639 expected4MBCS, sizeof(expected4MBCS), "HZ", offsets4MBCS, TRUE, U_ZERO_ERROR))
658 expected, sizeof(expected)/sizeof(expected[0]), "ibm-1363", 0, TRUE, U_ZERO_ERROR ))
673 expected, sizeof(expected)/sizeof(expected[0]), "ibm-1051", 0, TRUE, U_ZERO_ERROR ))
728 utf8, offset8, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
732 standardForm, offset16, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
762 ucnv_toUnicode(conv8, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, TRUE, &err);
798 (const uint8_t *)utf32, offset32*sizeof(UChar32), "UTF32_PlatformEndian", 0, TRUE, U_ZERO_ERROR )) {
802 standardForm, offset16, "UTF32_PlatformEndian", 0, TRUE, U_ZERO_ERROR )) {
830 expectedUTF32BE, sizeof(expectedUTF32BE), "UTF-32BE", offsetsUTF32, TRUE, U_ZERO_ERROR))
833 expectedUTF32BE, sizeof(expectedUTF32BE), "UTF-32BE", offsetsUTF32, TRUE, U_ZERO_ERROR))
837 expectedUTF32LE, sizeof(expectedUTF32LE), "UTF-32LE", offsetsUTF32, TRUE, U_ZERO_ERROR))
840 expectedUTF32LE, sizeof(expectedUTF32LE), "UTF-32LE", offsetsUTF32, TRUE, U_ZERO_ERROR))
866 ucnv_toUnicode(convBE, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, TRUE, &err);
898 ucnv_toUnicode(convLE, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, TRUE, &err);
1027 return TRUE;
1093 return TRUE;
1118 return TRUE;
1190 return TRUE;
1211 UBool checkOffsets = TRUE;
1230 return TRUE;
1267 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
1351 return TRUE;
1381 UBool checkOffsets = TRUE;
1404 return TRUE;
1521 return TRUE;
1551 expected, sizeof(expected), "ibm-1363", UCNV_FROM_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1554 expected, sizeof(expected), "ibm-1363", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1559 offsets1, TRUE))
1563 expected, sizeof(expected), "ibm-1363", UCNV_FROM_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1566 expected, sizeof(expected), "ibm-1363", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1571 offsets1, TRUE))
1598 expected, sizeof(expected), "iso-2022-jp", UCNV_FROM_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1601 expected, sizeof(expected), "iso-2022-jp", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1606 offsets1, TRUE))
1643 expected, sizeof(expected), "iso-2022-cn", UCNV_FROM_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1646 expected, sizeof(expected), "iso-2022-cn", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1651 offsets1, TRUE))
1692 expected, sizeof(expected), "iso-2022-kr", UCNV_FROM_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1695 expected, sizeof(expected), "iso-2022-kr", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1699 offsets1, TRUE))
1739 expected, sizeof(expected), "HZ", UCNV_FROM_U_CALLBACK_SUBSTITUTE,NULL , TRUE))
1742 expected, sizeof(expected), "HZ", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1746 offsets1, TRUE))
1765 expected, sizeof(expected), "UTF8", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1766 log_err("u-> UTF8 with offsets and flush true did not match.\n");
1768 expected, sizeof(expected), "UTF8", UCNV_FROM_U_CALLBACK_SUBSTITUTE,NULL , TRUE))
1769 log_err("u-> UTF8 with offsets and flush true did not match.\n");
1771 expected, sizeof(expected), "UTF8", UCNV_FROM_U_CALLBACK_SUBSTITUTE,offsets , TRUE))
1772 log_err("u-> UTF8 with offsets and flush true did not match.\n");
1774 expected, sizeof(expected), "UTF8", UCNV_FROM_U_CALLBACK_SUBSTITUTE,NULL , TRUE))
1775 log_err("u-> UTF8 with offsets and flush true did not match.\n");
1777 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1780 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1783 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE))
1786 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE))
1823 /* 1. input bytes with flush=FALSE, then input nothing with flush=TRUE */
1833 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &errorCode);
1835 log_err("error TestTruncated(%s, 1b): no input (previously %d), flush=TRUE: %s (should be U_TRUNCATED_CHAR_FOUND), output %d\n",
1839 /* 2. input bytes with flush=TRUE */
1845 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &errorCode);
1847 log_err("error TestTruncated(%s, 2): input bytes[%d], flush=TRUE: %s (should be U_TRUNCATED_CHAR_FOUND), input left %d, output %d\n",