Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c527 … U32 const ll0, /* tells if associated literal length is 0 or not. This value must be 0 or 1 */ in ZSTD_insertBtAndGetAllMatches() argument
575 assert(ll0 <= 1); /* necessarily 1 or 0 */ in ZSTD_insertBtAndGetAllMatches()
576 { U32 const lastR = ZSTD_REP_NUM + ll0; in ZSTD_insertBtAndGetAllMatches()
578 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
610 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
612 matches[mnum].off = repCode - ll0; in ZSTD_insertBtAndGetAllMatches()
761 U32 const ll0, in ZSTD_BtGetAllMatches() argument
771 …tAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, 3); in ZSTD_BtGetAllMatches()
773 …tAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, 4); in ZSTD_BtGetAllMatches()
774 …tAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, 5); in ZSTD_BtGetAllMatches()
[all …]
Dzstd_compress.c4456 static U32 ZSTD_finalizeOffCode(U32 rawOffset, const U32 rep[ZSTD_REP_NUM], U32 ll0) { in ZSTD_finalizeOffCode() argument
4460 if (!ll0 && rawOffset == rep[0]) { in ZSTD_finalizeOffCode()
4463 repCode = 2 - ll0; in ZSTD_finalizeOffCode()
4465 repCode = 3 - ll0; in ZSTD_finalizeOffCode()
4466 } else if (ll0 && rawOffset == rep[0] - 1) { in ZSTD_finalizeOffCode()
4489 U32 ll0; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() local
4503 ll0 = litLength == 0; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4504 offCode = ZSTD_finalizeOffCode(inSeqs[idx].offset, updatedRepcodes.rep, ll0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4505 updatedRepcodes = ZSTD_updateRep(updatedRepcodes.rep, offCode, ll0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4628 { U32 ll0 = (litLength == 0); in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
[all …]
Dzstd_compress_internal.h399 MEM_STATIC repcodes_t ZSTD_updateRep(U32 const rep[3], U32 const offset, U32 const ll0) in ZSTD_updateRep() argument
407 U32 const repCode = offset + ll0; in ZSTD_updateRep()
/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress_block.c976 U32 const ll0 = (llBase == 0); in ZSTD_decodeSequence() local
978 if (LIKELY(!ll0)) in ZSTD_decodeSequence()
986 offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1); in ZSTD_decodeSequence()