Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/compress/
Dzstd_opt.c885 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_optLdm_skipRawSeqStoreBytes() local
886 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_optLdm_skipRawSeqStoreBytes()
887 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_optLdm_skipRawSeqStoreBytes()
907 rawSeq currSeq; in ZSTD_opt_getNextMatchAndUpdateSeqStore() local
920 currSeq = optLdm->seqStore.seq[optLdm->seqStore.pos]; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
921 assert(optLdm->seqStore.posInSequence <= currSeq.litLength + currSeq.matchLength); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
923 literalsBytesRemaining = (optLdm->seqStore.posInSequence < currSeq.litLength) ? in ZSTD_opt_getNextMatchAndUpdateSeqStore()
924 currSeq.litLength - (U32)optLdm->seqStore.posInSequence : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
927 currSeq.matchLength - ((U32)optLdm->seqStore.posInSequence - currSeq.litLength) : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
928 currSeq.matchLength; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]
Dzstd_ldm.c646 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_ldm_skipRawSeqStoreBytes() local
647 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
648 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
Dzstd_compress.c5687 const ZSTD_Sequence currSeq = inSeqs[idx]; in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
5688 U32 litLength = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5689 U32 matchLength = currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5690 U32 const rawOffset = currSeq.offset; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5694 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5703 endPosInSequence -= currSeq.litLength + currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5710currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5717 … U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5734 bytesAdjustment = endPosInSequence - currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5735 endPosInSequence = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()