• Home
  • Raw
  • Download

Lines Matching refs:compressedSize

383         int compressedSize, HCcompressedSize;  in FUZ_test()  local
488compressedSize = LZ4_compress_default(block, compressedBuffer, blockSize, (int)compressedBufferSiz… in FUZ_test()
489 FUZ_CHECKTEST(compressedSize<=0, "LZ4_compress_default() failed"); in FUZ_test()
494 { char* const cBuffer_exact = (char*)malloc((size_t)compressedSize); in FUZ_test()
496 assert(compressedSize <= (int)compressedBufferSize); in FUZ_test()
497 memcpy(cBuffer_exact, compressedBuffer, compressedSize); in FUZ_test()
503 …FUZ_CHECKTEST(r!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed data"… in FUZ_test()
526 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize); in FUZ_test()
539 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize+1); in FUZ_test()
551 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize-1); in FUZ_test()
560 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize-10); in FUZ_test()
569 { U32 const maxNbBits = FUZ_highbit32((U32)compressedSize); in FUZ_test()
578 if (pos >= (size_t)compressedSize) break; in FUZ_test()
584 size_t const noiseLength = MIN(rNoiseLength, (size_t)compressedSize-pos); in FUZ_test()
594 …st decompressResult = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize); in FUZ_test()
607 …{ int const r = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize-1, blockSize… in FUZ_test()
608 …ng one byte too short (blockSize=%i, result=%i, compressedSize=%i)", blockSize, r, compressedSize); in FUZ_test()
614 …{ int const r = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize+1, blockSize… in FUZ_test()
624 …esult = LZ4_decompress_safe_partial(compressedBuffer, decodedBuffer, compressedSize, targetSize, b… in FUZ_test()
634 ret = LZ4_compress_default(block, compressedBuffer, blockSize, compressedSize); in FUZ_test()
639 … ret = LZ4_compress_fast_extState(stateLZ4, block, compressedBuffer, blockSize, compressedSize, 1); in FUZ_test()
655 if (missingBytes >= compressedSize) missingBytes = compressedSize-1; in FUZ_test()
657 compressedBuffer[compressedSize-missingBytes] = 0; in FUZ_test()
658 …onst cSize = LZ4_compress_default(block, compressedBuffer, blockSize, compressedSize-missingBytes); in FUZ_test()
661 …FUZ_CHECKTEST(compressedBuffer[compressedSize-missingBytes], "LZ4_compress_default overran output … in FUZ_test()
981 cbytes += compressedSize; in FUZ_test()
1145 int compressedSize; in FUZ_unitTests() local
1150compressedSize = LZ4_compress_fast_continue(&streamingState, ringBuffer + rNext, testCompressed, (… in FUZ_unitTests()
1151 FUZ_CHECKTEST(compressedSize==0, "LZ4_compress_fast_continue() compression failed"); in FUZ_unitTests()
1153 …_safe_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageS… in FUZ_unitTests()
1161 … FUZ_CHECKTEST(result!=compressedSize, "ringBuffer : LZ4_decompress_fast_continue() test failed"); in FUZ_unitTests()
1350 int compressedSize; in FUZ_unitTests() local
1356compressedSize = LZ4_compress_HC_continue(&sHC, ringBuffer + rNext, testCompressed, (int)messageSi… in FUZ_unitTests()
1357 FUZ_CHECKTEST(compressedSize==0, "LZ4_compress_HC_continue() compression failed"); in FUZ_unitTests()
1361 …_safe_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageS… in FUZ_unitTests()
1370 … FUZ_CHECKTEST(result!=compressedSize, "ringBuffer : LZ4_decompress_fast_continue() test failed"); in FUZ_unitTests()
1405 int compressedSize; in FUZ_unitTests() local
1422compressedSize = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, te… in FUZ_unitTests()
1423 FUZ_CHECKTEST(compressedSize==0, "LZ4_compress_HC_continue() compression failed"); in FUZ_unitTests()
1426 …fe_continue(&decodeStateSafe, testCompressed, ringBufferSafe + dNext, compressedSize, messageSize); in FUZ_unitTests()
1434 …FUZ_CHECKTEST(result!=compressedSize, "64K D.ringBuffer : LZ4_decompress_fast_continue() test fail… in FUZ_unitTests()
1455compressedSize = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, te… in FUZ_unitTests()
1456 FUZ_CHECKTEST(compressedSize==0, "LZ4_compress_HC_continue() compression failed"); in FUZ_unitTests()
1458 DISPLAYLEVEL(5, "compressed %i bytes to %i bytes \n", messageSize, compressedSize); in FUZ_unitTests()
1465compressedSize, dBufferSize - dNext); /* works without knowing messageSize, under assumption tha… in FUZ_unitTests()
1475 …FUZ_CHECKTEST(result!=compressedSize, "D.ringBuffer : LZ4_decompress_fast_continue() test failed"); in FUZ_unitTests()