Home
last modified time | relevance | path

Searched refs:U8_IS_LEAD (Results 1 – 11 of 11) sorted by relevance

/external/icu/libandroidicu/include/unicode/
Dutf8.h56 (U8_IS_LEAD(leadByte) ? \
180 #define U8_IS_LEAD(c) ((uint8_t)((c)-0xc2)<=0x32) macro
508 if(U8_IS_LEAD(__b) && (i)!=(length)) { \
644 } else if(U8_IS_LEAD(__b1)) { \
/external/icu/icu4c/source/common/unicode/
Dutf8.h56 (U8_IS_LEAD(leadByte) ? \
180 #define U8_IS_LEAD(c) ((uint8_t)((c)-0xc2)<=0x32) macro
508 if(U8_IS_LEAD(__b) && (i)!=(length)) { \
644 } else if(U8_IS_LEAD(__b1)) { \
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c41 if(U8_IS_LEAD(c)) { \
137 !U8_IS_SINGLE(c) || U8_IS_LEAD(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
139 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
146 !U8_IS_LEAD(c) || U8_IS_SINGLE(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
148 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
155 !U8_IS_TRAIL(c) || U8_IS_SINGLE(c) || U8_IS_LEAD(c)){ in TestCodeUnitValues()
157 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
Dccapitst.c2502 return U8_IS_LEAD(s[0]); in isOneTruncatedUTF8()
/external/icu/icu4c/source/common/
Dutf_impl.cpp241 if(U8_IS_LEAD(b1)) { in utf8_prevCharSafeBody()
309 if(U8_IS_LEAD(b1)) { in utf8_back1SafeBody()
Dustr_imp.h106 (U8_IS_LEAD(leadByte) ? ((uint8_t)(leadByte)>=0xe0)+((uint8_t)(leadByte)>=0xf0)+2 : 0)
Ducnvlat1.cpp374 if(source<sourceLimit && U8_IS_LEAD(*(sourceLimit-1))) { in ucnv_Latin1FromUTF8()
Dutext.cpp1506 if (U8_IS_SINGLE(buf[start32]) || U8_IS_LEAD(buf[start32]) || start32==0) { in utf8TextExtract()
1515 if (U8_IS_SINGLE(buf[limit32]) || U8_IS_LEAD(buf[limit32]) || limit32==0) { in utf8TextExtract()
/external/icu/icu4c/source/samples/uciter8/
Duit_len8.c63 if(U8_IS_LEAD(c)) { \
/external/icu/icu4c/source/tools/genrb/
Dwrtjava.cpp294 if (U8_IS_LEAD(*(current + byteIndex))) { in str_write_java()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m1654 …if (!U8_IS_LEAD(str[lastOffset]) || U8_COUNT_TRAIL_BYTES(str[lastOffset]) + lastOffset < (int32_t)…
1662 if (U8_IS_SINGLE(str[i]) || U8_IS_LEAD(str[i]) || !U8_IS_TRAIL(str[i])) {