Home
last modified time | relevance | path

Searched refs:ll0 (Results 1 – 4 of 4) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_opt.c598 … const U32 ll0, /* tells if associated literal length is 0 or not. This value must be 0 or 1 */ in ZSTD_insertBtAndGetAllMatches() argument
646 assert(ll0 <= 1); /* necessarily 1 or 0 */ in ZSTD_insertBtAndGetAllMatches()
647 { U32 const lastR = ZSTD_REP_NUM + ll0; in ZSTD_insertBtAndGetAllMatches()
649 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
681 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
683 … matches[mnum].off = REPCODE_TO_OFFBASE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
828 U32 const ll0,
840 U32 const ll0, in ZSTD_btGetAllMatches_internal() argument
850 …ndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, mls); in ZSTD_btGetAllMatches_internal()
863 U32 const ll0, \
[all …]
H A Dzstd_compress_internal.h810 ZSTD_updateRep(U32 rep[ZSTD_REP_NUM], U32 const offBase, U32 const ll0) in ZSTD_updateRep() argument
817 U32 const repCode = OFFBASE_TO_REPCODE(offBase) - 1 + ll0; in ZSTD_updateRep()
834 ZSTD_newRep(U32 const rep[ZSTD_REP_NUM], U32 const offBase, U32 const ll0) in ZSTD_newRep() argument
838 ZSTD_updateRep(newReps.rep, offBase, ll0); in ZSTD_newRep()
H A Dzstd_compress.c3952 ZSTD_resolveRepcodeToRawOffset(const U32 rep[ZSTD_REP_NUM], const U32 offBase, const U32 ll0) in ZSTD_resolveRepcodeToRawOffset() argument
3954 U32 const adjustedRepCode = OFFBASE_TO_REPCODE(offBase) - 1 + ll0; /* [ 0 - 3 ] */ in ZSTD_resolveRepcodeToRawOffset()
3957 assert(ll0); in ZSTD_resolveRepcodeToRawOffset()
3991 U32 const ll0 = (seq->litLength == 0) && (idx != longLitLenIdx); in ZSTD_seqStore_resolveOffCodes() local
3995 U32 const dRawOffset = ZSTD_resolveRepcodeToRawOffset(dRepcodes->rep, offBase, ll0); in ZSTD_seqStore_resolveOffCodes()
3996 U32 const cRawOffset = ZSTD_resolveRepcodeToRawOffset(cRepcodes->rep, offBase, ll0); in ZSTD_seqStore_resolveOffCodes()
4008 ZSTD_updateRep(dRepcodes->rep, seq->offBase, ll0); in ZSTD_seqStore_resolveOffCodes()
4009 ZSTD_updateRep(cRepcodes->rep, offBase, ll0); in ZSTD_seqStore_resolveOffCodes()
6413 static U32 ZSTD_finalizeOffBase(U32 rawOffset, const U32 rep[ZSTD_REP_NUM], U32 ll0) in ZSTD_finalizeOffBase() argument
6417 if (!ll0 && rawOffset == rep[0]) { in ZSTD_finalizeOffBase()
[all …]
/linux/lib/zstd/decompress/
H A Dzstd_decompress_block.c1301 U32 const ll0 = (llDInfo->baseValue == 0); in ZSTD_decodeSequence() local
1303 offset = seqState->prevOffset[ll0]; in ZSTD_decodeSequence()
1304 seqState->prevOffset[1] = seqState->prevOffset[!ll0]; in ZSTD_decodeSequence()
1307 offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1); in ZSTD_decodeSequence()