Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcstrcase.c727 char utf8Out[8]; in TestUCaseMap() local
767 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
768 if(U_FAILURE(errorCode) || length!=3 || 0!=strcmp(abc, utf8Out)) { in TestUCaseMap()
774 strcpy(utf8Out, defg); in TestUCaseMap()
775 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
776 if(errorCode!=U_PARSE_ERROR || 0!=strcmp(defg, utf8Out)) { in TestUCaseMap()
782 strcpy(utf8Out, aBc); in TestUCaseMap()
783 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, utf8Out+1, 2, &errorCode); in TestUCaseMap()
784 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || 0!=strcmp(aBc, utf8Out)) { in TestUCaseMap()
790 strcpy(utf8Out, aBc); in TestUCaseMap()
[all …]
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp390 char utf8In[100], utf8Out[100]; in TestCasingImpl() local
409 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
415 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
422 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
429 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl()
438 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); in TestCasingImpl()