Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c562 … U32 const ll0, /* tells if associated literal length is 0 or not. This value must be 0 or 1 */ in ZSTD_insertBtAndGetAllMatches() argument
610 assert(ll0 <= 1); /* necessarily 1 or 0 */ in ZSTD_insertBtAndGetAllMatches()
611 { U32 const lastR = ZSTD_REP_NUM + ll0; in ZSTD_insertBtAndGetAllMatches()
613 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
645 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
647 … matches[mnum].off = STORE_REPCODE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
792 U32 const ll0,
802 U32 const ll0, in ZSTD_btGetAllMatches_internal() argument
812 …ndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, mls); in ZSTD_btGetAllMatches_internal()
825 U32 const ll0, \
[all …]
Dzstd_compress_internal.h652 ZSTD_updateRep(U32 rep[ZSTD_REP_NUM], U32 const offBase_minus1, U32 const ll0) in ZSTD_updateRep() argument
659 U32 const repCode = STORED_REPCODE(offBase_minus1) - 1 + ll0; in ZSTD_updateRep()
676 ZSTD_newRep(U32 const rep[ZSTD_REP_NUM], U32 const offBase_minus1, U32 const ll0) in ZSTD_newRep() argument
680 ZSTD_updateRep(newReps.rep, offBase_minus1, ll0); in ZSTD_newRep()
Dzstd_compress.c3349 ZSTD_resolveRepcodeToRawOffset(const U32 rep[ZSTD_REP_NUM], const U32 offCode, const U32 ll0) in ZSTD_resolveRepcodeToRawOffset() argument
3351 U32 const adjustedOffCode = STORED_REPCODE(offCode) - 1 + ll0; /* [ 0 - 3 ] */ in ZSTD_resolveRepcodeToRawOffset()
3379 U32 const ll0 = (seq->litLength == 0); in ZSTD_seqStore_resolveOffCodes() local
3383 U32 const dRawOffset = ZSTD_resolveRepcodeToRawOffset(dRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
3384 U32 const cRawOffset = ZSTD_resolveRepcodeToRawOffset(cRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
3396 ZSTD_updateRep(dRepcodes->rep, OFFBASE_TO_STORED(seq->offBase), ll0); in ZSTD_seqStore_resolveOffCodes()
3397 ZSTD_updateRep(cRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
5581 static U32 ZSTD_finalizeOffCode(U32 rawOffset, const U32 rep[ZSTD_REP_NUM], U32 ll0) in ZSTD_finalizeOffCode() argument
5585 if (!ll0 && rawOffset == rep[0]) { in ZSTD_finalizeOffCode()
5588 offCode = STORE_REPCODE(2 - ll0); in ZSTD_finalizeOffCode()
[all …]
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_block.c1219 U32 const ll0 = (llDInfo->baseValue == 0); local
1221 offset = seqState->prevOffset[ll0];
1222 seqState->prevOffset[1] = seqState->prevOffset[!ll0];
1225 offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1);