Lines Matching defs:_state
53 int _state = Base.StateInit();
59 _state = Base.StateInit();
604 _optimum[0].State = _state;
608 _optimum[1].Price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(_state << Base.kNumPosStatesBitsMax) + posState]) +
609 _literalEncoder.GetSubCoder(position, _previousByte).GetPrice(!Base.StateIsCharState(_state), matchByte, currentByte);
612 int matchPrice = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(_state << Base.kNumPosStatesBitsMax) + posState]);
613 int repMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[_state]);
617 int shortRepPrice = repMatchPrice + GetRepLen1Price(_state, posState);
650 int price = repMatchPrice + GetPureRepPrice(i, _state, posState);
666 int normalMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRep[_state]);
1041 _rangeEncoder.Encode(_isMatch, (_state << Base.kNumPosStatesBitsMax) + posState, 1);
1042 _rangeEncoder.Encode(_isRep, _state, 0);
1043 _state = Base.StateUpdateMatch(_state);
1093 _rangeEncoder.Encode(_isMatch, (_state
1094 _state = Base.StateUpdateChar(_state);
1112 int complexState = (_state << Base.kNumPosStatesBitsMax) + posState;
1118 if (!Base.StateIsCharState(_state))
1126 _state = Base.StateUpdateChar(_state);
1133 _rangeEncoder.Encode(_isRep, _state, 1);
1136 _rangeEncoder.Encode(_isRepG0, _state, 0);
1144 _rangeEncoder.Encode(_isRepG0, _state, 1);
1146 _rangeEncoder.Encode(_isRepG1, _state, 0);
1149 _rangeEncoder.Encode(_isRepG1, _state, 1);
1150 _rangeEncoder.Encode(_isRepG2, _state, pos - 2);
1154 _state = Base.StateUpdateShortRep(_state);
1158 _state = Base.StateUpdateRep(_state);
1170 _rangeEncoder.Encode(_isRep, _state, 0);
1171 _state = Base.StateUpdateMatch(_state);