Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp145 if(UTF8_COUNT_TRAIL_BYTES(0x7F) != 0 in Test_UTF8_COUNT_TRAIL_BYTES()
146 || UTF8_COUNT_TRAIL_BYTES(0xC0) != 1 in Test_UTF8_COUNT_TRAIL_BYTES()
147 || UTF8_COUNT_TRAIL_BYTES(0xE0) != 2 in Test_UTF8_COUNT_TRAIL_BYTES()
148 || UTF8_COUNT_TRAIL_BYTES(0xF0) != 3) in Test_UTF8_COUNT_TRAIL_BYTES()
/external/icu/icu4c/source/common/unicode/
Dutf_old.h274 #define UTF8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) macro
351 uint8_t __count=UTF8_COUNT_TRAIL_BYTES(c); \
389 (i)+=1+UTF8_COUNT_TRAIL_BYTES((s)[i]); \