Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c74 …const streaming_operation streaming, const size_t expectedWriteSize, const unsigned splitImmediate… in ZSTD_allocateLiteralsBuffer() argument
88 …dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize + ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OV… in ZSTD_allocateLiteralsBuffer()
93 dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize; in ZSTD_allocateLiteralsBuffer()
94 dctx->litBufferEnd = (BYTE*)dst + expectedWriteSize; in ZSTD_allocateLiteralsBuffer()
143 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() local
169 RETURN_ERROR_IF(expectedWriteSize < litSize , dstSize_tooSmall, ""); in ZSTD_decodeLiteralsBlock()
170 … ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 0); in ZSTD_decodeLiteralsBlock()
227 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() local
245 RETURN_ERROR_IF(expectedWriteSize < litSize, dstSize_tooSmall, ""); in ZSTD_decodeLiteralsBlock()
246 … ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 1); in ZSTD_decodeLiteralsBlock()
[all …]