/external/icu/libandroidicu/include/unicode/ |
D | utf16.h | 58 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 209 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 250 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 282 if(U16_IS_LEAD(c)) { \ 310 if(U16_IS_LEAD(c)) { \ 414 if(U16_IS_LEAD((s)[(i)++])) { \ 433 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 515 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 573 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 604 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | utf16.h | 58 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 209 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 250 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 282 if(U16_IS_LEAD(c)) { \ 310 if(U16_IS_LEAD(c)) { \ 414 if(U16_IS_LEAD((s)[(i)++])) { \ 433 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 515 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 573 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 604 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
D | ucptrie.h | 444 if (U16_IS_SURROGATE_TRAIL(c) && (src) != (start) && U16_IS_LEAD(__c2 = *((src) - 1))) { \
|
/external/icu/icu4c/source/common/ |
D | ustring.cpp | 44 if(U16_IS_TRAIL(*match) && start!=match && U16_IS_LEAD(*(match-1))) { in isMatchAtCPBoundary() 48 if(U16_IS_LEAD(*(matchLimit-1)) && match!=limit && U16_IS_TRAIL(*matchLimit)) { in isMatchAtCPBoundary() 799 (U16_IS_TRAIL(c1) && start1!=s1 && U16_IS_LEAD(*(s1-1))) in uprv_strCompare() 809 (U16_IS_TRAIL(c2) && start2!=s2 && U16_IS_LEAD(*(s2-1))) in uprv_strCompare() 861 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter() 871 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2)))) in u_strCompareIter() 911 if(!U16_IS_LEAD(iter1->previous(iter1))) { 1019 if(U16_IS_LEAD(*s) && length>=2 && U16_IS_TRAIL(*(s+1))) { in u_countChar32() 1040 if(U16_IS_LEAD(c) && U16_IS_TRAIL(*s)) { in u_countChar32() 1070 if(U16_IS_LEAD(c) && U16_IS_TRAIL(*s)) { in u_strHasMoreChar32Than() [all …]
|
D | unormcmp.cpp | 288 if(start1<=(s1-2) && U16_IS_LEAD(c=*(s1-2))) { in unorm_cmpEquivFold() 304 if(start2<=(s2-2) && U16_IS_LEAD(c=*(s2-2))) { in unorm_cmpEquivFold() 508 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2))) in unorm_cmpEquivFold() 518 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2))) in unorm_cmpEquivFold()
|
D | utrie.h | 225 if(!U16_IS_LEAD(c)) { \ 246 if((start)!=(src) && U16_IS_LEAD((c2)=*((src)-1))) { \
|
D | punycode.cpp | 232 } else if(U16_IS_LEAD(c) && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode() 265 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode()
|
D | ustrcase.cpp | 263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower() 359 if (U16_IS_LEAD(lead) && srcIndex < srcLength && U16_IS_TRAIL(trail = src[srcIndex])) { in toUpper() 1586 if(start1<=(s1-2) && U16_IS_LEAD(c=*(s1-2))) { in _cmpFold() 1602 if(start2<=(s2-2) && U16_IS_LEAD(c=*(s2-2))) { in _cmpFold() 1726 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2))) in _cmpFold() 1736 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2))) in _cmpFold()
|
D | utext.cpp | 132 if (U16_IS_LEAD(lead)) { in utext_setNativeIndex() 197 if (U16_IS_LEAD(c) == FALSE) { in utext_current32() 277 if (U16_IS_LEAD(c) == FALSE) { in utext_next32() 333 if (U16_IS_LEAD(lead) == FALSE) { in utext_previous32() 1827 U16_IS_LEAD(ex->s[ut->chunkLength-1])) { in repTextAccess() 1924 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace() 1928 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 2479 if (U16_IS_LEAD(str[chunkLimit-1])) { in ucstrTextAccess() 2566 if (si>0 && U16_IS_LEAD(s[si-1]) && in ucstrTextExtract()
|
D | utrie2.h | 878 if(!U16_IS_LEAD(c)) { \ 895 if(!U16_IS_TRAIL(c) || (src)==(start) || !U16_IS_LEAD(__c2=*((src)-1))) { \
|
D | uiter.cpp | 1042 if(U16_IS_LEAD(c2=iter->previous(iter))) { in uiter_current32() 1059 if(U16_IS_LEAD(c)) { in uiter_next32() 1076 if(U16_IS_LEAD(c2=iter->previous(iter))) { in uiter_previous32()
|
D | normalizer2impl.cpp | 380 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(*(codePointStart-1))) { in skipPrevious() 392 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { in previousCC() 614 } else if(!U16_IS_LEAD(c)) { in decompose() 1349 if(!U16_IS_LEAD(c)) { in compose() 1610 if(!U16_IS_LEAD(c)) { in composeQuickCheck() 2174 if(U16_IS_LEAD(c)) { in makeFCD() 2211 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
|
D | unistr.cpp | 1665 hasSupplementary |= (UBool)U16_IS_LEAD(swap = *left); in doReverse() 1666 hasSupplementary |= (UBool)U16_IS_LEAD(*left++ = *right); in doReverse() 1671 hasSupplementary |= (UBool)U16_IS_LEAD(*left); in doReverse() 1680 if(U16_IS_TRAIL(swap = *left) && U16_IS_LEAD(swap2 = *(left + 1))) { in doReverse()
|
D | unisetspan.cpp | 478 !(0<start && U16_IS_LEAD(s[-1]) && U16_IS_TRAIL(s[0])) && in matches16CPB() 479 !(length<limit && U16_IS_LEAD(s[length-1]) && U16_IS_TRAIL(s[length])); in matches16CPB() 496 if(c>=0xdc00 && c<=0xdfff && length>=2 && U16_IS_LEAD(c2=s[length-2])) { in spanOneBack()
|
D | normalizer2impl.h | 331 if(U16_IS_LEAD(c) && s!=limit && U16_IS_TRAIL(c2=*s)) { in nextFCD16() 354 if(start<s && U16_IS_LEAD(c2=*(s-1))) { in previousFCD16()
|
D | ucnvbocu.cpp | 484 if(U16_IS_LEAD(c)) { in _Bocu1FromUnicodeWithOffsets() 728 if(U16_IS_LEAD(c)) { in _Bocu1FromUnicode()
|
D | ucnv_u32.cpp | 733 if (U16_IS_LEAD(ch)) in T_UConverter_fromUnicode_UTF32_LE() 845 if (U16_IS_LEAD(ch)) in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
|
D | utrie2.cpp | 630 if(!U16_IS_LEAD(lead)) { in utrie2_enumForLeadSurrogate()
|
/external/icu/icu4c/source/i18n/ |
D | utf16collationiterator.cpp | 99 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint() 114 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint() 132 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(*pos)) { in forwardNumCodePoints() 143 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(*(pos-1))) { in backwardNumCodePoints() 281 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint() 317 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint()
|
D | uitercollationiterator.cpp | 180 if(U16_IS_LEAD(c)) { in nextCodePoint() 233 if(U16_IS_LEAD(prev)) { in previousCodePoint()
|
D | numparse_stringsegment.cpp | 74 if (U16_IS_LEAD(lead) && fStart + 1 < fEnd) { in getCodePoint()
|
D | coleitr.cpp | 239 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
|
/external/icu/icu4c/source/test/cintltst/ |
D | trietest.c | 183 !U16_IS_LEAD(c) || !U16_IS_TRAIL(c2) || c!=*(p-2) || c2!=*(p-1) in testTrieIteration() 247 !U16_IS_LEAD(c) || !U16_IS_TRAIL(c2) || c!=*p || c2!=*(p+1) in testTrieIteration() 388 if(!U16_IS_LEAD(start)) { in testTrieRangesWithMalloc() 597 if(!U16_IS_LEAD(start)) { in testTrieRanges()
|
D | utf16tst.c | 82 !U16_IS_SINGLE(c) || U16_IS_LEAD(c) || U16_IS_TRAIL(c)) { in TestCodeUnitValues() 91 !U16_IS_LEAD(c) || U16_IS_SINGLE(c) || U16_IS_TRAIL(c)){ in TestCodeUnitValues() 100 !U16_IS_TRAIL(c) || U16_IS_SINGLE(c) || U16_IS_LEAD(c)) { in TestCodeUnitValues()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.cpp | 358 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32()
|