Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/unicode/
Dutf8.h180 #define U8_IS_TRAIL(c) (((c)&0xc0)==0x80) macro
518 while(__count>0 && U8_IS_TRAIL((s)[i])) { \
582 while(U8_IS_TRAIL((s)[i])) { --(i); } \
600 if(U8_IS_TRAIL((s)[(i)])) { \
628 if(U8_IS_TRAIL(c)) { \
718 while(U8_IS_TRAIL((s)[--(i)])) {} \
734 if(U8_IS_TRAIL((s)[--(i)])) { \
/external/icu/icu4c/source/common/
Ducnv_u8.c145 if (!U8_IS_TRAIL(ch2)) in ucnv_toUnicode_UTF8()
274 if (!U8_IS_TRAIL(ch2)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
655 if(U8_IS_TRAIL(myByte = *source)) { in ucnv_getNextUChar_UTF8()
677 if (!U8_IS_TRAIL(myByte)) in ucnv_getNextUChar_UTF8()
686 if (!U8_IS_TRAIL(myByte)) in ucnv_getNextUChar_UTF8()
695 if (!U8_IS_TRAIL(myByte)) in ucnv_getNextUChar_UTF8()
704 if (!U8_IS_TRAIL(myByte)) in ucnv_getNextUChar_UTF8()
712 if (!U8_IS_TRAIL(myByte)) in ucnv_getNextUChar_UTF8()
830 if(U8_IS_TRAIL(b)) { in ucnv_UTF8FromUTF8()
905 if(U8_IS_TRAIL(b)) { in ucnv_UTF8FromUTF8()
[all …]
Dutf_impl.c175 while(count>0 && U8_IS_TRAIL(s[i])) { in utf8_nextCharSafeBody()
234 if(!U8_IS_TRAIL(c)) { return errorValue(0, strict); } in utf8_prevCharSafeBody()
Dunisetspan.cpp1007 if( !U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1053 if( !U8_IS_TRAIL(s[pos-overlap]) && in spanUTF8()
1189 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
1234 if( !U8_IS_TRAIL(s[pos-dec]) && in spanBackUTF8()
Dustrtrns.cpp321 while(count>0 && U8_IS_TRAIL(*s)) { in utf8_nextCharSafeBodyTerminated()
389 while(count>0 && s<limit && U8_IS_TRAIL(*s)) { in utf8_nextCharSafeBodyPointer()
Ducnvmbcs.cpp5068 if(U8_IS_TRAIL(b)) { in ucnv_SBCSFromUTF8()
5177 if(U8_IS_TRAIL(b)) { in ucnv_SBCSFromUTF8()
5368 if(U8_IS_TRAIL(b)) { in ucnv_DBCSFromUTF8()
5457 if(U8_IS_TRAIL(b)) { in ucnv_DBCSFromUTF8()
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c106 …(c) || UTF8_IS_LEAD(c) || UTF8_IS_TRAIL(c) || !U8_IS_SINGLE(c) || U8_IS_LEAD(c) || U8_IS_TRAIL(c)){ in TestCodeUnitValues()
111 …) || UTF8_IS_SINGLE(c) || UTF8_IS_TRAIL(c) || !U8_IS_LEAD(c) || U8_IS_SINGLE(c) || U8_IS_TRAIL(c)){ in TestCodeUnitValues()
116 …if(!UTF8_IS_TRAIL(c) || UTF8_IS_SINGLE(c) || UTF8_IS_LEAD(c) || !U8_IS_TRAIL(c) || U8_IS_SINGLE(c)… in TestCodeUnitValues()
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp1115 ((equalPrefixLength != leftLength && U8_IS_TRAIL(left[equalPrefixLength])) || in doCompare()
1116 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1117 while(--equalPrefixLength > 0 && U8_IS_TRAIL(left[equalPrefixLength])) {} in doCompare()