Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress_block.c770 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceEnd() local
773 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequenceEnd()
780 assert(oLitEnd < op + sequenceLength); in ZSTD_execSequenceEnd()
784 op = oLitEnd; in ZSTD_execSequenceEnd()
788 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd()
790 … RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, ""); in ZSTD_execSequenceEnd()
793 ZSTD_memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequenceEnd()
798 ZSTD_memmove(oLitEnd, match, length1); in ZSTD_execSequenceEnd()
799 op = oLitEnd + length1; in ZSTD_execSequenceEnd()
813 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
[all …]
/external/zstd/lib/legacy/
Dzstd_v04.c2876 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
2881 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequence()
2884 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
2890 op = oLitEnd; in ZSTD_execSequence()
2894 if (sequence.offset > (size_t)(oLitEnd - base)) in ZSTD_execSequence()
2897 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequence()
2902 memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequence()
2908 memmove(oLitEnd, match, length1); in ZSTD_execSequence()
2909 op = oLitEnd + length1; in ZSTD_execSequence()
Dzstd_v05.c3234 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv05_execSequence() local
3239 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv05_execSequence()
3242 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTDv05_execSequence()
3248 op = oLitEnd; in ZSTDv05_execSequence()
3252 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv05_execSequence()
3254 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTDv05_execSequence()
3258 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv05_execSequence()
3264 memmove(oLitEnd, match, length1); in ZSTDv05_execSequence()
3265 op = oLitEnd + length1; in ZSTDv05_execSequence()
Dzstd_v06.c3370 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv06_execSequence() local
3375 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv06_execSequence()
3378 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTDv06_execSequence()
3384 op = oLitEnd; in ZSTDv06_execSequence()
3388 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv06_execSequence()
3390 if (sequence.offset > (size_t)(oLitEnd - vBase)) return ERROR(corruption_detected); in ZSTDv06_execSequence()
3393 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv06_execSequence()
3398 memmove(oLitEnd, match, length1); in ZSTDv06_execSequence()
3399 op = oLitEnd + length1; in ZSTDv06_execSequence()
Dzstd_v07.c3598 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv07_execSequence() local
3603 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv07_execSequence()
3606 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3611 op = oLitEnd; in ZSTDv07_execSequence()
3615 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv07_execSequence()
3617 if (sequence.offset > (size_t)(oLitEnd - vBase)) return ERROR(corruption_detected); in ZSTDv07_execSequence()
3620 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv07_execSequence()
3625 memmove(oLitEnd, match, length1); in ZSTDv07_execSequence()
3626 op = oLitEnd + length1; in ZSTDv07_execSequence()
Dzstd_v03.c2756 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
2762 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
2768 op = oLitEnd; in ZSTD_execSequence()
Dzstd_v02.c3115 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
3121 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
3127 op = oLitEnd; in ZSTD_execSequence()