Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_opt.c904 ZSTD_opt_getNextMatchAndUpdateSeqStore(ZSTD_optLdm_t* optLdm, U32 currPosInBlock, in ZSTD_opt_getNextMatchAndUpdateSeqStore() argument
913 if (optLdm->seqStore.size == 0 || optLdm->seqStore.pos >= optLdm->seqStore.size) { in ZSTD_opt_getNextMatchAndUpdateSeqStore()
914 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
915 optLdm->endPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
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()
932 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]