Home
last modified time | relevance | path

Searched refs:U16_LEAD (Results 1 – 25 of 36) sorted by relevance

12

/external/icu/icu4c/source/tools/genrb/
Dustr.h31 target[0] = U16_LEAD(c); \
45 target[0] = U16_LEAD(c); \
Dustr.c173 ustr_ucat(dst, U16_LEAD(c), status); in ustr_u32cat()
/external/icu/icu4c/source/i18n/
Dutf8collationiterator.cpp197 if(CollationFCD::hasTccc(U16_LEAD(c)) && pos != length && nextHasLccc()) { in handleNextCE32()
230 if(c > 0xffff) { c = U16_LEAD(c); } in nextHasLccc()
241 if(c > 0xffff) { c = U16_LEAD(c); } in previousHasTccc()
277 if(CollationFCD::hasTccc(c <= 0xffff ? c : U16_LEAD(c)) && in nextCodePoint()
315 if(CollationFCD::hasLccc(c <= 0xffff ? c : U16_LEAD(c)) && in previousCodePoint()
Dcollationfcd.h86 if(c > 0xffff) { c = U16_LEAD(c); } in mayHaveLccc()
/external/icu/icu4c/source/common/
Dustrtrns.cpp107 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
488 *(pDest++)=U16_LEAD(ch); in u_strFromUTF8WithSub()
609 *(pDest++)=U16_LEAD(ch); in u_strFromUTF8WithSub()
655 *(pDest++)=U16_LEAD(ch); in u_strFromUTF8WithSub()
796 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
890 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
929 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
1389 *(pDest++)=U16_LEAD(subchar); in u_strFromJavaModifiedUTF8WithSub()
1438 *(pDest++)=U16_LEAD(subchar); in u_strFromJavaModifiedUTF8WithSub()
Dappendable.cpp28 return appendCodeUnit(U16_LEAD(c)) && appendCodeUnit(U16_TRAIL(c)); in appendCodePoint()
Ducharstrie.cpp45 (USTRINGTRIE_HAS_NEXT(first(U16_LEAD(cp))) ? in firstForCodePoint()
54 (USTRINGTRIE_HAS_NEXT(next(U16_LEAD(cp))) ? in nextForCodePoint()
Ducnv_u32.c92 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE()
173 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
556 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_LE()
646 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
Ducnv_cnv.c143 *t++=U16_LEAD(c); in ucnv_toUWriteCodePoint()
Dustring.cpp223 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strchr32()
267 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memchr32()
398 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strrchr32()
442 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memrchr32()
Duiter.cpp862 return U16_LEAD(c); in utf8IteratorCurrent()
897 return U16_LEAD(c); in utf8IteratorNext()
909 UChar lead=U16_LEAD(iter->reservedField); in utf8IteratorPrevious()
Dnormalizer2impl.cpp75 limit[0]=U16_LEAD(c); in appendSupplementary()
136 limit[0]=U16_LEAD(c); in appendZeroCC()
939 starter[0]=U16_LEAD(composite); in recompose()
964 *--starter=U16_LEAD(composite); // undo the temporary increment in recompose()
Ducnvbocu.cpp1116 *target++=U16_LEAD(c); in _Bocu1ToUnicodeWithOffsets()
1319 *target++=U16_LEAD(c); in _Bocu1ToUnicode()
Dpunycode.cpp566 dest[codeUnitIndex]=U16_LEAD(n); in u_strFromPunycode()
Dutrie.h214 UChar __lead16=U16_LEAD(c32); \
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c814 input[inLength++]=U16_LEAD(MUSICAL_HALF_NOTE); in TestNormCoverage()
817 input[inLength++]=U16_LEAD(MUSICAL_STACCATO); in TestNormCoverage()
819 input[inLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
873 expect[expectLength++]=U16_LEAD(MUSICAL_VOID_NOTEHEAD); in TestNormCoverage()
875 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
878 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
882 expect[expectLength++]=U16_LEAD(MUSICAL_STACCATO); in TestNormCoverage()
924 expect[expectLength++]=U16_LEAD(MUSICAL_VOID_NOTEHEAD); in TestNormCoverage()
926 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
929 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
[all …]
Dsprpdata.c210 UChar lead = U16_LEAD(mapping[i]); in compareMapping()
Dnccbtst.c1745 out1[]={ U16_LEAD(0x100f00), U16_TRAIL(0x100f00), 0xfeff }, in TestSub()
1746 out2[]={ U16_LEAD(0x0f1000), U16_TRAIL(0x0f1000), 0xfffe }, in TestSub()
1747 out3[]={ 0xfefe, U16_LEAD(0x100f00), U16_TRAIL(0x100f00), 0xfffd, 0xfffd }, in TestSub()
1748 out4[]={ U16_LEAD(0x10203), U16_TRAIL(0x10203), 0xfffd, 0x4e00 }; in TestSub()
/external/icu/icu4c/source/samples/uciter8/
Duit_len8.c399 return U16_LEAD(c); in lenient8IteratorCurrent()
436 return U16_LEAD(c); in lenient8IteratorNext()
448 UChar lead=U16_LEAD(iter->reservedField); in lenient8IteratorPrevious()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp324 dest.add(U16_LEAD(c)); in addLeadSurrogatesForSupplementary()
450U16_LEAD(0x1D15F), U16_TRAIL(0x1D15F), // MUSICAL SYMBOL QUARTER NOTE=1D158 1D165, ccc=0, 216 in TestFCD()
452U16_LEAD(0x1D16D), U16_TRAIL(0x1D16D), // MUSICAL SYMBOL COMBINING AUGMENTATION DOT, ccc=226 in TestFCD()
453 U16_LEAD(0x1D15F), U16_TRAIL(0x1D15F), in TestFCD()
454 U16_LEAD(0x1D16D), U16_TRAIL(0x1D16D), in TestFCD()
457 U16_LEAD(0x1D16D), U16_TRAIL(0x1D16D), U16_LEAD(0x1D165), U16_TRAIL(0x1D165), in TestFCD()
Didnaconf.cpp214 *bufBase++ = U16_LEAD(cp); in ExplainCodePointTag()
Dtstnorm.cpp691 U16_LEAD(0x2f999), U16_TRAIL(0x2f999), in TestPreviousNext()
692 U16_LEAD(0x1d15f), U16_TRAIL(0x1d15f), in TestPreviousNext()
714 U16_LEAD(0x2f999), U16_TRAIL(0x2f999), in TestPreviousNext()
Dtestidn.cpp386 UChar lead = U16_LEAD(mapping[i]); in compareMapping()
/external/icu/icu4c/source/common/unicode/
Dutf16.h120 #define U16_LEAD(supplementary) (UChar)(((supplementary)>>10)+0xd7c0) macro
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp703 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); in writeMapping()
845 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); in writeExtraData()
1143 indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]=U16_LEAD(minCP); in processData()
1147 indexes[Normalizer2Impl::IX_MIN_COMP_NO_MAYBE_CP]=U16_LEAD(minCP); in processData()

12