Home
last modified time | relevance | path

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

/openbmc/bios-bmc-smm-error-logger/test/
H A Dbuffer_test.cpp190 constexpr size_t expectedWriteSize = 3; in TEST_F() local
198 .WillOnce(Return(expectedWriteSize)); in TEST_F()
226 constexpr size_t expectedWriteSize = 4; in TEST_F() local
233 .WillOnce(Return(expectedWriteSize)); in TEST_F()
350 static constexpr size_t expectedWriteSize = 3; member in bios_bmc_smm_error_logger::__anon8b744aa40111::BufferWraparoundReadTest
439 .WillOnce(Return(expectedWriteSize)); in TEST_F()
504 .WillOnce(Return(expectedWriteSize)); in TEST_F()
535 .WillOnce(Return(expectedWriteSize)); in TEST_F()
584 .WillOnce(Return(expectedWriteSize)); in wraparoundReadMock()
647 .WillOnce(Return(expectedWriteSize)); in TEST_F()
[all …]
/openbmc/linux/lib/zstd/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 …]