Lines Matching refs:oend_w
720 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()
803 ZSTD_safecopy(op, oend_w, match, sequence.matchLength, ZSTD_overlap_src_before_dst); in ZSTD_execSequenceEnd()
816 …BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; /* risk : address space underflow on oend=NULL … in ZSTD_execSequence() local
821 assert(oend_w < oend /* No underflow */); in ZSTD_execSequence()
829 oMatchEnd > oend_w || in ZSTD_execSequence()
838 assert(oLitEnd <= oend_w /* Can wildcopy literals */); in ZSTD_execSequence()
839 assert(oMatchEnd <= oend_w /* Can wildcopy matches */); in ZSTD_execSequence()
871 assert(oMatchEnd <= oend_w); in ZSTD_execSequence()