Home
last modified time | relevance | path

Searched refs:utf8Out (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcstrcase.c730 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()
[all …]
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp464 char utf8In[100], utf8Out[100]; in TestCasingImpl() local
483 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
489 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
496 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
503 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
512 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); in TestCasingImpl()