Lines Matching refs:val
966 u16 val; in SecureUncompressLH() local
981 val = *(nodep + offset); in SecureUncompressLH()
992 if ( val < 0x100 ) in SecureUncompressLH()
995 dstp[dstCnt++] = (u8)val; in SecureUncompressLH()
1000 u16 length = (u16)( (val & 0xFF) + 3 ); in SecureUncompressLH()
1015 val = *(nodep + offset); in SecureUncompressLH()
1026 offset_bit = val; in SecureUncompressLH()
1027 val = 0; in SecureUncompressLH()
1030 val = 1; in SecureUncompressLH()
1033 val <<= 1; in SecureUncompressLH()
1034 val |= BitReader_Read( &stream ); in SecureUncompressLH()
1038 val += 1; in SecureUncompressLH()
1040 if ( dstCnt < val ) in SecureUncompressLH()
1051 dstp[dstCnt] = dstp[dstCnt - val]; in SecureUncompressLH()
1156 RCAddCount_( RCCompressionInfo* info, u16 val ) in RCAddCount_() argument
1161 info->freq[ val ]++; in RCAddCount_()
1163 for ( i = (u32)(val + 1); i < tableSize; i++ ) in RCAddCount_()
1255 u16 val = RCSearch_( info, state->code, state->range, state->low ); in RCGetData_() local
1261 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
1262 state->range = info->freq[ val ] * tmp; in RCGetData_()
1266 RCAddCount_( info, val ); in RCGetData_()
1277 return val; in RCGetData_()
1353 u16 val = (u16)( RCGetData_( pSrc, &infoVal, &rcState, &cnt ) ); in SecureUncompressLRC() local
1356 if ( val < 0x100 ) in SecureUncompressLRC()
1359 dstp[ dstCnt++ ] = (u8)val; in SecureUncompressLRC()
1364 u16 length = (u16)( (val & 0xFF) + 3 ); in SecureUncompressLRC()
1365 val = (u16)( RCGetData_( pSrc, &infoOfs, &rcState, &cnt ) + 1 ); in SecureUncompressLRC()
1373 if ( dstCnt < val ) in SecureUncompressLRC()
1384 dstp[ dstCnt ] = dstp[ dstCnt - val ]; in SecureUncompressLRC()