Lines Matching refs:val
920 u16 val; in CXSecureUncompressLH() local
933 val = *(nodep + offset); in CXSecureUncompressLH()
943 if ( val < 0x100 ) in CXSecureUncompressLH()
946 dstp[dstCnt++] = (u8)val; in CXSecureUncompressLH()
951 u16 length = (u16)( (val & 0xFF) + 3 ); in CXSecureUncompressLH()
966 val = *(nodep + offset); in CXSecureUncompressLH()
977 offset_bit = val; in CXSecureUncompressLH()
978 val = 0; in CXSecureUncompressLH()
981 val = 1; in CXSecureUncompressLH()
984 val <<= 1; in CXSecureUncompressLH()
985 val |= BitReader_Read( &stream ); in CXSecureUncompressLH()
989 val += 1; in CXSecureUncompressLH()
991 if ( dstCnt - val < 0 ) in CXSecureUncompressLH()
1002 dstp[dstCnt] = dstp[dstCnt - val]; in CXSecureUncompressLH()
1107 RCAddCount_( RCCompressionInfo* info, u16 val ) in RCAddCount_() argument
1112 info->freq[ val ]++; in RCAddCount_()
1114 for ( i = (u32)(val + 1); i < tableSize; i++ ) in RCAddCount_()
1208 u16 val = RCSearch_( info, state->code, state->range, state->low ); in RCGetData_() local
1214 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
1215 state->range = info->freq[ val ] * tmp; in RCGetData_()
1219 RCAddCount_( info, val ); in RCGetData_()
1230 return val; in RCGetData_()
1299 u16 val = (u16)( RCGetData_( pSrc, &infoVal, &rcState, &cnt ) ); in CXSecureUncompressLRC() local
1302 if ( val < 0x100 ) in CXSecureUncompressLRC()
1305 dstp[ dstCnt++ ] = (u8)val; in CXSecureUncompressLRC()
1310 u16 length = (u16)( (val & 0xFF) + 3 ); in CXSecureUncompressLRC()
1311 val = (u16)( RCGetData_( pSrc, &infoOfs, &rcState, &cnt ) + 1 ); in CXSecureUncompressLRC()
1319 if ( dstCnt < val ) in CXSecureUncompressLRC()
1330 dstp[ dstCnt ] = dstp[ dstCnt - val ]; in CXSecureUncompressLRC()