Lines Matching refs:u16

584 CXiHuffImportTree( u16* pTable, const u8* srcp, u8 bitSize, u32 srcRemainSize )  in CXiHuffImportTree()
599 tableSize = CXiConvertEndian16_( *(u16*)srcp ); in CXiHuffImportTree()
629 pTable[ idx++ ] = (u16)( ( data >> (bitNum - bitSize) ) & bitMask ); in CXiHuffImportTree()
634 pTable[0] = (u16)idx; in CXiHuffImportTree()
700 u16 tmp = CXiConvertEndian16_( *(u16*)pSrc ); in CXSecureUnfilterDiff()
709 *(u16*)pDst = CXiConvertEndian16_( (u16)sum ); in CXSecureUnfilterDiff()
785 u16* treep = (u16*)pTable; in CXiLHVerifyTable()
786 u16* treeStartp = treep + 1; in CXiLHVerifyTable()
788 u16* treeEndp = (u16*)pTable + treeSize; in CXiLHVerifyTable()
791 const u16 ofs_mask = (u16)( (1 << (bit - 2)) - 1 ); in CXiLHVerifyTable()
792 const u16 l_mask = (u16)( 1 << (bit - 1) ); in CXiLHVerifyTable()
793 const u16 r_mask = (u16)( 1 << (bit - 2) ); in CXiLHVerifyTable()
812 u16* nodep = (u16*)((u32)treep & ~0x3) + offset; in CXiLHVerifyTable()
864 u16 offset_bit; in CXSecureUncompressLH()
874 u16* huffTable9; // Huffman table for length in CXSecureUncompressLH()
875 u16* huffTable12; // Huffman table for offset in CXSecureUncompressLH()
888 huffTable12 = (u16*)work + (1 << LENGTH_BITS) * 2; in CXSecureUncompressLH()
928 u16* nodep = huffTable9 + 1; in CXSecureUncompressLH()
929 u16 val; in CXSecureUncompressLH()
941 nodep = (u16*)((u32)nodep & ~0x3); in CXSecureUncompressLH()
947 nodep = (u16*)((u32)nodep & ~0x3); in CXSecureUncompressLH()
960 u16 length = (u16)( (val & 0xFF) + 3 ); in CXSecureUncompressLH()
961 u16* nodep = huffTable12 + 1; in CXSecureUncompressLH()
974 nodep = (u16*)((u32)nodep & ~0x3); in CXSecureUncompressLH()
980 nodep = (u16*)((u32)nodep & ~0x3); in CXSecureUncompressLH()
1116 RCAddCount_( RCCompressionInfo* info, u16 val ) in RCAddCount_()
1163 static u16
1195 return (u16)i; in RCSearch_()
1211 static u16
1215 u16 val = RCSearch_( info, state->code, state->range, state->low ); in RCGetData_()
1306 u16 val = (u16)( RCGetData_( pSrc, &infoVal, &rcState, &cnt ) ); in CXSecureUncompressLRC()
1317 u16 length = (u16)( (val & 0xFF) + 3 ); in CXSecureUncompressLRC()
1318 val = (u16)( RCGetData_( pSrc, &infoOfs, &rcState, &cnt ) + 1 ); in CXSecureUncompressLRC()