Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress_block.c866 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceEnd() local
869 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequenceEnd()
876 assert(oLitEnd < op + sequenceLength); in ZSTD_execSequenceEnd()
880 op = oLitEnd; in ZSTD_execSequenceEnd()
884 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd()
886 … RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, ""); in ZSTD_execSequenceEnd()
889 ZSTD_memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequenceEnd()
894 ZSTD_memmove(oLitEnd, match, length1); in ZSTD_execSequenceEnd()
895 op = oLitEnd + length1; in ZSTD_execSequenceEnd()
913 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceEndSplitLitBuffer() local
[all …]
/external/zstd/lib/legacy/
Dzstd_v04.c2872 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
2877 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequence()
2880 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
2886 op = oLitEnd; in ZSTD_execSequence()
2890 if (sequence.offset > (size_t)(oLitEnd - base)) in ZSTD_execSequence()
2893 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequence()
2898 memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequence()
2904 memmove(oLitEnd, match, length1); in ZSTD_execSequence()
2905 op = oLitEnd + length1; in ZSTD_execSequence()
Dzstd_v05.c3230 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv05_execSequence() local
3235 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv05_execSequence()
3238 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTDv05_execSequence()
3244 op = oLitEnd; in ZSTDv05_execSequence()
3248 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv05_execSequence()
3250 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTDv05_execSequence()
3254 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv05_execSequence()
3260 memmove(oLitEnd, match, length1); in ZSTDv05_execSequence()
3261 op = oLitEnd + length1; in ZSTDv05_execSequence()
Dzstd_v06.c3366 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv06_execSequence() local
3371 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv06_execSequence()
3374 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTDv06_execSequence()
3380 op = oLitEnd; in ZSTDv06_execSequence()
3384 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv06_execSequence()
3386 if (sequence.offset > (size_t)(oLitEnd - vBase)) return ERROR(corruption_detected); in ZSTDv06_execSequence()
3389 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv06_execSequence()
3394 memmove(oLitEnd, match, length1); in ZSTDv06_execSequence()
3395 op = oLitEnd + length1; in ZSTDv06_execSequence()
Dzstd_v07.c3594 BYTE* const oLitEnd = op + sequence.litLength; in ZSTDv07_execSequence() local
3599 const BYTE* match = oLitEnd - sequence.offset; in ZSTDv07_execSequence()
3602 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3607 op = oLitEnd; in ZSTDv07_execSequence()
3611 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTDv07_execSequence()
3613 if (sequence.offset > (size_t)(oLitEnd - vBase)) return ERROR(corruption_detected); in ZSTDv07_execSequence()
3616 memmove(oLitEnd, match, sequence.matchLength); in ZSTDv07_execSequence()
3621 memmove(oLitEnd, match, length1); in ZSTDv07_execSequence()
3622 op = oLitEnd + length1; in ZSTDv07_execSequence()
Dzstd_v03.c2752 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
2758 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
2764 op = oLitEnd; in ZSTD_execSequence()
Dzstd_v02.c3111 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence() local
3117 …if (oLitEnd > oend_8) return ERROR(dstSize_tooSmall); /* last match must start at a minimum dist… in ZSTD_execSequence()
3123 op = oLitEnd; in ZSTD_execSequence()