Lines Matching refs:val

756     s32  val;  in ReadUncompLH()  local
811 if ( ( val = BitReader_Read( &stream, 16 ) ) < 0 ) in ReadUncompLH()
815 …context->tableSize9 = (internal::ForceConvertEndian16( (u16)val ) + 1) * 4 * 8; // shown with the … in ReadUncompLH()
824 if ( ( val = BitReader_Read( &stream, LENGTH_BITS ) ) < 0 ) in ReadUncompLH()
831 context->huffTable9[ context->tableIdx++ ] = (u16)val; in ReadUncompLH()
840 if ( ( val = BitReader_Read( &stream, (u8)context->tableSize9 ) ) < 0 ) in ReadUncompLH()
857 if ( ( val = BitReader_Read( &stream, (OFFSET_BITS > 8)? 16 : 8 ) ) < 0 ) in ReadUncompLH()
862 context->tableSize12 = (internal::ForceConvertEndian16( (u16)val ) + 1) * 4 * 8; in ReadUncompLH()
864 context->tableSize12 = ((u16)val + 1) * 4 * 8; in ReadUncompLH()
874 if ( ( val = BitReader_Read( &stream, OFFSET_BITS ) ) < 0 ) in ReadUncompLH()
881 context->huffTable12[ context->tableIdx++ ] = (u16)val; in ReadUncompLH()
890 if ( ( val = BitReader_Read( &stream, (u8)context->tableSize12 ) ) < 0 ) in ReadUncompLH()
918 if ( ( val = BitReader_Read( &stream, 1 ) ) < 0 ) in ReadUncompLH()
924 bit = (u8)( val & 1 ); in ReadUncompLH()
965 if ( ( val = BitReader_Read( &stream, 1 ) ) < 0 ) in ReadUncompLH()
971 bit = (u8)( val & 1 ); in ReadUncompLH()
997 val = context->offset_bits; in ReadUncompLH()
999 else if ( ( val = BitReader_Read( &stream, (u8)(context->offset_bits - 1) ) ) < 0 ) in ReadUncompLH()
1007 val |= (1 << (context->offset_bits - 1)); in ReadUncompLH()
1011 lzOffset = (u16)(val + 1); in ReadUncompLH()
1203 RCAddCount_( RCCompressionInfo* info, u16 val ) in RCAddCount_() argument
1208 info->freq[ val ]++; in RCAddCount_()
1210 for ( i = (u32)(val + 1); i < tableSize; i++ ) in RCAddCount_()
1302 u16 val = RCSearch_( info, state->code, state->range, state->low ); in RCGetData_() local
1308 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
1309 state->range = info->freq[ val ] * tmp; in RCGetData_()
1313 RCAddCount_( info, val ); in RCGetData_()
1332 return val; in RCGetData_()
1455 u16 val = RCGetData_( srcp, &info9, &rcState, len, &cnt ); in ReadUncompLRC() local
1457 if ( val < 0x100 ) in ReadUncompLRC()
1460 *context->destp++ = (u8)val; in ReadUncompLRC()
1466 context->length = (u16)( (val & 0xFF) + 3 ); in ReadUncompLRC()
1483 u16 val = (u16)( RCGetData_( srcp, &info12, &rcState, len, &cnt ) + 1 ); in ReadUncompLRC() local
1497 *context->destp = context->destp[ -val ]; in ReadUncompLRC()