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.c942 ZSTD_opt_getNextMatchAndUpdateSeqStore(ZSTD_optLdm_t* optLdm, U32 currPosInBlock, in ZSTD_opt_getNextMatchAndUpdateSeqStore() argument
951 if (optLdm->seqStore.size == 0 || optLdm->seqStore.pos >= optLdm->seqStore.size) { in ZSTD_opt_getNextMatchAndUpdateSeqStore()
952 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
953 optLdm->endPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
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()
970 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]