Lines Matching refs:utf8Out
729 char utf8Out[8]; in TestUCaseMap() local
769 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
770 if(U_FAILURE(errorCode) || length!=3 || 0!=strcmp(abc, utf8Out)) { in TestUCaseMap()
776 strcpy(utf8Out, defg); in TestUCaseMap()
777 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
778 if(errorCode!=U_PARSE_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
784 strcpy(utf8Out, aBc); in TestUCaseMap()
785 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, utf8Out+1, 2, &errorCode); in TestUCaseMap()
786 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(aBc, utf8Out)) { in TestUCaseMap()
792 strcpy(utf8Out, aBc); in TestUCaseMap()
793 length=ucasemap_utf8ToUpper(csm, utf8Out+1, 2, utf8Out, 2, &errorCode); in TestUCaseMap()
794 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(aBc, utf8Out)) { in TestUCaseMap()
800 strcpy(utf8Out, defg); in TestUCaseMap()
801 length=ucasemap_utf8ToLower(csm, NULL, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
802 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
808 strcpy(utf8Out, defg); in TestUCaseMap()
809 length=ucasemap_utf8ToLower(csm, utf8Out, -2, aBc, -1, &errorCode); in TestUCaseMap()
810 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
816 strcpy(utf8Out, defg); in TestUCaseMap()
817 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), NULL, -1, &errorCode); in TestUCaseMap()
818 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
824 strcpy(utf8Out, defg); in TestUCaseMap()
825 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -2, &errorCode); in TestUCaseMap()
826 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
832 strcpy(utf8Out, defg); in TestUCaseMap()
833 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, aBc, 3, &errorCode); in TestUCaseMap()
834 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || length!=3 || 0!=strcmp(defg+2, utf8Out+2)) { in TestUCaseMap()
840 strcpy(utf8Out, defg); in TestUCaseMap()
841 length=ucasemap_utf8ToUpper(csm, utf8Out, 3, aBc, 3, &errorCode); in TestUCaseMap()
842 if(errorCode!=U_STRING_NOT_TERMINATED_WARNING || length!=3 || 0!=strcmp(ABCg, utf8Out)) { in TestUCaseMap()
848 utf8Out[0]=0; in TestUCaseMap()
849 length=ucasemap_utf8FoldCase(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, 3, &errorCode); in TestUCaseMap()
850 if(U_FAILURE(errorCode) || length!=3 || 0!=strcmp(abc, utf8Out)) { in TestUCaseMap()