Lines Matching refs:utf8Out
730 char utf8Out[8]; in TestUCaseMap() local
771 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
772 if(U_FAILURE(errorCode) || length!=3 || 0!=strcmp(abc, utf8Out)) { in TestUCaseMap()
778 strcpy(utf8Out, defg); in TestUCaseMap()
779 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
780 if(errorCode!=U_PARSE_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
786 strcpy(utf8Out, aBc); in TestUCaseMap()
787 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, utf8Out+1, 2, &errorCode); in TestUCaseMap()
788 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(aBc, utf8Out)) { in TestUCaseMap()
794 strcpy(utf8Out, aBc); in TestUCaseMap()
795 length=ucasemap_utf8ToUpper(csm, utf8Out+1, 2, utf8Out, 2, &errorCode); in TestUCaseMap()
796 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(aBc, utf8Out)) { in TestUCaseMap()
802 strcpy(utf8Out, defg); in TestUCaseMap()
803 length=ucasemap_utf8ToLower(csm, NULL, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
804 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
810 strcpy(utf8Out, defg); in TestUCaseMap()
811 length=ucasemap_utf8ToLower(csm, utf8Out, -2, aBc, -1, &errorCode); in TestUCaseMap()
812 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
818 strcpy(utf8Out, defg); in TestUCaseMap()
819 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), NULL, -1, &errorCode); in TestUCaseMap()
820 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
826 strcpy(utf8Out, defg); in TestUCaseMap()
827 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -2, &errorCode); in TestUCaseMap()
828 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
834 strcpy(utf8Out, defg); in TestUCaseMap()
835 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, aBc, 3, &errorCode); in TestUCaseMap()
836 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || length!=3 || 0!=strcmp(defg+2, utf8Out+2)) { in TestUCaseMap()
842 strcpy(utf8Out, defg); in TestUCaseMap()
843 length=ucasemap_utf8ToUpper(csm, utf8Out, 3, aBc, 3, &errorCode); in TestUCaseMap()
844 if(errorCode!=U_STRING_NOT_TERMINATED_WARNING || length!=3 || 0!=strcmp(ABCg, utf8Out)) { in TestUCaseMap()
850 utf8Out[0]=0; in TestUCaseMap()
851 length=ucasemap_utf8FoldCase(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, 3, &errorCode); in TestUCaseMap()
852 if(U_FAILURE(errorCode) || length!=3 || 0!=strcmp(abc, utf8Out)) { in TestUCaseMap()