Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress_block.c720 static void ZSTD_safecopy(BYTE* op, BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZSTD_over… in ZSTD_safecopy() argument
724 assert((ovtype == ZSTD_no_overlap && (diff <= -8 || diff >= 8 || op >= oend_w)) || in ZSTD_safecopy()
740 if (oend <= oend_w) { in ZSTD_safecopy()
745 if (op <= oend_w) { in ZSTD_safecopy()
747 assert(oend > oend_w); in ZSTD_safecopy()
748 ZSTD_wildcopy(op, ip, oend_w - op, ovtype); in ZSTD_safecopy()
749 ip += oend_w - op; in ZSTD_safecopy()
750 op = oend_w; in ZSTD_safecopy()
774 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd() local
783 ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap); in ZSTD_execSequenceEnd()
[all …]
/external/zstd/lib/legacy/
Dzstd_v07.c3601 BYTE* const oend_w = oend-WILDCOPY_OVERLENGTH; in ZSTDv07_execSequence() local
3606 …if ((oLitEnd>oend_w) | (oMatchEnd>oend)) return ERROR(dstSize_tooSmall); /* last match must start … in ZSTDv07_execSequence()
3629 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence()
3655 if (op < oend_w) { in ZSTDv07_execSequence()
3656 ZSTDv07_wildcopy(op, match, oend_w - op); in ZSTDv07_execSequence()
3657 match += oend_w - op; in ZSTDv07_execSequence()
3658 op = oend_w; in ZSTDv07_execSequence()