Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/tools/genrb/
Dustr.h33 target[0] = U16_LEAD(c); \
47 target[0] = U16_LEAD(c); \
Dustr.c175 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.h88 if(c > 0xffff) { c = U16_LEAD(c); } in mayHaveLccc()
/external/icu/icu4c/source/common/
Dustrtrns.cpp109 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
335 *(pDest++)=U16_LEAD(c); in u_strFromUTF8WithSub()
440 *(pDest++)=U16_LEAD(c); in u_strFromUTF8WithSub()
477 *(pDest++)=U16_LEAD(c); in u_strFromUTF8WithSub()
612 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
706 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
745 *(pDest++) = U16_LEAD(ch); in u_strFromUTF8Lenient()
1245 *(pDest++)=U16_LEAD(subchar); in u_strFromJavaModifiedUTF8WithSub()
Dappendable.cpp30 return appendCodeUnit(U16_LEAD(c)) && appendCodeUnit(U16_TRAIL(c)); in appendCodePoint()
Ducharstrie.cpp47 (USTRINGTRIE_HAS_NEXT(first(U16_LEAD(cp))) ? in firstForCodePoint()
56 (USTRINGTRIE_HAS_NEXT(next(U16_LEAD(cp))) ? in nextForCodePoint()
Ducnv_u32.cpp94 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE()
175 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
561 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_LE()
651 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
Ducnv_cnv.cpp151 *t++=U16_LEAD(c); in ucnv_toUWriteCodePoint()
Dustring.cpp226 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strchr32()
270 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memchr32()
401 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strrchr32()
445 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memrchr32()
Duiter.cpp864 return U16_LEAD(c); in utf8IteratorCurrent()
899 return U16_LEAD(c); in utf8IteratorNext()
911 UChar lead=U16_LEAD(iter->reservedField); in utf8IteratorPrevious()
Ducnv_u8.cpp145 *(myTarget++) = U16_LEAD(ch); in ucnv_toUnicode_UTF8()
262 *(myTarget++) = U16_LEAD(ch); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
Ducnvbocu.cpp1135 *target++=U16_LEAD(c); in _Bocu1ToUnicodeWithOffsets()
1338 *target++=U16_LEAD(c); in _Bocu1ToUnicode()
Dutrie.h216 UChar __lead16=U16_LEAD(c32); \
Dpunycode.cpp568 dest[codeUnitIndex]=U16_LEAD(n); in u_strFromPunycode()
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c817 input[inLength++]=U16_LEAD(MUSICAL_HALF_NOTE); in TestNormCoverage()
820 input[inLength++]=U16_LEAD(MUSICAL_STACCATO); in TestNormCoverage()
822 input[inLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
876 expect[expectLength++]=U16_LEAD(MUSICAL_VOID_NOTEHEAD); in TestNormCoverage()
878 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
881 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
885 expect[expectLength++]=U16_LEAD(MUSICAL_STACCATO); in TestNormCoverage()
927 expect[expectLength++]=U16_LEAD(MUSICAL_VOID_NOTEHEAD); in TestNormCoverage()
929 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
932 expect[expectLength++]=U16_LEAD(MUSICAL_STEM); in TestNormCoverage()
[all …]
Dsprpdata.c212 UChar lead = U16_LEAD(mapping[i]); in compareMapping()
/external/icu/icu4c/source/samples/uciter8/
Duit_len8.c405 return U16_LEAD(c); in lenient8IteratorCurrent()
442 return U16_LEAD(c); in lenient8IteratorNext()
454 UChar lead=U16_LEAD(iter->reservedField); in lenient8IteratorPrevious()
/external/v8/src/inspector/
Dstring-16.cc193 #define U16_LEAD(supplementary) (UChar)(((supplementary) >> 10) + 0xd7c0) macro
333 *target++ = U16_LEAD(character); in convertUTF8ToUTF16()
/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.cpp216 *bufBase++ = U16_LEAD(cp); in ExplainCodePointTag()
Dtestidn.cpp388 UChar lead = U16_LEAD(mapping[i]); in compareMapping()
Dnumbertest_stringbuilder.cpp96 !U_IS_SUPPLEMENTARY(cas) ? (char16_t) cas : U16_LEAD(cas), in testInsertAppendCodePoint()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp418 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); in setSmallFCD()
697 indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]=U16_LEAD(minCP); in processData()
701 indexes[Normalizer2Impl::IX_MIN_COMP_NO_MAYBE_CP]=U16_LEAD(minCP); in processData()
705 indexes[Normalizer2Impl::IX_MIN_LCCC_CP]=U16_LEAD(minCP); in processData()
/external/icu/icu4c/source/common/unicode/
Dutf16.h122 #define U16_LEAD(supplementary) (UChar)(((supplementary)>>10)+0xd7c0) macro

12