Home
last modified time | relevance | path

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

/external/lz4/tests/
Dfuzzer.c264 size_t const compressedBufferSize = LZ4_compressBound(FUZ_MAX_BLOCK_SIZE); in FUZ_test() local
265 char* const compressedBuffer = (char*)malloc(compressedBufferSize); in FUZ_test()
353 …ret = LZ4_compress_HC(block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLe… in FUZ_test()
359 …C_extStateHC(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBufferSize, compressio… in FUZ_test()
364 …compress_fast_extState(stateLZ4, block, compressedBuffer, blockSize, (int)compressedBufferSize, 8); in FUZ_test()
369 ret = LZ4_compress_default(block, compressedBuffer, blockSize, (int)compressedBufferSize); in FUZ_test()
509 …ast_continue (&LZ4_stream, dict, compressedBuffer, dictSize, (int)compressedBufferSize, 1); /* J… in FUZ_test()
510 …ress_fast_continue (&LZ4_stream, block, compressedBuffer, blockSize, (int)compressedBufferSize, 1); in FUZ_test()
539 …compress_fast_continue(&LZ4dict, block, compressedBuffer, blockSize, (int)compressedBufferSize, 1); in FUZ_test()
598 …Z4_compress_HC_continue(&LZ4dictHC, block, compressedBuffer, blockSize, (int)compressedBufferSize); in FUZ_test()
Dframetest.c228 size_t compressedBufferSize = cSize; in basicTests() local
236 …decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressedBufferSize, NULL); in basicTests()
244 size_t iSize = compressedBufferSize - missingBytes; in basicTests()
565 size_t const compressedBufferSize = LZ4F_compressFrameBound(srcDataLength, NULL); in fuzzerTests() local
584 compressedBuffer = malloc(compressedBufferSize); in fuzzerTests()
631 …= op + (neverFlush ? LZ4F_compressFrameBound(srcSize, prefsPtr) : compressedBufferSize); /* when … in fuzzerTests()
/external/python/cpython2/Modules/
Dclmodule.c103 int frameBufferSize, compressedBufferSize; in cl_CompressImage() local
118 compressedBufferSize = frameBufferSize; in cl_CompressImage()
122 &compressedBufferSize, in cl_CompressImage()
131 if (compressedBufferSize > frameBufferSize) { in cl_CompressImage()
132 frameBufferSize = compressedBufferSize; in cl_CompressImage()
137 if (compressedBufferSize < frameBufferSize) in cl_CompressImage()
138 _PyString_Resize(&compressedBuffer, compressedBufferSize); in cl_CompressImage()
148 int compressedBufferSize, frameBufferSize; in cl_DecompressImage() local
153 &compressedBufferSize)) in cl_DecompressImage()
164 compressedBufferSize, compressedBuffer, in cl_DecompressImage()
[all …]