Lines Matching refs:cSize
181 size_t cSize, testSize; in basicTests() local
206 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
207 DISPLAYLEVEL(3, "null content encoded into a %u bytes frame \n", (unsigned)cSize); in basicTests()
213 assert(cSize >= LZ4F_MIN_SIZE_TO_KNOW_HEADER_LENGTH); in basicTests()
233 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
234 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
238 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
239 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
243 size_t compressedBufferSize = cSize; in basicTests()
320 assert(cSize > 48); in basicTests()
324 size_t cbSize = cSize; in basicTests()
341 const BYTE* const iend = ip + cSize; in basicTests()
359 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
360 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
364 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
365 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
370 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
371 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
380 const BYTE* const iend = (const BYTE*)compressedBuffer + cSize; in basicTests()
404 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
405 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
410 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
411 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
415 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
416 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
423 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
424 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
431 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
432 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
438 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
439 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
442 { size_t iSize = cSize; in basicTests()
448 if (iSize != cSize) goto _output_error; in basicTests()
694 BYTE* iend = (BYTE*)compressedBuffer + cSize + 8; in basicTests()
700 FUZ_writeLE32(ip+4, (U32)cSize); in basicTests()
794 const void* cSrc, size_t cSize, in test_lz4f_decompression_wBuffers() argument
803 const BYTE* const iend = ip + cSize; in test_lz4f_decompression_wBuffers()
808 unsigned const suggestedBits = FUZ_highbit((U32)cSize); in test_lz4f_decompression_wBuffers()
875 size_t test_lz4f_decompression(const void* cSrc, size_t cSize, in test_lz4f_decompression() argument
891 result = test_lz4f_decompression_wBuffers(cSrc, cSize, in test_lz4f_decompression()
948 size_t cSize; in fuzzerTests() local
968 cSize = srcSize+8; in fuzzerTests()
971 …cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), srcStart,… in fuzzerTests()
972 …CHECK(LZ4F_isError(cSize), "LZ4F_compressFrame failed : error %i (%s)", (int)cSize, LZ4F_getErrorN… in fuzzerTests()
1032 cSize = (size_t)(op - (BYTE*)compressedBuffer); in fuzzerTests()
1033 DISPLAYLEVEL(5, "\nCompressed %u bytes into %u \n", (U32)srcSize, (U32)cSize); in fuzzerTests()
1039 …{ size_t result = test_lz4f_decompression(compressedBuffer, cSize, srcStart, srcSize, crcOrig, &… in fuzzerTests()
1046 { U32 const maxNbBits = FUZ_highbit((U32)cSize); in fuzzerTests()
1055 if (pos >= cSize) break; in fuzzerTests()
1061 size_t const noiseLength = MIN(rNoiseLength, cSize-pos); in fuzzerTests()
1069 …test_lz4f_decompression(compressedBuffer, cSize, srcStart, srcSize, crcOrig, &randState, dCtxNoise… in fuzzerTests()