Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c787 U32 startPosInBlock; /* Start position of the current match candidate */ member
825 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
843 optLdm->startPosInBlock = UINT_MAX; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
851 optLdm->startPosInBlock = currPosInBlock + literalsBytesRemaining; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
852 optLdm->endPosInBlock = optLdm->startPosInBlock + matchBytesRemaining; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
871 U32 posDiff = currPosInBlock - optLdm->startPosInBlock; in ZSTD_optLdm_maybeAddMatch()
873 U32 candidateMatchLength = optLdm->endPosInBlock - optLdm->startPosInBlock - posDiff; in ZSTD_optLdm_maybeAddMatch()
877 if (currPosInBlock < optLdm->startPosInBlock in ZSTD_optLdm_maybeAddMatch()
970 optLdm.endPosInBlock = optLdm.startPosInBlock = optLdm.offset = 0; in ZSTD_compressBlock_opt_generic()