/openbmc/u-boot/lib/ |
H A D | lz4.c | 87 BYTE* const oend = op + outputSize; in LZ4_decompress_generic() local 101 …if ((partialDecoding) && (oexit> oend-MFLIMIT)) oexit = oend-MFLIMIT; /* t… in LZ4_decompress_generic() 130 …if (((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITER… in LZ4_decompress_generic() 131 || ((!endOnInput) && (cpy>oend-COPYLENGTH))) in LZ4_decompress_generic() 173 …if (unlikely(op+length > oend-LASTLITERALS)) goto _output_error; /* doesn't respect parsing rest… in LZ4_decompress_generic() 217 if (unlikely(cpy>oend-12)) in LZ4_decompress_generic() 219 …if (cpy > oend-LASTLITERALS) goto _output_error; /* Error : last LASTLITERALS bytes must be lit… in LZ4_decompress_generic() 220 if (op < oend-8) in LZ4_decompress_generic() 222 LZ4_wildCopy(op, match, oend-8); in LZ4_decompress_generic() 223 match += (oend-8) - op; in LZ4_decompress_generic() [all …]
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_decompress.c | 87 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() 308 assert(oend > op); in LZ4_decompress_generic() 309 assert(oend - op >= 4); in LZ4_decompress_generic() 385 assert(op <= oend); in LZ4_decompress_generic() [all …]
|
H A D | lz4hc_compress.c | 269 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()
|
H A D | lz4_compress.c | 539 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()
|
/openbmc/linux/lib/zstd/decompress/ |
H A D | zstd_decompress_block.c | 794 BYTE* const oend = op + length; in ZSTD_safecopy() local 801 while (op < oend) *op++ = *ip++; in ZSTD_safecopy() 810 assert(op <= oend); in ZSTD_safecopy() 813 if (oend <= oend_w) { in ZSTD_safecopy() 820 assert(oend > oend_w); in ZSTD_safecopy() 826 while (op < oend) *op++ = *ip++; in ZSTD_safecopy() 834 BYTE* const oend = op + length; in ZSTD_safecopyDstBeforeSrc() local 849 while (op < oend) *op++ = *ip++; in ZSTD_safecopyDstBeforeSrc() 862 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument 954 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument [all …]
|
H A D | huf_decompress.c | 152 BYTE* oend; member 169 BYTE* const oend = (BYTE*)dst + dstSize; in HUF_DecompressAsmArgs_init() local 220 if (args->op[3] >= oend) in HUF_DecompressAsmArgs_init() 241 args->oend = oend; in HUF_DecompressAsmArgs_init() 532 BYTE* const oend = op + dstSize; in HUF_decompress1X1_usingDTable_internal_body() local 559 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body() local 560 BYTE* const olimit = oend - 3; in HUF_decompress4X1_usingDTable_internal_body() 693 assert(args.op[3] <= oend); in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 706 segmentEnd = oend; in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 1405 assert(args.op[3] <= oend); in HUF_decompress4X2_usingDTable_internal_bmi2_asm() [all …]
|
H A D | zstd_decompress.c | 838 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local 861 BYTE* oBlockEnd = oend; in ZSTD_decompressFrame() 895 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame() 1850 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument 1866 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream() 1872 assert(*op <= oend); in ZSTD_decompressContinueStream() 1886 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local 1945 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream() 1964 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream() 2036 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream() [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_superblock.c | 50 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local 80 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal() 81 … : HUF_compress4X_usingCTable(op, oend-op, literals, litSize, hufTable); in ZSTD_compressSubBlock_literal() 169 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local 177 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences() 208 op, oend - op, in ZSTD_compressSubBlock_sequences() 272 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock() local 288 op, oend-op, in ZSTD_compressSubBlock() 444 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_multi() local 492 op, oend-op, in ZSTD_compressSubBlock_multi() [all …]
|
H A D | huf_compress.c | 93 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local 971 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local 1088 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local 1095 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1103 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1111 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1119 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1185 BYTE* const oend = ostart + dstSize; in HUF_compress_internal() local 1202 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() 1236 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() [all …]
|
H A D | fse_compress.c | 239 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local 267 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic() 282 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 304 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 318 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
|
H A D | zstd_compress_sequences.c | 252 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local 279 assert(oend >= op); in ZSTD_buildCTable() 280 …{ size_t const NCountSize = FSE_writeNCount(op, (size_t)(oend - op), wksp->norm, max, tableLog);… in ZSTD_buildCTable()
|
H A D | zstd_compress.c | 2366 const BYTE* const oend = dstEnd; in ZSTD_buildSequencesStatistics() local 2379 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2394 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics() 2409 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2426 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics() 2441 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2471 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2548 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal() 2578 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal() 5283 size_t oSize = oend-op; in ZSTD_compressStream_generic() [all …]
|
/openbmc/qemu/audio/ |
H A D | rate_template.h | 35 struct st_sample *ostart, *oend; in NAME() local 47 oend = obuf + *osamp; in NAME() 82 if (obuf >= oend) { in NAME()
|
/openbmc/linux/lib/zstd/common/ |
H A D | zstd_internal.h | 213 BYTE* const oend = op + length; in ZSTD_wildcopy() local 219 } while (op < oend); in ZSTD_wildcopy() 232 while (op < oend); in ZSTD_wildcopy() 242 while (op < oend); in ZSTD_wildcopy()
|
/openbmc/linux/fs/erofs/ |
H A D | decompressor.c | 24 unsigned int oend; member 134 omargin = PAGE_ALIGN(ctx->oend) - ctx->oend; in z_erofs_lz4_handle_overlap() 280 ctx.oend = rq->pageofs_out + rq->outputsize; in z_erofs_lz4_decompress() 281 ctx.outpages = PAGE_ALIGN(ctx.oend) >> PAGE_SHIFT; in z_erofs_lz4_decompress()
|
/openbmc/linux/kernel/ |
H A D | resource.c | 496 resource_size_t ostart, oend; in __region_intersects() local 528 oend = min(res.end, p->end); in __region_intersects() 542 if (dp->end >= oend) { in __region_intersects()
|