Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c798 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_optLdm_skipRawSeqStoreBytes() local
799 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_optLdm_skipRawSeqStoreBytes()
800 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_optLdm_skipRawSeqStoreBytes()
818 rawSeq currSeq; in ZSTD_opt_getNextMatchAndUpdateSeqStore() local
831 currSeq = optLdm->seqStore.seq[optLdm->seqStore.pos]; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
832 assert(optLdm->seqStore.posInSequence <= currSeq.litLength + currSeq.matchLength); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
834 literalsBytesRemaining = (optLdm->seqStore.posInSequence < currSeq.litLength) ? in ZSTD_opt_getNextMatchAndUpdateSeqStore()
835 currSeq.litLength - (U32)optLdm->seqStore.posInSequence : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
838 currSeq.matchLength - ((U32)optLdm->seqStore.posInSequence - currSeq.litLength) : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
839 currSeq.matchLength; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]
Dzstd_ldm.c609 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_ldm_skipRawSeqStoreBytes() local
610 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
611 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
Dzstd_compress.c4572 const ZSTD_Sequence currSeq = inSeqs[idx]; in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
4573 litLength = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4574 matchLength = currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4575 rawOffset = currSeq.offset; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4578 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4587 endPosInSequence -= currSeq.litLength + currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4594currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4601 … U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4618 bytesAdjustment = endPosInSequence - currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4619 endPosInSequence = currSeq.litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()