Home
last modified time | relevance | path

Searched refs:norm16 (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java500 private void enumLcccRange(int start, int end, int norm16, UnicodeSet set) { in enumLcccRange() argument
501 if(isAlgorithmicNoNo(norm16)) { in enumLcccRange()
599 final int norm16=range.value; in ensureCanonIterData() local
600 if(norm16==0 || (minYesNo<=norm16 && norm16<minNoNo)) { in ensureCanonIterData()
612 if(norm16>=minMaybeYes) { in ensureCanonIterData()
615 if(norm16<MIN_NORMAL_MAYBE_YES) { in ensureCanonIterData()
618 } else if(norm16<minYesNo) { in ensureCanonIterData()
623 int norm16_2=norm16; in ensureCanonIterData()
674 public int getCompQuickCheck(int norm16) { in getCompQuickCheck() argument
675 if(norm16<minNoNo || MIN_YES_YES_WITH_CC<=norm16) { in getCompQuickCheck()
[all …]
/external/icu/icu4c/source/common/
Dnormalizer2impl.h241 UNormalizationCheckResult getCompQuickCheck(uint16_t norm16) const { in getCompQuickCheck() argument
242 if(norm16<minNoNo || MIN_YES_YES_WITH_CC<=norm16) { in getCompQuickCheck()
244 } else if(minMaybeYes<=norm16) { in getCompQuickCheck()
250 … UBool isAlgorithmicNoNo(uint16_t norm16) const { return limitNoNo<=norm16 && norm16<minMaybeYes; } in isAlgorithmicNoNo() argument
251 UBool isCompNo(uint16_t norm16) const { return minNoNo<=norm16 && norm16<minMaybeYes; } in isCompNo() argument
252 UBool isDecompYes(uint16_t norm16) const { return norm16<minYesNo || minMaybeYes<=norm16; } in isDecompYes() argument
254 uint8_t getCC(uint16_t norm16) const { in getCC() argument
255 if(norm16>=MIN_NORMAL_MAYBE_YES) { in getCC()
256 return (uint8_t)norm16; in getCC()
258 if(norm16<minNoNo || limitNoNo<=norm16) { in getCC()
[all …]
Dnormalizer2impl.cpp317 void handleRange(UChar32 start, UChar32 end, uint16_t norm16) { in handleRange() argument
318 if(impl.isAlgorithmicNoNo(norm16)) { in handleRange()
493 uint16_t norm16=0; in decompose() local
503 isMostDecompYesAndZeroCC(norm16=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(normTrie, c)) in decompose()
520 if(isMostDecompYesAndZeroCC(norm16=getNorm16(c))) { in decompose()
545 if(!decompose(c, norm16, *buffer, errorCode)) { in decompose()
549 if(isDecompYes(norm16)) { in decompose()
550 uint8_t cc=getCCFromYesOrMaybe(norm16); in decompose()
574 uint16_t norm16; in decomposeShort() local
575 UTRIE2_U16_NEXT16(normTrie, src, limit, c, norm16); in decomposeShort()
[all …]
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp68 uint16_t norm16; member
939 int32_t norm16=0; in writeNorm16() local
946 norm16=Normalizer2Impl::MIN_NORMAL_MAYBE_YES+p->cc; in writeNorm16()
950 norm16=Normalizer2Impl::MIN_YES_YES_WITH_CC-1+p->cc; in writeNorm16()
955 norm16=indexes[Normalizer2Impl::IX_MIN_MAYBE_YES]+offset; in writeNorm16()
959 norm16=offset; in writeNorm16()
962 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO]+offset; in writeNorm16()
966 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO_MAPPINGS_ONLY]+offset; in writeNorm16()
970 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO]+offset; in writeNorm16()
974 norm16=getCenterNoNoDelta()+offset; in writeNorm16()
[all …]