Lines Matching defs:norm16
317 void handleRange(UChar32 start, UChar32 end, uint16_t norm16) {
318 if(impl.isAlgorithmicNoNo(norm16)) {
319 // Range of code points with same-norm16-value algorithmic decompositions.
361 // Range of code points with same-norm16-value algorithmic decompositions.
493 uint16_t norm16=0;
503 isMostDecompYesAndZeroCC(norm16=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(normTrie, c))
520 if(isMostDecompYesAndZeroCC(norm16=getNorm16(c))) {
545 if(!decompose(c, norm16, *buffer, errorCode)) {
549 if(isDecompYes(norm16)) {
550 uint8_t cc=getCCFromYesOrMaybe(norm16);
574 uint16_t norm16;
575 UTRIE2_U16_NEXT16(normTrie, src, limit, c, norm16);
576 if(!decompose(c, norm16, buffer, errorCode)) {
583 UBool Normalizer2Impl::decompose(UChar32 c, uint16_t norm16,
589 if(isDecompYes(norm16)) {
591 return buffer.append(c, getCCFromYesOrMaybe(norm16), errorCode);
592 } else if(isHangul(norm16)) {
596 } else if(isDecompNoAlgorithmic(norm16)) {
597 c=mapAlgorithmic(c, norm16);
598 norm16=getNorm16(c);
601 const uint16_t *mapping=getMapping(norm16);
619 uint16_t norm16;
621 if(c<minDecompNoCP || isDecompYes(norm16=getNorm16(c))) {
624 } else if(isHangul(norm16)) {
628 } else if(isDecompNoAlgorithmic(norm16)) {
629 c=mapAlgorithmic(c, norm16);
635 const uint16_t *mapping=getMapping(norm16);
650 uint16_t norm16;
651 if(c<minDecompNoCP || isDecompYes(norm16=getNorm16(c))) {
654 } else if(isHangul(norm16)) {
659 } else if(isDecompNoAlgorithmic(norm16)) {
660 c=mapAlgorithmic(c, norm16);
666 const uint16_t *mapping=getMapping(norm16);
726 uint16_t norm16=getNorm16(c);
727 if(isHangul(norm16) || isDecompYesAndZeroCC(norm16)) {
729 } else if(norm16>MIN_NORMAL_MAYBE_YES) {
731 } else if(isDecompNoAlgorithmic(norm16)) {
732 c=mapAlgorithmic(c, norm16);
735 const uint16_t *mapping=getMapping(norm16);
871 uint16_t norm16;
883 UTRIE2_U16_NEXT16(normTrie, p, limit, c, norm16);
884 cc=getCCFromYesOrMaybe(norm16);
886 isMaybe(norm16) &&
892 if(isJamoVT(norm16)) {
1007 if((compositionsList=getCompositionsListForDecompYes(norm16))!=NULL) {
1027 uint16_t norm16=getNorm16(a); // maps an out-of-range 'a' to inert norm16=0
1029 if(isInert(norm16)) {
1031 } else if(norm16<minYesNoMappingsOnly) {
1032 if(isJamoL(norm16)) {
1042 } else if(isHangul(norm16)) {
1051 list=extraData+norm16;
1052 if(norm16>minYesNo) { // composite 'a' has both mapping & compositions list
1058 } else if(norm16<minMaybeYes || MIN_NORMAL_MAYBE_YES<=norm16) {
1061 list=maybeYesCompositions+norm16-minMaybeYes;
1113 uint16_t norm16=0;
1122 isCompYesAndZeroCC(norm16=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(normTrie, c))
1139 if(isCompYesAndZeroCC(norm16=getNorm16(c))) {
1173 * isCompYesAndZeroCC(norm16) is false, that is, norm16>=minNoNo.
1179 if(isJamoVT(norm16) && prevBoundary!=prevSrc) {
1256 if(norm16>=MIN_YES_YES_WITH_CC) {
1257 uint8_t cc=(uint8_t)norm16; // cc!=0
1285 } else if(!doCompose && !isMaybeOrNonZeroCC(norm16)) {
1304 if(hasCompBoundaryBefore(c, norm16)) {
1359 uint16_t norm16=0;
1369 isCompYesAndZeroCC(norm16=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(normTrie, c))
1386 if(isCompYesAndZeroCC(norm16=getNorm16(c))) {
1408 * isCompYesAndZeroCC(norm16) is false, that is, norm16>=minNoNo.
1412 if(isMaybeOrNonZeroCC(norm16)) {
1413 uint8_t cc=getCCFromYesOrMaybe(norm16);
1430 if(norm16<MIN_YES_YES_WITH_CC) {
1489 UBool Normalizer2Impl::hasCompBoundaryBefore(UChar32 c, uint16_t norm16) const {
1491 if(isCompYesAndZeroCC(norm16)) {
1493 } else if(isMaybeOrNonZeroCC(norm16)) {
1495 } else if(isDecompNoAlgorithmic(norm16)) {
1496 c=mapAlgorithmic(c, norm16);
1497 norm16=getNorm16(c);
1500 const uint16_t *mapping=getMapping(norm16);
1518 uint16_t norm16=getNorm16(c);
1519 if(isInert(norm16)) {
1521 } else if(norm16<=minYesNo) {
1522 // Hangul: norm16==minYesNo
1525 return isHangul(norm16) && !Hangul::isHangulWithoutJamoT((UChar)c);
1526 } else if(norm16>= (testInert ? minNoNo : minMaybeYes)) {
1528 } else if(isDecompNoAlgorithmic(norm16)) {
1529 c=mapAlgorithmic(c, norm16);
1534 const uint16_t *mapping=getMapping(norm16);
1551 uint16_t norm16;
1553 norm16=iter.previous16();
1554 } while(!hasCompBoundaryBefore(iter.codePoint, norm16));
1562 uint16_t norm16;
1564 norm16=iter.next16();
1565 } while(!hasCompBoundaryBefore(iter.codePoint, norm16));
1581 uint16_t norm16=getNorm16(c);
1582 if(norm16<=minYesNo) {
1585 } else if(norm16>=MIN_NORMAL_MAYBE_YES) {
1587 norm16&=0xff;
1588 return norm16|(norm16<<8);
1589 } else if(norm16>=minMaybeYes) {
1591 } else if(isDecompNoAlgorithmic(norm16)) {
1592 c=mapAlgorithmic(c, norm16);
1595 const uint16_t *mapping=getMapping(norm16);
1603 norm16=firstUnit>>8; // tccc
1605 norm16|=*(mapping-1)&0xff00; // lccc
1607 return norm16;
1848 // Call Normalizer2Impl::makeCanonIterDataFromNorm16() for a range of same-norm16 characters.
1884 void Normalizer2Impl::makeCanonIterDataFromNorm16(UChar32 start, UChar32 end, uint16_t norm16,
1887 if(norm16==0 || (minYesNo<=norm16 && norm16<minNoNo)) {
1899 if(norm16>=minMaybeYes) {
1902 if(norm16<MIN_NORMAL_MAYBE_YES) {
1905 } else if(norm16<minYesNo) {
1910 uint16_t norm16_2=norm16;
1989 uint16_t norm16=getNorm16(c);
1990 if(norm16==JAMO_L) {
1995 addComposites(getCompositionsList(norm16), set);