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.cpp191 constexpr size_t expectedWriteSize = 3; in TEST_F() local
199 .WillOnce(Return(expectedWriteSize)); in TEST_F()
227 constexpr size_t expectedWriteSize = 4; in TEST_F() local
234 .WillOnce(Return(expectedWriteSize)); in TEST_F()
351 static constexpr size_t expectedWriteSize = 3; member in bios_bmc_smm_error_logger::__anon8b744aa40111::BufferWraparoundReadTest
440 .WillOnce(Return(expectedWriteSize)); in TEST_F()
505 .WillOnce(Return(expectedWriteSize)); in TEST_F()
536 .WillOnce(Return(expectedWriteSize)); in TEST_F()
585 .WillOnce(Return(expectedWriteSize)); in wraparoundReadMock()
649 .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
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()
273 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() local
[all …]