Home
last modified time | relevance | path

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

/linux-6.12.1/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.c5689 const ZSTD_Sequence currSeq = inSeqs[idx]; in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
5690 U32 litLength = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5691 U32 matchLength = currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5692 U32 const rawOffset = currSeq.offset; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5696 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5705 endPosInSequence -= currSeq.litLength + currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5712currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5719 … U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5736 bytesAdjustment = endPosInSequence - currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5737 endPosInSequence = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()