Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_opt.c923 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_optLdm_skipRawSeqStoreBytes() local
924 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_optLdm_skipRawSeqStoreBytes()
925 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_optLdm_skipRawSeqStoreBytes()
945 rawSeq currSeq; in ZSTD_opt_getNextMatchAndUpdateSeqStore() local
958 currSeq = optLdm->seqStore.seq[optLdm->seqStore.pos]; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
959 assert(optLdm->seqStore.posInSequence <= currSeq.litLength + currSeq.matchLength); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
961 literalsBytesRemaining = (optLdm->seqStore.posInSequence < currSeq.litLength) ? in ZSTD_opt_getNextMatchAndUpdateSeqStore()
962 currSeq.litLength - (U32)optLdm->seqStore.posInSequence : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
965 currSeq.matchLength - ((U32)optLdm->seqStore.posInSequence - currSeq.litLength) : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
966 currSeq.matchLength; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]
H A Dzstd_ldm.c668 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_ldm_skipRawSeqStoreBytes() local
669 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
670 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
H A Dzstd_compress.c6567 const ZSTD_Sequence currSeq = inSeqs[idx]; in ZSTD_transferSequences_noDelim() local
6568 U32 litLength = currSeq.litLength; in ZSTD_transferSequences_noDelim()
6569 U32 matchLength = currSeq.matchLength; in ZSTD_transferSequences_noDelim()
6570 U32 const rawOffset = currSeq.offset; in ZSTD_transferSequences_noDelim()
6574 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) { in ZSTD_transferSequences_noDelim()
6583 endPosInSequence -= currSeq.litLength + currSeq.matchLength; in ZSTD_transferSequences_noDelim()
6589currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence); in ZSTD_transferSequences_noDelim()
6596 … U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence; in ZSTD_transferSequences_noDelim()
6613 bytesAdjustment = endPosInSequence - currSeq.litLength; in ZSTD_transferSequences_noDelim()
6614 endPosInSequence = currSeq.litLength; in ZSTD_transferSequences_noDelim()