Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c612 static void ZSTD_safecopy(BYTE* op, BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZSTD_over… in ZSTD_safecopy() argument
616 assert((ovtype == ZSTD_no_overlap && (diff <= -8 || diff >= 8 || op >= oend_w)) || in ZSTD_safecopy()
632 if (oend <= oend_w) { in ZSTD_safecopy()
637 if (op <= oend_w) { in ZSTD_safecopy()
639 assert(oend > oend_w); in ZSTD_safecopy()
640 ZSTD_wildcopy(op, ip, oend_w - op, ovtype); in ZSTD_safecopy()
641 ip += oend_w - op; in ZSTD_safecopy()
642 op = oend_w; in ZSTD_safecopy()
666 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd() local
675 ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap); in ZSTD_execSequenceEnd()
[all …]
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c792 static void ZSTD_safecopy(BYTE* op, const BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZST… in ZSTD_safecopy() argument
796 assert((ovtype == ZSTD_no_overlap && (diff <= -8 || diff >= 8 || op >= oend_w)) || in ZSTD_safecopy()
813 if (oend <= oend_w) { in ZSTD_safecopy()
818 if (op <= oend_w) { in ZSTD_safecopy()
820 assert(oend > oend_w); in ZSTD_safecopy()
821 ZSTD_wildcopy(op, ip, oend_w - op, ovtype); in ZSTD_safecopy()
822 ip += oend_w - op; in ZSTD_safecopy()
823 op += oend_w - op; in ZSTD_safecopy()
870 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd() local
879 ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap); in ZSTD_execSequenceEnd()
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v07.c3597 BYTE* const oend_w = oend-WILDCOPY_OVERLENGTH; in ZSTDv07_execSequence() local
3602 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3625 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence()
3651 if (op < oend_w) { in ZSTDv07_execSequence()
3652 ZSTDv07_wildcopy(op, match, oend_w - op); in ZSTDv07_execSequence()
3653 match += oend_w - op; in ZSTDv07_execSequence()
3654 op = oend_w; in ZSTDv07_execSequence()