Searched refs:norm16 (Results 1 – 3 of 3) sorted by relevance
/external/icu4c/common/ |
D | normalizer2impl.h | 219 UNormalizationCheckResult getCompQuickCheck(uint16_t norm16) const { in getCompQuickCheck() argument 220 if(norm16<minNoNo || MIN_YES_YES_WITH_CC<=norm16) { in getCompQuickCheck() 222 } else if(minMaybeYes<=norm16) { in getCompQuickCheck() 228 UBool isCompNo(uint16_t norm16) const { return minNoNo<=norm16 && norm16<minMaybeYes; } in isCompNo() argument 229 UBool isDecompYes(uint16_t norm16) const { return norm16<minYesNo || minMaybeYes<=norm16; } in isDecompYes() argument 231 uint8_t getCC(uint16_t norm16) const { in getCC() argument 232 if(norm16>=MIN_NORMAL_MAYBE_YES) { in getCC() 233 return (uint8_t)norm16; in getCC() 235 if(norm16<minNoNo || limitNoNo<=norm16) { in getCC() 238 return getCCFromNoNo(norm16); in getCC() [all …]
|
D | normalizer2impl.cpp | 418 uint16_t norm16=0; in decompose() local 428 isMostDecompYesAndZeroCC(norm16=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(normTrie, c)) in decompose() 445 if(isMostDecompYesAndZeroCC(norm16=getNorm16(c))) { in decompose() 470 if(!decompose(c, norm16, *buffer, errorCode)) { in decompose() 474 if(isDecompYes(norm16)) { in decompose() 475 uint8_t cc=getCCFromYesOrMaybe(norm16); in decompose() 499 uint16_t norm16; in decomposeShort() local 500 UTRIE2_U16_NEXT16(normTrie, src, limit, c, norm16); in decomposeShort() 501 if(!decompose(c, norm16, buffer, errorCode)) { in decomposeShort() 508 UBool Normalizer2Impl::decompose(UChar32 c, uint16_t norm16, in decompose() argument [all …]
|
/external/icu4c/tools/gennorm2/ |
D | n2builder.cpp | 68 uint16_t norm16; member 838 int32_t norm16=0; in writeNorm16() local 845 norm16=Normalizer2Impl::MIN_NORMAL_MAYBE_YES+p->cc; in writeNorm16() 849 norm16=Normalizer2Impl::MIN_YES_YES_WITH_CC-1+p->cc; in writeNorm16() 854 norm16=indexes[Normalizer2Impl::IX_MIN_MAYBE_YES]+offset; in writeNorm16() 858 norm16=offset; in writeNorm16() 861 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO]+offset; in writeNorm16() 865 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO]+offset; in writeNorm16() 869 norm16=getCenterNoNoDelta()+offset; in writeNorm16() 876 utrie2_setRange32(norm16Trie, start, end, (uint32_t)norm16, TRUE, errorCode); in writeNorm16() [all …]
|