Lines Matching refs:compressedBuffer
312 char* const compressedBuffer = (char*)malloc(compressedBufferSize); in FUZ_test() local
344 if(!CNBuffer || !compressedBuffer || !decodedBuffer) { in FUZ_test()
389 compressedBuffer[targetSize] = endCheck; in FUZ_test()
390 ret = LZ4_compress_destSize(block, compressedBuffer, &srcSize, targetSize); in FUZ_test()
392 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test()
403 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
422 compressedBuffer[targetSize] = endCheck; in FUZ_test()
423 …ret = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLeve… in FUZ_test()
428 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_HC_destSize() overwrite dst … in FUZ_test()
438 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
452 …ret = LZ4_compress_HC(block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLe… in FUZ_test()
458 …ret = LZ4_compress_HC_extStateHC(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBu… in FUZ_test()
463 …ret = LZ4_compress_HC_extStateHC_fastReset(stateLZ4HC, block, compressedBuffer, blockSize, (int)co… in FUZ_test()
468 …ret = LZ4_compress_fast_extState(stateLZ4, block, compressedBuffer, blockSize, (int)compressedBuff… in FUZ_test()
473 …ret = LZ4_compress_fast_extState_fastReset(stateLZ4, block, compressedBuffer, blockSize, (int)comp… in FUZ_test()
478 ret = LZ4_compress_default(block, compressedBuffer, blockSize, (int)compressedBufferSize); in FUZ_test()
486 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize); in FUZ_test()
496 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize-1); in FUZ_test()
502 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize+1); in FUZ_test()
507 LZ4_decompress_safe(compressedBuffer, decodedBuffer, 0, blockSize); in FUZ_test()
533 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize); in FUZ_test()
545 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize+1); in FUZ_test()
556 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize-1); in FUZ_test()
564 … ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize-10); in FUZ_test()
571 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize-1, blockSize); in FUZ_test()
577 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize+1, blockSize); in FUZ_test()
586 …int const decResult = LZ4_decompress_safe_partial(compressedBuffer, decodedBuffer, compressedSize,… in FUZ_test()
596 ret = LZ4_compress_default(block, compressedBuffer, blockSize, compressedSize); in FUZ_test()
601 … ret = LZ4_compress_fast_extState(stateLZ4, block, compressedBuffer, blockSize, compressedSize, 1); in FUZ_test()
606 … ret = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test()
611 …ret = LZ4_compress_HC_extStateHC(stateLZ4HC, block, compressedBuffer, blockSize, HCcompressedSize,… in FUZ_test()
619 compressedBuffer[compressedSize-missingBytes] = 0; in FUZ_test()
620 … ret = LZ4_compress_default(block, compressedBuffer, blockSize, compressedSize-missingBytes); in FUZ_test()
622 …FUZ_CHECKTEST(compressedBuffer[compressedSize-missingBytes], "LZ4_compress_default overran output … in FUZ_test()
630 compressedBuffer[HCcompressedSize-missingBytes] = 0; in FUZ_test()
631 …ret = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize-missingBytes, compressi… in FUZ_test()
633 …FUZ_CHECKTEST(compressedBuffer[HCcompressedSize-missingBytes], "LZ4_compress_HC overran output buf… in FUZ_test()
645 …LZ4_compress_fast_continue (&LZ4_stream, dict, compressedBuffer, dictSize, (int)compressedBufferSi… in FUZ_test()
646 …nueCompressedSize = LZ4_compress_fast_continue (&LZ4_stream, block, compressedBuffer, blockSize, (… in FUZ_test()
653 …ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer+dictSize, blockSize, decodedBu… in FUZ_test()
661 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer+dictSize, blockContinueCompres… in FUZ_test()
672 …blockContinueCompressedSize = LZ4_compress_fast_continue(&LZ4dict, block, compressedBuffer, blockS… in FUZ_test()
677 …ret = LZ4_compress_fast_continue(&LZ4dict, block, compressedBuffer, blockSize, blockContinueCompre… in FUZ_test()
683 …ret = LZ4_compress_fast_continue(&LZ4dict, block, compressedBuffer, blockSize, blockContinueCompre… in FUZ_test()
691 … ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize, dict, dictSize); in FUZ_test()
701 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
710 … ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize-1, dict, dictSize); in FUZ_test()
716 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
724 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
737 …expectedSize = LZ4_compress_fast_continue(&LZ4dict, block, compressedBuffer, blockSize, (int)compr… in FUZ_test()
739 expectedCrc = XXH32(compressedBuffer, expectedSize, 0); in FUZ_test()
745 …inueCompressedSize = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blockSize, (… in FUZ_test()
754 …FUZ_CHECKTEST(XXH32(compressedBuffer, blockContinueCompressedSize, 0) != expectedCrc, "LZ4_compres… in FUZ_test()
759 …ret = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
765 …ret = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
769 …FUZ_CHECKTEST(XXH32(compressedBuffer, ret, 0) != expectedCrc, "LZ4_compress_fast_continue using ex… in FUZ_test()
774 …ret = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
778 …FUZ_CHECKTEST(XXH32(compressedBuffer, ret, 0) != expectedCrc, "LZ4_compress_fast_continue using ex… in FUZ_test()
784 … ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize, dict, dictSize); in FUZ_test()
794 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
803 … ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize-1, dict, dictSize); in FUZ_test()
809 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
817 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
829 …blockContinueCompressedSize = LZ4_compress_HC_continue(&LZ4dictHC, block, compressedBuffer, blockS… in FUZ_test()
834 …ret = LZ4_compress_HC_continue(&LZ4dictHC, block, compressedBuffer, blockSize, blockContinueCompre… in FUZ_test()
839 …ret = LZ4_compress_HC_continue(&LZ4dictHC, block, compressedBuffer, blockSize, blockContinueCompre… in FUZ_test()
845 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
862 …inueCompressedSize = LZ4_compress_HC_continue(&LZ4_streamHC, block, compressedBuffer, blockSize, (… in FUZ_test()
868 …ret = LZ4_compress_HC_continue(&LZ4_streamHC, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
874 …ret = LZ4_compress_HC_continue(&LZ4_streamHC, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
881 …ret = LZ4_compress_HC_continue(&LZ4_streamHC, block, compressedBuffer, blockSize, blockContinueCom… in FUZ_test()
887 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
903 …mpressedSize = LZ4_compress_HC_continue_destSize(&LZ4dictHC, block, compressedBuffer, &consumedSiz… in FUZ_test()
911 …ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, … in FUZ_test()
941 free(compressedBuffer); in FUZ_test()