Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress_block.c815 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequence() local
829 oMatchEnd > oend_w || in ZSTD_execSequence()
835 assert(oLitEnd < oMatchEnd /* Non-zero match & no overflow */); in ZSTD_execSequence()
836 assert(oMatchEnd <= oend /* No underflow */); in ZSTD_execSequence()
839 assert(oMatchEnd <= oend_w /* Can wildcopy matches */); in ZSTD_execSequence()
870 assert(op <= oMatchEnd); in ZSTD_execSequence()
871 assert(oMatchEnd <= oend_w); in ZSTD_execSequence()
893 assert(op < oMatchEnd); in ZSTD_execSequence()
/external/zstd/lib/legacy/
Dzstd_v03.c2757 …BYTE* const oMatchEnd = op + sequence.litLength + sequence.matchLength; /* risk : address space … in ZSTD_execSequence() local
2763 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
2798 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
2806 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
2814 return oMatchEnd - ostart; in ZSTD_execSequence()
Dzstd_v04.c2878 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTD_execSequence() local
2885 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
2913 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
2936 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
2944 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
Dzstd_v02.c3116 …BYTE* const oMatchEnd = op + sequence.litLength + sequence.matchLength; /* risk : address space … in ZSTD_execSequence() local
3122 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTD_execSequence()
3157 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
3165 while (op < oMatchEnd) *op++ = *match++; in ZSTD_execSequence()
3173 return oMatchEnd - ostart; in ZSTD_execSequence()
Dzstd_v05.c3236 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv05_execSequence() local
3243 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTDv05_execSequence()
3269 while (op < oMatchEnd) *op++ = *match++; in ZSTDv05_execSequence()
3291 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
3297 while (op < oMatchEnd) in ZSTDv05_execSequence()
Dzstd_v06.c3372 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv06_execSequence() local
3379 if (oMatchEnd > oend) return ERROR(dstSize_tooSmall); /* overwrite beyond dst buffer */ in ZSTDv06_execSequence()
3403 while (op < oMatchEnd) *op++ = *match++; in ZSTDv06_execSequence()
3427 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
3433 while (op < oMatchEnd) *op++ = *match++; in ZSTDv06_execSequence()
Dzstd_v07.c3600 BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ in ZSTDv07_execSequence() local
3606 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3630 while (op < oMatchEnd) *op++ = *match++; in ZSTDv07_execSequence()
3654 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
3660 while (op < oMatchEnd) *op++ = *match++; in ZSTDv07_execSequence()