Home
last modified time | relevance | path

Searched refs:U8_IS_TRAIL (Results 1 – 23 of 23) sorted by relevance

/external/icu/libicu/ndk_headers/unicode/
Dutf8.h152 #define U8_IS_TRAIL(c) ((int8_t)(c)<-0x40) macro
475 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
479 if(U8_IS_TRAIL(__t1)) { \
484 ++(i)!=(length) && U8_IS_TRAIL((s)[i]) && \
485 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
549 while(U8_IS_TRAIL((s)[i])) { --(i); } \
570 if(U8_IS_TRAIL((s)[(i)])) { \
608 } else if(U8_IS_TRAIL(__b1) && ((length)-2)>=(start)) { \
615 } else if(U8_IS_TRAIL(__b2) && ((length)-3)>=(start)) { \
648 if(U8_IS_TRAIL(c)) { \
[all …]
/external/icu/libicu/cts_headers/unicode/
Dutf8.h190 #define U8_IS_TRAIL(c) ((int8_t)(c)<-0x40) macro
513 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
517 if(U8_IS_TRAIL(__t1)) { \
522 ++(i)!=(length) && U8_IS_TRAIL((s)[i]) && \
523 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
587 while(U8_IS_TRAIL((s)[i])) { --(i); } \
608 if(U8_IS_TRAIL((s)[(i)])) { \
646 } else if(U8_IS_TRAIL(__b1) && ((length)-2)>=(start)) { \
653 } else if(U8_IS_TRAIL(__b2) && ((length)-3)>=(start)) { \
686 if(U8_IS_TRAIL(c)) { \
[all …]
/external/icu/libandroidicu/include/unicode/
Dutf8.h190 #define U8_IS_TRAIL(c) ((int8_t)(c)<-0x40) macro
513 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
517 if(U8_IS_TRAIL(__t1)) { \
522 ++(i)!=(length) && U8_IS_TRAIL((s)[i]) && \
523 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
587 while(U8_IS_TRAIL((s)[i])) { --(i); } \
608 if(U8_IS_TRAIL((s)[(i)])) { \
646 } else if(U8_IS_TRAIL(__b1) && ((length)-2)>=(start)) { \
653 } else if(U8_IS_TRAIL(__b2) && ((length)-3)>=(start)) { \
686 if(U8_IS_TRAIL(c)) { \
[all …]
/external/cronet/third_party/icu/source/common/unicode/
Dutf8.h190 #define U8_IS_TRAIL(c) ((int8_t)(c)<-0x40) macro
513 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
517 if(U8_IS_TRAIL(__t1)) { \
522 ++(i)!=(length) && U8_IS_TRAIL((s)[i]) && \
523 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
587 while(U8_IS_TRAIL((s)[i])) { --(i); } \
608 if(U8_IS_TRAIL((s)[(i)])) { \
646 } else if(U8_IS_TRAIL(__b1) && ((length)-2)>=(start)) { \
653 } else if(U8_IS_TRAIL(__b2) && ((length)-3)>=(start)) { \
686 if(U8_IS_TRAIL(c)) { \
[all …]
/external/icu/icu4c/source/common/unicode/
Dutf8.h190 #define U8_IS_TRAIL(c) ((int8_t)(c)<-0x40) macro
513 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
517 if(U8_IS_TRAIL(__t1)) { \
522 ++(i)!=(length) && U8_IS_TRAIL((s)[i]) && \
523 ++(i)!=(length) && U8_IS_TRAIL((s)[i])) { \
587 while(U8_IS_TRAIL((s)[i])) { --(i); } \
608 if(U8_IS_TRAIL((s)[(i)])) { \
646 } else if(U8_IS_TRAIL(__b1) && ((length)-2)>=(start)) { \
653 } else if(U8_IS_TRAIL(__b2) && ((length)-3)>=(start)) { \
686 if(U8_IS_TRAIL(c)) { \
[all …]
/external/icu/icu4c/source/common/
Dutf_impl.cpp239 if(U8_IS_TRAIL(c) && i>start) { in utf8_prevCharSafeBody()
250 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_prevCharSafeBody()
281 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_prevCharSafeBody()
307 if(U8_IS_TRAIL(c) && i>start) { in utf8_back1SafeBody()
314 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_back1SafeBody()
320 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_back1SafeBody()
Ducnv_u8.cpp112 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8()
229 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
617 if(U8_IS_VALID_LEAD3_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source)) { in ucnv_getNextUChar_UTF8()
623 if(U8_IS_TRAIL(t1)) { in ucnv_getNextUChar_UTF8()
629 if(U8_IS_VALID_LEAD4_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source) && in ucnv_getNextUChar_UTF8()
630 U8_IS_TRAIL(t3 = *++source)) { in ucnv_getNextUChar_UTF8()
735 U8_IS_TRAIL(t2=source[1]) in ucnv_UTF8FromUTF8()
747 U8_IS_TRAIL(t1=*source) in ucnv_UTF8FromUTF8()
Dustr_imp.h142 return U8_IS_TRAIL(t); in isValidTrail()
Ducasemap.cpp269 U8_IS_TRAIL(src[srcIndex]) && U8_IS_TRAIL(src[srcIndex + 1])) { in toLower()
377 U8_IS_TRAIL(src[srcIndex]) && U8_IS_TRAIL(src[srcIndex + 1])) { in toUpper()
Dunisetspan.cpp1020 if(!U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1064 if(!U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1199 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
1244 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
Ducnvmbcs.cpp5088 } else if(U8_IS_TRAIL(b1) && length>=2) { in ucnv_SBCSFromUTF8()
5384 } else if(U8_IS_TRAIL(b1) && length>=2) { in ucnv_DBCSFromUTF8()
/external/cronet/third_party/icu/source/common/
Dutf_impl.cpp239 if(U8_IS_TRAIL(c) && i>start) { in utf8_prevCharSafeBody()
250 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_prevCharSafeBody()
281 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_prevCharSafeBody()
307 if(U8_IS_TRAIL(c) && i>start) { in utf8_back1SafeBody()
314 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_back1SafeBody()
320 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_back1SafeBody()
Ducnv_u8.cpp112 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8()
229 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
617 if(U8_IS_VALID_LEAD3_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source)) { in ucnv_getNextUChar_UTF8()
623 if(U8_IS_TRAIL(t1)) { in ucnv_getNextUChar_UTF8()
629 if(U8_IS_VALID_LEAD4_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source) && in ucnv_getNextUChar_UTF8()
630 U8_IS_TRAIL(t3 = *++source)) { in ucnv_getNextUChar_UTF8()
735 U8_IS_TRAIL(t2=source[1]) in ucnv_UTF8FromUTF8()
747 U8_IS_TRAIL(t1=*source) in ucnv_UTF8FromUTF8()
Dustr_imp.h142 return U8_IS_TRAIL(t); in isValidTrail()
Ducasemap.cpp269 U8_IS_TRAIL(src[srcIndex]) && U8_IS_TRAIL(src[srcIndex + 1])) { in toLower()
377 U8_IS_TRAIL(src[srcIndex]) && U8_IS_TRAIL(src[srcIndex + 1])) { in toUpper()
Dunisetspan.cpp1020 if(!U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1064 if(!U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1199 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
1244 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
Ducnvmbcs.cpp5088 } else if(U8_IS_TRAIL(b1) && length>=2) { in ucnv_SBCSFromUTF8()
5384 } else if(U8_IS_TRAIL(b1) && length>=2) { in ucnv_DBCSFromUTF8()
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c139 !U8_IS_SINGLE(c) || U8_IS_LEAD(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
141 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
148 !U8_IS_LEAD(c) || U8_IS_SINGLE(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
150 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
157 !U8_IS_TRAIL(c) || U8_IS_SINGLE(c) || U8_IS_LEAD(c)){ in TestCodeUnitValues()
159 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
/external/cronet/third_party/icu/source/test/cintltst/
Dutf8tst.c139 !U8_IS_SINGLE(c) || U8_IS_LEAD(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
141 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
148 !U8_IS_LEAD(c) || U8_IS_SINGLE(c) || U8_IS_TRAIL(c)) { in TestCodeUnitValues()
150 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
157 !U8_IS_TRAIL(c) || U8_IS_SINGLE(c) || U8_IS_LEAD(c)){ in TestCodeUnitValues()
159 … c, U8_IS_SINGLE(c) ? 'y' : 'n', U8_IS_LEAD(c) ? 'y' : 'n', U8_IS_TRAIL(c) ? 'y' : 'n'); in TestCodeUnitValues()
/external/icu/libicu/cts_headers/
Dustr_imp.h142 return U8_IS_TRAIL(t); in isValidTrail()
/external/cronet/third_party/icu/source/i18n/
Drulebasedcollator.cpp1118 ((equalPrefixLength != leftLength && U8_IS_TRAIL(left[equalPrefixLength])) || in doCompare()
1119 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1120 while(--equalPrefixLength > 0 && U8_IS_TRAIL(left[equalPrefixLength])) {} in doCompare()
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp1118 ((equalPrefixLength != leftLength && U8_IS_TRAIL(left[equalPrefixLength])) || in doCompare()
1119 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1120 while(--equalPrefixLength > 0 && U8_IS_TRAIL(left[equalPrefixLength])) {} in doCompare()
/external/webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/
DSRWebSocket.m1675 if (U8_IS_SINGLE(str[i]) || U8_IS_LEAD(str[i]) || !U8_IS_TRAIL(str[i])) {