Lines Matching refs:firstUnit
602 uint16_t firstUnit=*mapping; in decompose() local
603 int32_t length=firstUnit&MAPPING_LENGTH_MASK; in decompose()
605 trailCC=(uint8_t)(firstUnit>>8); in decompose()
606 if(firstUnit&MAPPING_HAS_CCC_LCCC_WORD) { in decompose()
667 uint16_t firstUnit=*mapping; in getRawDecomposition() local
668 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
669 if(firstUnit&MAPPING_HAS_RAW_MAPPING) { in getRawDecomposition()
672 const uint16_t *rawMapping=mapping-((firstUnit>>7)&1)-1; in getRawDecomposition()
736 uint16_t firstUnit=*mapping; in hasDecompBoundary() local
737 if((firstUnit&MAPPING_LENGTH_MASK)==0) { in hasDecompBoundary()
743 if(firstUnit>0x1ff) { in hasDecompBoundary()
746 if(firstUnit<=0xff) { in hasDecompBoundary()
752 return (firstUnit&MAPPING_HAS_CCC_LCCC_WORD)==0 || (*(mapping-1)&0xff00)==0; in hasDecompBoundary()
780 uint16_t key1, firstUnit; in combine() local
785 while(key1>(firstUnit=*list)) { in combine()
786 list+=2+(firstUnit&COMP_1_TRIPLE); in combine()
788 if(key1==(firstUnit&COMP_1_TRAIL_MASK)) { in combine()
789 if(firstUnit&COMP_1_TRIPLE) { in combine()
804 if(key1>(firstUnit=*list)) { in combine()
805 list+=2+(firstUnit&COMP_1_TRIPLE); in combine()
806 } else if(key1==(firstUnit&COMP_1_TRAIL_MASK)) { in combine()
808 if(firstUnit&COMP_1_LAST_TUPLE) { in combine()
831 uint16_t firstUnit; in addComposites() local
834 firstUnit=*list; in addComposites()
835 if((firstUnit&COMP_1_TRIPLE)==0) { in addComposites()
847 } while((firstUnit&COMP_1_LAST_TUPLE)==0); in addComposites()
1501 uint16_t firstUnit=*mapping; in hasCompBoundaryBefore() local
1502 if((firstUnit&MAPPING_LENGTH_MASK)==0) { in hasCompBoundaryBefore()
1505 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD) && (*(mapping-1)&0xff00)) { in hasCompBoundaryBefore()
1535 uint16_t firstUnit=*mapping; in hasCompBoundaryAfter() local
1543 (firstUnit&MAPPING_NO_COMP_BOUNDARY_AFTER)==0 && in hasCompBoundaryAfter()
1544 (!onlyContiguous || firstUnit<=0x1ff); in hasCompBoundaryAfter()
1596 uint16_t firstUnit=*mapping; in getFCD16FromNormData() local
1597 if((firstUnit&MAPPING_LENGTH_MASK)==0) { in getFCD16FromNormData()
1603 norm16=firstUnit>>8; // tccc in getFCD16FromNormData()
1604 if(firstUnit&MAPPING_HAS_CCC_LCCC_WORD) { in getFCD16FromNormData()
1918 uint16_t firstUnit=*mapping; in makeCanonIterDataFromNorm16() local
1919 int32_t length=firstUnit&MAPPING_LENGTH_MASK; in makeCanonIterDataFromNorm16()
1920 if((firstUnit&MAPPING_HAS_CCC_LCCC_WORD)!=0) { in makeCanonIterDataFromNorm16()