Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dutf16tst.c99 … if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){ in TestCharLength()
100 …r("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c)); in TestCharLength()
102 log_verbose("The no: of code units for %lx is %d\n",c, UTF16_CHAR_LENGTH(c) ); in TestCharLength()
/external/icu/icu4c/source/common/unicode/
Dutf_old.h541 #define UTF16_CHAR_LENGTH(c) ((uint32_t)(c)<=0xffff ? 1 : 2) macro