Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c960 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequence() local
974 oMatchEnd > oend_w || in ZSTD_execSequence()
980 assert(oLitEnd < oMatchEnd /* Non-zero match & no overflow */); in ZSTD_execSequence()
981 assert(oMatchEnd <= oend /* No underflow */); in ZSTD_execSequence()
984 assert(oMatchEnd <= oend_w /* Can wildcopy matches */); in ZSTD_execSequence()
1016 assert(op <= oMatchEnd); in ZSTD_execSequence()
1017 assert(oMatchEnd <= oend_w); in ZSTD_execSequence()
1039 assert(op < oMatchEnd); in ZSTD_execSequence()
1053 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequenceSplitLitBuffer() local
1066 oMatchEnd > oend_w || in ZSTD_execSequenceSplitLitBuffer()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c707 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequence() local
721 oMatchEnd > oend_w || in ZSTD_execSequence()
727 assert(oLitEnd < oMatchEnd /* Non-zero match & no overflow */); in ZSTD_execSequence()
728 assert(oMatchEnd <= oend /* No underflow */); in ZSTD_execSequence()
731 assert(oMatchEnd <= oend_w /* Can wildcopy matches */); in ZSTD_execSequence()
762 assert(op <= oMatchEnd); in ZSTD_execSequence()
763 assert(oMatchEnd <= oend_w); in ZSTD_execSequence()
785 assert(op < oMatchEnd); in ZSTD_execSequence()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v03.c2753 …BYTE* const oMatchEnd = op + sequence.litLength + sequence.matchLength; /* risk : address space … in ZSTD_execSequence() local
2759 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
2794 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
2802 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
2810 return oMatchEnd - ostart; in ZSTD_execSequence()
H A Dzstd_v02.c3112 …BYTE* const oMatchEnd = op + sequence.litLength + sequence.matchLength; /* risk : address space … in ZSTD_execSequence() local
3118 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
3153 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
3161 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
3169 return oMatchEnd - ostart; in ZSTD_execSequence()
H A Dzstd_v04.c2874 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequence() local
2881 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
2909 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
2932 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
2940 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
H A Dzstd_v05.c3232 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv05_execSequence() local
3239 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTDv05_execSequence()
3265 while (op < oMatchEnd) *op++ = *match++; in ZSTDv05_execSequence()
3287 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
3293 while (op < oMatchEnd) in ZSTDv05_execSequence()
H A Dzstd_v06.c3368 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv06_execSequence() local
3375 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTDv06_execSequence()
3399 while (op < oMatchEnd) *op++ = *match++; in ZSTDv06_execSequence()
3423 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
3429 while (op < oMatchEnd) *op++ = *match++; in ZSTDv06_execSequence()
H A Dzstd_v07.c3596 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv07_execSequence() local
3602 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3626 while (op < oMatchEnd) *op++ = *match++; in ZSTDv07_execSequence()
3650 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
3656 while (op < oMatchEnd) *op++ = *match++; in ZSTDv07_execSequence()