Home | History | Annotate | Download | only in LZMA

Lines Matching full:_state

53 		Base.State _state = new Base.State();

59 _state.Init();
604 _optimum[0].State = _state;
608 _optimum[1].Price = _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice0() +
609 _literalEncoder.GetSubCoder(position, _previousByte).GetPrice(!_state.IsCharState(), matchByte, currentByte);
612 UInt32 matchPrice = _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1();
613 UInt32 repMatchPrice = matchPrice + _isRep[_state.Index].GetPrice1();
617 UInt32 shortRepPrice = repMatchPrice + GetRepLen1Price(_state, posState);
650 UInt32 price = repMatchPrice + GetPureRepPrice(i, _state, posState);
666 UInt32 normalMatchPrice = matchPrice + _isRep[_state.Index].GetPrice0();
1041 _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].Encode(_rangeEncoder, 1);
1042 _isRep[_state.Index].Encode(_rangeEncoder, 0);
1043 _state.UpdateMatch();
1095 _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].Encode(_rangeEncoder, 0);
1096 _state.UpdateChar();
1114 UInt32 complexState = (_state.Index << Base.kNumPosStatesBitsMax) + posState;
1120 if (!_state.IsCharState())
1128 _state.UpdateChar();
1135 _isRep[_state.Index].Encode(_rangeEncoder, 1);
1138 _isRepG0[_state.Index].Encode(_rangeEncoder, 0);
1146 _isRepG0[_state.Index].Encode(_rangeEncoder, 1);
1148 _isRepG1[_state.Index].Encode(_rangeEncoder, 0);
1151 _isRepG1[_state.Index].Encode(_rangeEncoder, 1);
1152 _isRepG2[_state.Index].Encode(_rangeEncoder, pos - 2);
1156 _state.UpdateShortRep();
1160 _state.UpdateRep();
1172 _isRep[_state.Index].Encode(_rangeEncoder, 0);
1173 _state.UpdateMatch();