Home
last modified time | relevance | path

Searched refs:oend (Results 1 – 13 of 13) sorted by relevance

/linux/lib/lz4/
A Dlz4_decompress.c87 BYTE * const oend = op + outputSize; in LZ4_decompress_generic() local
100 const BYTE *const shortoend = oend - in LZ4_decompress_generic()
228 if (cpy > oend) { in LZ4_decompress_generic()
233 cpy = oend; in LZ4_decompress_generic()
234 length = oend - op; in LZ4_decompress_generic()
247 && (cpy != oend)) { in LZ4_decompress_generic()
257 || (cpy > oend))) { in LZ4_decompress_generic()
304 assert(oend > op); in LZ4_decompress_generic()
305 assert(oend - op >= 4); in LZ4_decompress_generic()
381 assert(op <= oend); in LZ4_decompress_generic()
[all …]
A Dlz4hc_compress.c269 BYTE *oend) in LZ4HC_encodeSequence() argument
280 + length + (2 + 1 + LASTLITERALS)) > oend)) { in LZ4HC_encodeSequence()
308 + (1 + LASTLITERALS) > oend)) { in LZ4HC_encodeSequence()
355 BYTE * const oend = op + maxOutputSize; in LZ4HC_compress_generic() local
403 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
469 ml, ref, limit, oend)) in LZ4HC_compress_generic()
473 ml2, ref2, limit, oend)) in LZ4HC_compress_generic()
499 ml, ref, limit, oend)) in LZ4HC_compress_generic()
540 ref, limit, oend)) in LZ4HC_compress_generic()
A Dlz4_compress.c539 BYTE * const oend = op + targetDstSize; in LZ4_compress_destSize_generic() local
694 + lastRunSize /* literals */ > oend) { in LZ4_compress_destSize_generic()
696 lastRunSize = (oend - op) - 1; in LZ4_compress_destSize_generic()
/linux/lib/zstd/compress/
A Dhuf_compress.c71 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local
583 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local
683 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local
690 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
699 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
708 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
717 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
774 BYTE* const oend = ostart + dstSize; in HUF_compress_internal() local
792 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal()
811 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal()
[all …]
A Dzstd_compress_superblock.c187 BYTE* const oend = ostart + sizeof(fseMetadata->fseTablesBuffer); in ZSTD_buildSuperBlockEntropy_sequences() local
248 DEBUGLOG(5, "Building ML table (remaining space : %i)", (int)(oend-op)); in ZSTD_buildSuperBlockEntropy_sequences()
329 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local
449 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local
457 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
488 op, oend - op, in ZSTD_compressSubBlock_sequences()
552 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock() local
568 op, oend-op, in ZSTD_compressSubBlock()
723 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_multi() local
771 op, oend-op, in ZSTD_compressSubBlock_multi()
[all …]
A Dfse_compress.c196 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local
224 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic()
239 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
261 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
275 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
A Dzstd_compress.c2162 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2171 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2188 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
2199 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2216 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
2227 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2242 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
2253 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2267 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
4167 size_t oSize = oend-op; in ZSTD_compressStream_generic()
[all …]
A Dzstd_compress_sequences.c250 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local
277 …{ size_t const NCountSize = FSE_writeNCount(op, oend - op, wksp->norm, max, tableLog); /* over… in ZSTD_buildCTable()
/linux/lib/zstd/decompress/
A Dzstd_decompress_block.c722 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()
821 assert(oend_w < oend /* No underflow */); in ZSTD_execSequence()
1072 BYTE const* op, BYTE const* oend, in ZSTD_assertValidSequence() argument
1082 assert(op <= oend); in ZSTD_assertValidSequence()
1112 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences_body() local
[all …]
A Dzstd_decompress.c792 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local
830 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
833 decodedSize = ZSTD_setRleBlock(op, (size_t)(oend-op), *ip, blockProperties.origSize); in ZSTD_decompressFrame()
1784 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument
1800 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream()
1806 assert(*op <= oend); in ZSTD_decompressContinueStream()
1820 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local
1880 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1899 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1971 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream()
[all …]
A Dhuf_decompress.c333 BYTE* const oend = op + dstSize; in HUF_decompress1X1_usingDTable_internal_body() local
342 HUF_decodeStreamX1(op, &bitD, oend, dt, dtLog); in HUF_decompress1X1_usingDTable_internal_body()
360 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body() local
361 BYTE* const olimit = oend - 3; in HUF_decompress4X1_usingDTable_internal_body()
432 HUF_decodeStreamX1(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X1_usingDTable_internal_body()
789 BYTE* const oend = ostart + dstSize; in HUF_decompress1X2_usingDTable_internal_body() local
793 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body()
813 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal_body() local
814 BYTE* const olimit = oend - (sizeof(size_t)-1); in HUF_decompress4X2_usingDTable_internal_body()
907 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable_internal_body()
/linux/lib/zstd/common/
A Dzstd_internal.h268 BYTE* const oend = op + length; in ZSTD_wildcopy() local
276 } while (op < oend); in ZSTD_wildcopy()
289 while (op < oend); in ZSTD_wildcopy()
299 while (op < oend); in ZSTD_wildcopy()
/linux/fs/erofs/
A Ddecompressor.c120 unsigned int ofull, oend, inputsize, total, i, j; in z_erofs_lz4_handle_inplace_io() local
126 oend = rq->pageofs_out + rq->outputsize; in z_erofs_lz4_handle_inplace_io()
127 ofull = PAGE_ALIGN(oend); in z_erofs_lz4_handle_inplace_io()
132 ofull - oend < LZ4_DECOMPRESS_INPLACE_MARGIN(inputsize)) in z_erofs_lz4_handle_inplace_io()

Completed in 50 milliseconds