Searched refs:utf8Out (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cstrcase.c | 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() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | strcase.cpp | 399 char utf8In[100], utf8Out[100]; in TestCasingImpl() local 418 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl() 424 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl() 431 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl() 438 utf8Out, (int32_t)sizeof(utf8Out), in TestCasingImpl() 447 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); in TestCasingImpl()
|