Home
last modified time | relevance | path

Searched refs:outBuffSize (Results 1 – 10 of 10) sorted by relevance

/external/zstd/tests/
Dlegacy.c79 size_t const outBuffSize = ZSTD_DStreamOutSize(); in testStreamingAPI() local
80 char* const outBuff = malloc(outBuffSize); in testStreamingAPI()
97 ZSTD_outBuffer output = {outBuff, outBuffSize, 0}; in testStreamingAPI()
/external/zstd/lib/decompress/
Dzstd_decompress.c83 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
116 dctx->outBuffSize = 0; in ZSTD_initDCtx_internal()
1544 size_t const outBuffSize = ZSTD_decodingBufferSize_min(windowSize, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateDStreamSize() local
1545 return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize; in ZSTD_estimateDStreamSize()
1565 …return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKS… in ZSTD_DCtx_isOverflow()
1609 size_t const dstSize = isSkipFrame ? 0 : zds->outBuffSize - zds->outStart; in ZSTD_decompressContinueStream()
1777 …{ int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuff… in ZSTD_decompressStream()
1785 (U32)zds->outBuffSize, (U32)neededOutBuffSize); in ZSTD_decompressStream()
1795 zds->outBuffSize = 0; in ZSTD_decompressStream()
1801 zds->outBuffSize = neededOutBuffSize; in ZSTD_decompressStream()
[all …]
Dzstd_decompress_internal.h147 size_t outBuffSize; member
/external/lz4/programs/
Dlz4io.c402 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy() local
420 out_buff = (char*)malloc((size_t)outBuffSize + 4); in LZ4IO_compressFilename_Legacy()
441 … outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel); in LZ4IO_compressFilename_Legacy()
448 assert(outSize < outBuffSize); in LZ4IO_compressFilename_Legacy()
/external/zstd/lib/legacy/
Dzstd_v04.c3364 size_t outBuffSize; member
3488 if (zbc->outBuffSize < neededOutSize) { in ZBUFF_decompressContinue()
3490 zbc->outBuffSize = neededOutSize; in ZBUFF_decompressContinue()
3519 zbc->outBuff + zbc->outStart, zbc->outBuffSize - zbc->outStart, in ZBUFF_decompressContinue()
3544 zbc->outBuff + zbc->outStart, zbc->outBuffSize - zbc->outStart, in ZBUFF_decompressContinue()
3564 if (zbc->outStart + BLOCKSIZE > zbc->outBuffSize) in ZBUFF_decompressContinue()
Dzstd_v05.c3844 size_t outBuffSize; member
3953 if (zbc->outBuffSize < neededOutSize) { in ZBUFFv05_decompressContinue()
3955 zbc->outBuffSize = neededOutSize; in ZBUFFv05_decompressContinue()
3980 zbc->outBuff + zbc->outStart, zbc->outBuffSize - zbc->outStart, in ZBUFFv05_decompressContinue()
4005 zbc->outBuff + zbc->outStart, zbc->outBuffSize - zbc->outStart, in ZBUFFv05_decompressContinue()
4024 if (zbc->outStart + BLOCKSIZE > zbc->outBuffSize) in ZBUFFv05_decompressContinue()
Dzstd_v06.c3960 size_t outBuffSize; member
4071 if (zbd->outBuffSize < neededOutSize) { in ZBUFFv06_decompressContinue()
4073 zbd->outBuffSize = neededOutSize; in ZBUFFv06_decompressContinue()
4088 zbd->outBuff + zbd->outStart, zbd->outBuffSize - zbd->outStart, in ZBUFFv06_decompressContinue()
4113 zbd->outBuff + zbd->outStart, zbd->outBuffSize - zbd->outStart, in ZBUFFv06_decompressContinue()
4131 if (zbd->outStart + zbd->blockSize > zbd->outBuffSize) in ZBUFFv06_decompressContinue()
Dzstd_v07.c4325 size_t outBuffSize; member
4455 if (zbd->outBuffSize < neededOutSize) { in ZBUFFv07_decompressContinue()
4457 zbd->outBuffSize = neededOutSize; in ZBUFFv07_decompressContinue()
4474 … zbd->outBuff + zbd->outStart, (isSkipFrame ? 0 : zbd->outBuffSize - zbd->outStart), in ZBUFFv07_decompressContinue()
4500 zbd->outBuff + zbd->outStart, zbd->outBuffSize - zbd->outStart, in ZBUFFv07_decompressContinue()
4519 if (zbd->outStart + zbd->blockSize > zbd->outBuffSize) in ZBUFFv07_decompressContinue()
/external/zstd/lib/compress/
Dzstd_compress_internal.h305 size_t outBuffSize; member
Dzstd_compress.c1387 size_t const outBuffSize = (params->outBufferMode == ZSTD_bm_buffered) in ZSTD_estimateCStreamSize_usingCCtxParams() local
1392 &cParams, &params->ldmParams, 1, inBuffSize, outBuffSize, in ZSTD_estimateCStreamSize_usingCCtxParams()
1708 zc->outBuffSize = buffOutSize; in ZSTD_resetCCtx_internal()
4146 assert(zcs->outBuffSize > 0); in ZSTD_compressStream_generic()
4206 cDst = zcs->outBuff, oSize = zcs->outBuffSize; in ZSTD_compressStream_generic()