Home
last modified time | relevance | path

Searched refs:LZ4_compress_HC_destSize (Results 1 - 4 of 4) sorted by relevance

/third_party/lz4/ossfuzz/
H A Dcompress_hc_fuzzer.c49 int const dstSize = LZ4_compress_HC_destSize(state, (const char*)data, in LLVMFuzzerTestOneInput()
/third_party/lz4/lib/
H A Dlz4hc.h83 /*! LZ4_compress_HC_destSize() : v1.9.0+
91 LZ4LIB_API int LZ4_compress_HC_destSize(void* stateHC,
H A Dlz4hc.c976 int LZ4_compress_HC_destSize(void* state, const char* source, char* dest, int* sourceSizePtr, int targetDestSize, int cLevel) in LZ4_compress_HC_destSize() function
/third_party/lz4/tests/
H A Dfuzzer.c428 FUZ_DISPLAYTEST("test LZ4_compress_HC_destSize()"); in FUZ_test()
435 cSize = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLevel); in FUZ_test()
436 DISPLAYLEVEL(5, "LZ4_compress_HC_destSize(%i): destSize : %7i/%7i; content%7i/%7i ", in FUZ_test()
439 FUZ_CHECKTEST(cSize > targetSize, "LZ4_compress_HC_destSize() result larger than dst buffer !"); in FUZ_test()
440 FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_HC_destSize() overwrite dst buffer !"); in FUZ_test()
441 FUZ_CHECKTEST(srcSize > blockSize, "LZ4_compress_HC_destSize() fed more than src buffer !"); in FUZ_test()
446 FUZ_CHECKTEST((cSize==0), "LZ4_compress_HC_destSize() compression failed"); in FUZ_test()
1369 result = LZ4_compress_HC_destSize(&sHC, (const char*)block, (char*)dstBlock, &srcSize, (int)targetSize, 3); in FUZ_unitTests()
1371 FUZ_CHECKTEST(result != 4116, "LZ4_compress_HC_destSize() : " in FUZ_unitTests()
1375 "LZ4_compress_HC_destSize() overwrite in FUZ_unitTests()
[all...]

Completed in 8 milliseconds