/external/icu/icu4c/source/common/unicode/ |
D | utf16.h | 56 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 207 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 237 if(U16_IS_LEAD(c)) { \ 266 if(U16_IS_LEAD(c)) { \ 336 if(U16_IS_LEAD((s)[(i)++])) { \ 355 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 437 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 496 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 533 if(U16_IS_TRAIL((s)[--(i)]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 595 if(U16_IS_LEAD((s)[(i)-1])) { \ [all …]
|
D | utf_old.h | 1006 #define UTF_IS_LEAD(uchar) U16_IS_LEAD(uchar)
|
/external/icu/icu4c/source/common/ |
D | ustring.cpp | 41 if(U16_IS_TRAIL(*match) && start!=match && U16_IS_LEAD(*(match-1))) { in isMatchAtCPBoundary() 45 if(U16_IS_LEAD(*(matchLimit-1)) && match!=limit && U16_IS_TRAIL(*matchLimit)) { in isMatchAtCPBoundary() 796 (U16_IS_TRAIL(c1) && start1!=s1 && U16_IS_LEAD(*(s1-1))) in uprv_strCompare() 806 (U16_IS_TRAIL(c2) && start2!=s2 && U16_IS_LEAD(*(s2-1))) in uprv_strCompare() 858 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter() 868 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2)))) in u_strCompareIter() 908 if(!U16_IS_LEAD(iter1->previous(iter1))) { 1016 if(U16_IS_LEAD(*s) && length>=2 && U16_IS_TRAIL(*(s+1))) { in u_countChar32() 1037 if(U16_IS_LEAD(c) && U16_IS_TRAIL(*s)) { in u_countChar32() 1067 if(U16_IS_LEAD(c) && U16_IS_TRAIL(*s)) { in u_strHasMoreChar32Than() [all …]
|
D | unormcmp.cpp | 292 if(start1<=(s1-2) && U16_IS_LEAD(c=*(s1-2))) { in unorm_cmpEquivFold() 308 if(start2<=(s2-2) && U16_IS_LEAD(c=*(s2-2))) { in unorm_cmpEquivFold() 512 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2))) in unorm_cmpEquivFold() 522 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2))) in unorm_cmpEquivFold()
|
D | ustrcase.cpp | 676 if(start1<=(s1-2) && U16_IS_LEAD(c=*(s1-2))) { in _cmpFold() 692 if(start2<=(s2-2) && U16_IS_LEAD(c=*(s2-2))) { in _cmpFold() 816 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2))) in _cmpFold() 826 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2))) in _cmpFold()
|
D | normalizer2impl.cpp | 206 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(*(codePointStart-1))) { in skipPrevious() 222 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { in previousCC() 515 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in decompose() 1134 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in compose() 1161 U16_IS_LEAD(*(prevBoundary-1)) in compose() 1381 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in composeQuickCheck() 1397 U16_IS_LEAD(*(prevBoundary-1)) in composeQuickCheck() 1668 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { in makeFCD() 1701 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
|
D | utrie.h | 224 if(!U16_IS_LEAD(c)) { \ 245 if((start)!=(src) && U16_IS_LEAD((c2)=*((src)-1))) { \
|
D | punycode.cpp | 230 } else if(U16_IS_LEAD(c) && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode() 263 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode()
|
D | utext.cpp | 130 if (U16_IS_LEAD(lead)) { in utext_setNativeIndex() 195 if (U16_IS_LEAD(c) == FALSE) { in utext_current32() 275 if (U16_IS_LEAD(c) == FALSE) { in utext_next32() 331 if (U16_IS_LEAD(lead) == FALSE) { in utext_previous32() 1812 U16_IS_LEAD(ex->s[ut->chunkLength-1])) { in repTextAccess() 1909 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace() 1913 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 2461 if (U16_IS_LEAD(str[chunkLimit-1])) { in ucstrTextAccess() 2547 if (si>0 && U16_IS_LEAD(s[si-1]) && in ucstrTextExtract()
|
D | utrie2.h | 904 if(!U16_IS_LEAD(c)) { \ 921 if(!U16_IS_TRAIL(c) || (src)==(start) || !U16_IS_LEAD(__c2=*((src)-1))) { \
|
D | uiter.cpp | 1040 if(U16_IS_LEAD(c2=iter->previous(iter))) { in uiter_current32() 1057 if(U16_IS_LEAD(c)) { in uiter_next32() 1074 if(U16_IS_LEAD(c2=iter->previous(iter))) { in uiter_previous32()
|
D | unistr.cpp | 1489 hasSupplementary |= (UBool)U16_IS_LEAD(swap = *left); in doReverse() 1490 hasSupplementary |= (UBool)U16_IS_LEAD(*left++ = *right); in doReverse() 1495 hasSupplementary |= (UBool)U16_IS_LEAD(*left); in doReverse() 1504 if(U16_IS_TRAIL(swap = *left) && U16_IS_LEAD(swap2 = *(left + 1))) { in doReverse()
|
D | normalizer2impl.h | 298 if(U16_IS_LEAD(c) && s!=limit && U16_IS_TRAIL(c2=*s)) { in nextFCD16() 321 if(start<s && U16_IS_LEAD(c2=*(s-1))) { in previousFCD16()
|
D | unisetspan.cpp | 476 !(0<start && U16_IS_LEAD(s[-1]) && U16_IS_TRAIL(s[0])) && in matches16CPB() 477 !(length<limit && U16_IS_LEAD(s[length-1]) && U16_IS_TRAIL(s[length])); in matches16CPB() 494 if(c>=0xdc00 && c<=0xdfff && length>=2 && U16_IS_LEAD(c2=s[length-2])) { in spanOneBack()
|
D | ucnvbocu.cpp | 484 if(U16_IS_LEAD(c)) { in _Bocu1FromUnicodeWithOffsets() 719 if(U16_IS_LEAD(c)) { in _Bocu1FromUnicode()
|
D | ucnv_u32.c | 731 if (U16_IS_LEAD(ch)) in T_UConverter_fromUnicode_UTF32_LE() 843 if (U16_IS_LEAD(ch)) in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
|
D | utrie2.cpp | 732 if(!U16_IS_LEAD(lead)) { in utrie2_enumForLeadSurrogate()
|
D | ucnv2022.cpp | 2074 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1])) in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2569 (sourceIndex==0 || U16_IS_LEAD(args->source[sourceIndex-1])) in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() 3262 (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 | 97 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint() 112 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint() 130 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(*pos)) { in forwardNumCodePoints() 141 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(*(pos-1))) { in backwardNumCodePoints() 279 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint() 315 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint()
|
D | uitercollationiterator.cpp | 178 if(U16_IS_LEAD(c)) { in nextCodePoint() 231 if(U16_IS_LEAD(prev)) { in previousCodePoint()
|
D | coleitr.cpp | 236 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
|
D | collationruleparser.cpp | 851 if(U16_IS_LEAD(rules->charAt(ruleIndex + length - 1))) { in setErrorContext()
|
/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 | 63 …LE(c) || UTF16_IS_LEAD(c) || UTF16_IS_TRAIL(c) || !U16_IS_SINGLE(c) || U16_IS_LEAD(c) || U16_IS_TR… in TestCodeUnitValues() 68 …if(!UTF16_IS_LEAD(c) || UTF16_IS_SINGLE(c) || UTF16_IS_TRAIL(c) || !U16_IS_LEAD(c) || U16_IS_SINGL… in TestCodeUnitValues() 73 … UTF16_IS_SINGLE(c) || UTF16_IS_LEAD(c) || !U16_IS_TRAIL(c) || U16_IS_SINGLE(c) || U16_IS_LEAD(c)){ in TestCodeUnitValues()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.c | 356 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32()
|