/external/icu/libicu/ndk_headers/unicode/ |
D | utf16.h | 59 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 210 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 251 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 283 if(U16_IS_LEAD(c)) { \ 311 if(U16_IS_LEAD(c)) { \ 415 if(U16_IS_LEAD((s)[(i)++])) { \ 434 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 516 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 574 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 605 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 | 59 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 210 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 251 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 283 if(U16_IS_LEAD(c)) { \ 311 if(U16_IS_LEAD(c)) { \ 415 if(U16_IS_LEAD((s)[(i)++])) { \ 434 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 516 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 574 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 605 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
D | ucptrie.h | 425 if (U16_IS_SURROGATE_TRAIL(c) && (src) != (start) && U16_IS_LEAD(__c2 = *((src) - 1))) { \
|
/external/icu/libicu/cts_headers/unicode/ |
D | utf16.h | 59 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 210 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 251 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 283 if(U16_IS_LEAD(c)) { \ 311 if(U16_IS_LEAD(c)) { \ 415 if(U16_IS_LEAD((s)[(i)++])) { \ 434 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 516 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 574 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 605 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
D | ucptrie.h | 425 if (U16_IS_SURROGATE_TRAIL(c) && (src) != (start) && U16_IS_LEAD(__c2 = *((src) - 1))) { \
|
/external/icu/libandroidicu/include/unicode/ |
D | utf16.h | 59 #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) macro 210 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 251 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 283 if(U16_IS_LEAD(c)) { \ 311 if(U16_IS_LEAD(c)) { \ 415 if(U16_IS_LEAD((s)[(i)++])) { \ 434 if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ 516 if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \ 574 if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ 605 if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \ [all …]
|
D | ucptrie.h | 425 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)) && matchLimit!=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 | 233 } else if(U16_IS_LEAD(c) && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode() 261 } 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 | 134 if (U16_IS_LEAD(lead)) { in utext_setNativeIndex() 199 if (U16_IS_LEAD(c) == FALSE) { in utext_current32() 279 if (U16_IS_LEAD(c) == FALSE) { in utext_next32() 335 if (U16_IS_LEAD(lead) == FALSE) { in utext_previous32() 1829 U16_IS_LEAD(ex->s[ut->chunkLength-1])) { in repTextAccess() 1926 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace() 1930 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 2481 if (U16_IS_LEAD(str[chunkLimit-1])) { in ucstrTextAccess() 2568 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 | 379 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(*(codePointStart-1))) { in skipPrevious() 391 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { in previousCC() 613 } else if(!U16_IS_LEAD(c)) { in decompose() 1348 if(!U16_IS_LEAD(c)) { in compose() 1609 if(!U16_IS_LEAD(c)) { in composeQuickCheck() 2183 if(U16_IS_LEAD(c)) { in makeFCD() 2220 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
|
D | unistr.cpp | 1668 hasSupplementary |= (UBool)U16_IS_LEAD(swap = *left); in doReverse() 1669 hasSupplementary |= (UBool)U16_IS_LEAD(*left++ = *right); in doReverse() 1674 hasSupplementary |= (UBool)U16_IS_LEAD(*left); in doReverse() 1683 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()
|
/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 | string_segment.cpp | 72 if (U16_IS_LEAD(lead) && fStart + 1 < fEnd) { in getCodePoint()
|
D | uitercollationiterator.cpp | 180 if(U16_IS_LEAD(c)) { in nextCodePoint() 233 if(U16_IS_LEAD(prev)) { in previousCodePoint()
|
/external/icu/icu4c/source/test/cintltst/ |
D | trietest.c | 184 !U16_IS_LEAD(c) || !U16_IS_TRAIL(c2) || c!=*(p-2) || c2!=*(p-1) in testTrieIteration() 248 !U16_IS_LEAD(c) || !U16_IS_TRAIL(c2) || c!=*p || c2!=*(p+1) in testTrieIteration() 389 if(!U16_IS_LEAD(start)) { in testTrieRangesWithMalloc() 598 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/libicu/cts_headers/ |
D | utrie.h | 226 if(!U16_IS_LEAD(c)) { \ 247 if((start)!=(src) && U16_IS_LEAD((c2)=*((src)-1))) { \
|
D | utrie2.h | 878 if(!U16_IS_LEAD(c)) { \ 895 if(!U16_IS_TRAIL(c) || (src)==(start) || !U16_IS_LEAD(__c2=*((src)-1))) { \
|