/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])) { \ 252 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 286 if(U16_IS_LEAD(c)) { \ 314 if(U16_IS_LEAD(c)) { \ 422 if(U16_IS_LEAD((s)[(i)++])) { \ 441 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 523 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 581 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 614 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
D | utf_old.h | 1042 #define UTF_IS_LEAD(uchar) U16_IS_LEAD(uchar)
|
/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 | 226 if(!U16_IS_LEAD(c)) { \ 247 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 | 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 | 909 if(!U16_IS_LEAD(c)) { \ 926 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 | ustrcase.cpp | 1435 if(start1<=(s1-2) && U16_IS_LEAD(c=*(s1-2))) { in _cmpFold() 1451 if(start2<=(s2-2) && U16_IS_LEAD(c=*(s2-2))) { in _cmpFold() 1575 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2))) in _cmpFold() 1585 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2))) in _cmpFold()
|
D | normalizer2impl.cpp | 373 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(*(codePointStart-1))) { in skipPrevious() 385 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { in previousCC() 648 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in decompose() 1377 if(prevBoundary<prevSrc && U16_IS_LEAD(c2=*(prevSrc-1))) { in compose() 1644 if(prevBoundary<prevSrc && U16_IS_LEAD(c2=*(prevSrc-1))) { in composeQuickCheck() 2205 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in makeFCD() 2242 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
|
D | unistr.cpp | 1630 hasSupplementary |= (UBool)U16_IS_LEAD(swap = *left); in doReverse() 1631 hasSupplementary |= (UBool)U16_IS_LEAD(*left++ = *right); in doReverse() 1636 hasSupplementary |= (UBool)U16_IS_LEAD(*left); in doReverse() 1645 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 | 319 if(U16_IS_LEAD(c) && s!=limit && U16_IS_TRAIL(c2=*s)) { in nextFCD16() 342 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 | 734 if(!U16_IS_LEAD(lead)) { in utrie2_enumForLeadSurrogate()
|
D | ucnv2022.cpp | 2063 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1])) in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2557 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1])) in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() 3250 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1])) in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
|
/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 | number_types.h | 112 if (U16_IS_LEAD(leading) && length() > index + 1) { in codePointAt()
|
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()
|