Lines Matching refs:Base
4 import SevenZip.Compression.LZMA.Base;
13 BitTreeDecoder[] m_LowCoder = new BitTreeDecoder[Base.kNumPosStatesMax];
14 BitTreeDecoder[] m_MidCoder = new BitTreeDecoder[Base.kNumPosStatesMax];
15 BitTreeDecoder m_HighCoder = new BitTreeDecoder(Base.kNumHighLenBits);
22 m_LowCoder[m_NumPosStates] = new BitTreeDecoder(Base.kNumLowLenBits); in Create()
23 m_MidCoder[m_NumPosStates] = new BitTreeDecoder(Base.kNumMidLenBits); in Create()
42 int symbol = Base.kNumLowLenSymbols; in Decode()
46 symbol += Base.kNumMidLenSymbols + m_HighCoder.Decode(rangeDecoder); in Decode()
126 short[] m_IsMatchDecoders = new short[Base.kNumStates << Base.kNumPosStatesBitsMax];
127 short[] m_IsRepDecoders = new short[Base.kNumStates];
128 short[] m_IsRepG0Decoders = new short[Base.kNumStates];
129 short[] m_IsRepG1Decoders = new short[Base.kNumStates];
130 short[] m_IsRepG2Decoders = new short[Base.kNumStates];
131 short[] m_IsRep0LongDecoders = new short[Base.kNumStates << Base.kNumPosStatesBitsMax];
133 BitTreeDecoder[] m_PosSlotDecoder = new BitTreeDecoder[Base.kNumLenToPosStates];
134 short[] m_PosDecoders = new short[Base.kNumFullDistances - Base.kEndPosModelIndex];
136 BitTreeDecoder m_PosAlignDecoder = new BitTreeDecoder(Base.kNumAlignBits);
150 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Decoder()
151 m_PosSlotDecoder[i] = new BitTreeDecoder(Base.kNumPosSlotBits); in Decoder()
169 if (lc > Base.kNumLitContextBitsMax || lp > 4 || pb > Base.kNumPosStatesBitsMax) in SetLcLpPb()
193 for (i = 0; i < Base.kNumLenToPosStates; i++) in Init()
208 int state = Base.StateInit(); in Code()
216 …if (m_RangeDecoder.DecodeBit(m_IsMatchDecoders, (state << Base.kNumPosStatesBitsMax) + posState) =… in Code()
219 if (!Base.StateIsCharState(state)) in Code()
224 state = Base.StateUpdateChar(state); in Code()
235 …if (m_RangeDecoder.DecodeBit(m_IsRep0LongDecoders, (state << Base.kNumPosStatesBitsMax) + posState… in Code()
237 state = Base.StateUpdateShortRep(state); in Code()
262 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
263 state = Base.StateUpdateRep(state); in Code()
271 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
272 state = Base.StateUpdateMatch(state); in Code()
273 int posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder); in Code()
274 if (posSlot >= Base.kStartPosModelIndex) in Code()
278 if (posSlot < Base.kEndPosModelIndex) in Code()
284 numDirectBits - Base.kNumAlignBits) << Base.kNumAlignBits); in Code()