Lines Matching refs:oend
722 BYTE* const oend = op + length; in ZSTD_safecopy() local
729 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
737 assert(op <= oend); in ZSTD_safecopy()
740 if (oend <= oend_w) { in ZSTD_safecopy()
747 assert(oend > oend_w); in ZSTD_safecopy()
753 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
766 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument
774 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd()
777 …RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit withi… in ZSTD_execSequenceEnd()
809 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument
816 …BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; /* risk : address space underflow on oend=NULL … in ZSTD_execSequence()
821 assert(oend_w < oend /* No underflow */); in ZSTD_execSequence()
830 (MEM_32bits() && (size_t)(oend - op) < sequenceLength + WILDCOPY_OVERLENGTH))) in ZSTD_execSequence()
831 …return ZSTD_execSequenceEnd(op, oend, sequence, litPtr, litLimit, prefixStart, virtualStart, dictE… in ZSTD_execSequence()
836 assert(oMatchEnd <= oend /* No underflow */); in ZSTD_execSequence()
1072 BYTE const* op, BYTE const* oend, in ZSTD_assertValidSequence() argument
1082 assert(op <= oend); in ZSTD_assertValidSequence()
1083 assert((size_t)(oend - op) >= sequenceSize); in ZSTD_assertValidSequence()
1095 (void)dctx, (void)op, (void)oend, (void)seq, (void)prefixStart, (void)virtualStart; in ZSTD_assertValidSequence()
1112 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences_body() local
1184 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, prefixStart, vBas… in ZSTD_decompressSequences_body()
1187 if (frame) ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase); in ZSTD_decompressSequences_body()
1213 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, ""); in ZSTD_decompressSequences_body()
1246 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequencesLong_body() local
1288 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequences[(seqNb-ADVANCED_SEQS) & STORED_SEQ… in ZSTD_decompressSequencesLong_body()
1291 …if (frame) ZSTD_assertValidSequence(dctx, op, oend, sequences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_… in ZSTD_decompressSequencesLong_body()
1303 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequences[seqNb&STORED_SEQS_MASK], &litPtr, … in ZSTD_decompressSequencesLong_body()
1306 …if (frame) ZSTD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart… in ZSTD_decompressSequencesLong_body()
1318 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, ""); in ZSTD_decompressSequencesLong_body()