Home
last modified time | relevance | path

Searched refs:firstUnit (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/tools/gennorm2/
Dextradata.cpp44 int32_t firstUnit=length|(norm.trailCC<<8); in writeMapping() local
77 firstUnit|=Normalizer2Impl::MAPPING_HAS_RAW_MAPPING; in writeMapping()
83 firstUnit|=Normalizer2Impl::MAPPING_HAS_CCC_LCCC_WORD; in writeMapping()
85 dataString.append((UChar)firstUnit); in writeMapping()
144 int32_t firstUnit, secondUnit, thirdUnit; in writeCompositions() local
147 firstUnit=pair.trail<<1; in writeCompositions()
151 firstUnit=(pair.trail<<1)|Normalizer2Impl::COMP_1_TRIPLE; in writeCompositions()
156 firstUnit=(Normalizer2Impl::COMP_1_TRAIL_LIMIT+ in writeCompositions()
165 firstUnit|=Normalizer2Impl::COMP_1_LAST_TUPLE; in writeCompositions()
167 dataString.append((UChar)firstUnit).append((UChar)secondUnit); in writeCompositions()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java654 int firstUnit=extraData.charAt(mapping); in ensureCanonIterData() local
655 int length=firstUnit&MAPPING_LENGTH_MASK; in ensureCanonIterData()
656 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD)!=0) { in ensureCanonIterData()
785 int firstUnit=extraData.charAt(mapping); in getFCD16FromNormData() local
786 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData()
787 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD)!=0) { in getFCD16FromNormData()
849 int firstUnit=extraData.charAt(mapping); in getRawDecomposition() local
850 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
851 if((firstUnit&MAPPING_HAS_RAW_MAPPING)!=0) { in getRawDecomposition()
854 int rawMapping=mapping-((firstUnit>>7)&1)-1; in getRawDecomposition()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java645 int firstUnit=extraData.charAt(mapping); in ensureCanonIterData() local
646 int length=firstUnit&MAPPING_LENGTH_MASK; in ensureCanonIterData()
647 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD)!=0) { in ensureCanonIterData()
776 int firstUnit=extraData.charAt(mapping); in getFCD16FromNormData() local
777 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData()
778 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD)!=0) { in getFCD16FromNormData()
840 int firstUnit=extraData.charAt(mapping); in getRawDecomposition() local
841 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
842 if((firstUnit&MAPPING_HAS_RAW_MAPPING)!=0) { in getRawDecomposition()
845 int rawMapping=mapping-((firstUnit>>7)&1)-1; in getRawDecomposition()
[all …]
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp722 uint16_t firstUnit=*mapping; in decompose() local
723 int32_t length=firstUnit&MAPPING_LENGTH_MASK; in decompose()
725 trailCC=(uint8_t)(firstUnit>>8); in decompose()
726 if(firstUnit&MAPPING_HAS_CCC_LCCC_WORD) { in decompose()
792 uint16_t firstUnit = *mapping; in decomposeShort() local
793 int32_t length = firstUnit & MAPPING_LENGTH_MASK; in decomposeShort()
794 uint8_t trailCC = (uint8_t)(firstUnit >> 8); in decomposeShort()
796 if (firstUnit & MAPPING_HAS_CCC_LCCC_WORD) { in decomposeShort()
865 uint16_t firstUnit=*mapping; in getRawDecomposition() local
866 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
[all …]
/external/kernel-headers/original/uapi/mtd/
Dinftl-user.h65 __u32 firstUnit; member
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java1658 private Rational showDelta(String firstUnit, String secondUnit, boolean showYourWork) { in showDelta() argument
1659 Rational x = converter.convert(Rational.ONE, firstUnit, secondUnit, showYourWork); in showDelta()
1660 return showDelta(firstUnit + "\t" + secondUnit, x); in showDelta()