Home
last modified time | relevance | path

Searched refs:dicBufSize (Results 1 – 6 of 6) sorted by relevance

/external/lzma/C/
DLzmaDec.c142 SizeT dicBufSize = p->dicBufSize; in LzmaDec_DecodeReal() local
168 (dic[(dicPos == 0 ? dicBufSize : dicPos) - 1] >> (8 - lc)))); in LzmaDec_DecodeReal()
178 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
220 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
383 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
388 if (pos + curLen <= dicBufSize) in LzmaDec_DecodeReal()
403 if (++pos == dicBufSize) in LzmaDec_DecodeReal()
434 SizeT dicBufSize = p->dicBufSize; in LzmaDec_WriteRem() local
447 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_WriteRem()
513 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
[all …]
D7zDec.c136 state.dicBufSize = outSize; in SzDecodeLzma()
157 if (state.dicPos == state.dicBufSize || (inProcessed == 0 && dicPos == state.dicPos)) in SzDecodeLzma()
159 if (state.dicBufSize != outSize || lookahead != 0 || in SzDecodeLzma()
186 state.decoder.dicBufSize = outSize; in SzDecodeLzma2()
207 …if (state.decoder.dicPos == state.decoder.dicBufSize || (inProcessed == 0 && dicPos == state.decod… in SzDecodeLzma2()
209 if (state.decoder.dicBufSize != outSize || lookahead != 0 || in SzDecodeLzma2()
DLzma2Dec.c300 if (p->decoder.dicPos == p->decoder.dicBufSize) in Lzma2Dec_DecodeToBuf()
303 if (outSize > p->decoder.dicBufSize - dicPos) in Lzma2Dec_DecodeToBuf()
305 outSizeCur = p->decoder.dicBufSize; in Lzma2Dec_DecodeToBuf()
343 decoder.decoder.dicBufSize = outSize; in Lzma2Decode()
DLzmaDec.h58 SizeT dicBufSize; member
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp95 …SizeT next = (_state.dicBufSize - _state.dicPos < _outBufSize) ? _state.dicBufSize : (_state.dicPo… in CodeSpec()
136 if (_state.dicPos == _state.dicBufSize) in CodeSpec()
141 …next = (_state.dicBufSize - _state.dicPos < _outBufSize) ? _state.dicBufSize : (_state.dicPos + _o… in CodeSpec()
DLzma2Decoder.cpp92 SizeT curSize = _state.decoder.dicBufSize - dicPos; in Code()
123 if (res != 0 || _state.decoder.dicPos == _state.decoder.dicBufSize || finished || stopDecoding) in Code()
134 if (_state.decoder.dicPos == _state.decoder.dicBufSize) in Code()