Home
last modified time | relevance | path

Searched refs:ofBits (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/lib/zstd/
Ddecompress.c941 U32 const ofBits = ofCode; in ZSTD_decodeSequence() local
942 U32 const totalBits = llBits + mlBits + ofBits; in ZSTD_decodeSequence()
961 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequence()
1173 U32 const ofBits = ofCode; in ZSTD_decodeSequenceLong_generic() local
1174 U32 const totalBits = llBits + mlBits + ofBits; in ZSTD_decodeSequenceLong_generic()
1194 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN); in ZSTD_decodeSequenceLong_generic()
1195 …offset = OF_base[ofCode] + (BIT_readBitsFast(&seqState->DStream, ofBits - extraBits) << extraBits); in ZSTD_decodeSequenceLong_generic()
1201 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequenceLong_generic()
Dcompress.c769 U32 const ofBits = ofCodeTable[nbSeq - 1]; in ZSTD_compressSequences_internal() local
770 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal()
775 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset >> extraBits, ofBits - extraBits); in ZSTD_compressSequences_internal()
788 U32 const ofBits = ofCode; /* 32b*/ /* 64b*/ in ZSTD_compressSequences_internal() local
796 if (ZSTD_32bits() || (ofBits + mlBits + llBits >= 64 - 7 - (LLFSELog + MLFSELog + OffFSELog))) in ZSTD_compressSequences_internal()
805 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal()
810 BIT_addBits(&blockStream, sequences[n].offset >> extraBits, ofBits - extraBits); /* 31 */ in ZSTD_compressSequences_internal()
812 BIT_addBits(&blockStream, sequences[n].offset, ofBits); /* 31 */ in ZSTD_compressSequences_internal()