Home | History | Annotate | Download | only in cintltst

Lines Matching refs:utf8

296      log_verbose("Testing for UTF8\n");
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");
315 expected, sizeof(expected), "UTF8", offsets, FALSE, U_ZERO_ERROR ))
316 log_err("u-> UTF8 with offsets and flush true did not match.\n");
318 expected, sizeof(expected), "UTF8", 0, FALSE, U_ZERO_ERROR ))
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 ))
323 log_err("UTF8 -> u did not match.\n");
325 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", 0, FALSE, U_ZERO_ERROR ))
326 log_err("UTF8 -> u did not match.\n");
328 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", fromOffsets, TRUE, U_ZERO_ERROR ))
329 log_err("UTF8 ->u did not match.\n");
331 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", fromOffsets, FALSE, U_ZERO_ERROR ))
332 log_err("UTF8 -> u did not match.\n");
705 /*Regression test for utf8 converter*/
711 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH);
724 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh);
728 utf8, offset8, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
729 log_err("Unicode->UTF8 did not match.\n");
731 if(!convertToU(utf8, offset8,
732 standardForm, offset16, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
733 log_err("UTF8->Unicode did not match.\n");
738 free(utf8);
953 expectedUTF8, sizeof(expectedUTF8), "UTF8", UCNV_FROM_U_CALLBACK_SUBSTITUTE, toUTF8Offs ,FALSE))
954 log_err("u-> UTF8 did not match.\n");
983 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
984 log_err("utf8->u with substitute did not match.\n");;
1752 log_verbose("Testing for UTF8\n");
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))
1778 log_err("UTF8 -> did not match.\n");
1780 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , NULL, TRUE))
1781 log_err("UTF8 -> did not match.\n");
1783 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8",UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE))
1784 log_err("UTF8 -> did not match.\n");
1786 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "UTF8", UCNV_TO_U_CALLBACK_SUBSTITUTE , fromOffsets, TRUE))
1787 log_err("UTF8 -> did not match.\n");