Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_ldm.c644 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_ldm_skipRawSeqStoreBytes() local
645 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_ldm_skipRawSeqStoreBytes()
647 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
648 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
651 rawSeqStore->posInSequence = currPos; in ZSTD_ldm_skipRawSeqStoreBytes()
655 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_ldm_skipRawSeqStoreBytes()
H A Dzstd_opt.c883 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes() local
884 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()
886 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_optLdm_skipRawSeqStoreBytes()
887 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_optLdm_skipRawSeqStoreBytes()
890 rawSeqStore->posInSequence = currPos; in ZSTD_optLdm_skipRawSeqStoreBytes()
894 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()