Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c515 … U32 const ll0, /* tells if associated literal length is 0 or not. This value must be 0 or 1 */ in ZSTD_insertBtAndGetAllMatches() argument
563 assert(ll0 <= 1); /* necessarily 1 or 0 */ in ZSTD_insertBtAndGetAllMatches()
564 { U32 const lastR = ZSTD_REP_NUM + ll0; in ZSTD_insertBtAndGetAllMatches()
566 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
598 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
600 matches[mnum].off = repCode - ll0; in ZSTD_insertBtAndGetAllMatches()
748 U32 const ll0, in ZSTD_BtGetAllMatches() argument
758 …tAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, 3); in ZSTD_BtGetAllMatches()
834 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic() local
835 …atches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
[all …]
H A Dzstd_compress_internal.h333 MEM_STATIC repcodes_t ZSTD_updateRep(U32 const rep[3], U32 const offset, U32 const ll0) in ZSTD_updateRep() argument
341 U32 const repCode = offset + ll0; in ZSTD_updateRep()
/freebsd-14.2/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c610 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()
792 U32 const ll0,
802 U32 const ll0, in ZSTD_btGetAllMatches_internal() argument
825 U32 const ll0, \
830 rep, ll0, lengthToBeat, ZSTD_##dictMode, mls); \
1082 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic() local
1083 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
[all …]
H A Dzstd_compress_internal.h664 ZSTD_updateRep(U32 rep[ZSTD_REP_NUM], U32 const offBase_minus1, U32 const ll0) in ZSTD_updateRep() argument
671 U32 const repCode = STORED_REPCODE(offBase_minus1) - 1 + ll0; in ZSTD_updateRep()
688 ZSTD_newRep(U32 const rep[ZSTD_REP_NUM], U32 const offBase_minus1, U32 const ll0) in ZSTD_newRep() argument
692 ZSTD_updateRep(newReps.rep, offBase_minus1, ll0); in ZSTD_newRep()
H A Dzstd_compress.c3470 U32 const ll0 = (seq->litLength == 0); in ZSTD_seqStore_resolveOffCodes() local
3487 ZSTD_updateRep(dRepcodes->rep, OFFBASE_TO_STORED(seq->offBase), ll0); in ZSTD_seqStore_resolveOffCodes()
3488 ZSTD_updateRep(cRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
5783 if (!ll0 && rawOffset == rep[0]) { in ZSTD_finalizeOffCode()
5786 offCode = STORE_REPCODE(2 - ll0); in ZSTD_finalizeOffCode()
5788 offCode = STORE_REPCODE(3 - ll0); in ZSTD_finalizeOffCode()
5789 } else if (ll0 && rawOffset == rep[0] - 1) { in ZSTD_finalizeOffCode()
5820 U32 const ll0 = (litLength == 0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() local
5823 ZSTD_updateRep(updatedRepcodes.rep, offCode, ll0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5944 { U32 const ll0 = (litLength == 0); in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c867 U32 const ll0 = (llBase == 0); in ZSTD_decodeSequence() local
869 if (LIKELY(!ll0)) in ZSTD_decodeSequence()
877 offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1); in ZSTD_decodeSequence()
/freebsd-14.2/sys/contrib/zstd/lib/decompress/
H A 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);