Home
last modified time | relevance | path

Searched refs:ofCode (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/lib/zstd/
Ddecompress.c937 U32 const ofCode = FSE_peekSymbol(&seqState->stateOffb); /* <= maxOff, by table construction */ in ZSTD_decodeSequence() local
941 U32 const ofBits = ofCode; in ZSTD_decodeSequence()
958 if (!ofCode) in ZSTD_decodeSequence()
961 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequence()
966 if (ofCode <= 1) { in ZSTD_decodeSequence()
1169 U32 const ofCode = FSE_peekSymbol(&seqState->stateOffb); /* <= maxOff, by table construction */ in ZSTD_decodeSequenceLong_generic() local
1173 U32 const ofBits = ofCode; in ZSTD_decodeSequenceLong_generic()
1190 if (!ofCode) 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()
[all …]
Dzstd_internal.h185 BYTE *ofCode; member
Dcompress.c322 zc->seqStore.ofCode = zc->seqStore.mlCode + maxNbSeq; in ZSTD_resetCCtx_advanced()
323 zc->seqStore.litStart = zc->seqStore.ofCode + maxNbSeq; in ZSTD_resetCCtx_advanced()
569 BYTE *const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes()
595 const BYTE *const ofCodeTable = seqStorePtr->ofCode; in ZSTD_compressSequences_internal()
785 BYTE const ofCode = ofCodeTable[n]; in ZSTD_compressSequences_internal() local
788 U32 const ofBits = ofCode; /* 32b*/ /* 64b*/ in ZSTD_compressSequences_internal()
791 FSE_encodeSymbol(&blockStream, &stateOffsetBits, ofCode); /* 15 */ /* 15 */ in ZSTD_compressSequences_internal()