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.cpp148 if(UTF8_COUNT_TRAIL_BYTES(0x7F) != 0 in Test_UTF8_COUNT_TRAIL_BYTES()
149 || UTF8_COUNT_TRAIL_BYTES(0xC2) != 1 in Test_UTF8_COUNT_TRAIL_BYTES()
150 || UTF8_COUNT_TRAIL_BYTES(0xE0) != 2 in Test_UTF8_COUNT_TRAIL_BYTES()
151 || UTF8_COUNT_TRAIL_BYTES(0xF0) != 3) { in Test_UTF8_COUNT_TRAIL_BYTES()
/external/icu/icu4c/source/common/unicode/
Dutf_old.h308 #define UTF8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) macro
385 uint8_t __count=UTF8_COUNT_TRAIL_BYTES(c); \
423 (i)+=1+UTF8_COUNT_TRAIL_BYTES((s)[i]); \