Home
last modified time | relevance | path

Searched refs:LZ4_compress_HC (Results 1 - 10 of 10) sorted by relevance

/third_party/lz4/ossfuzz/
H A Dround_trip_hc_fuzzer.c31 int const dstSize = LZ4_compress_HC((const char*)data, dst, size, in LLVMFuzzerTestOneInput()
H A Dcompress_hc_fuzzer.c35 int const dstSize = LZ4_compress_HC((const char*)data, dst, size, in LLVMFuzzerTestOneInput()
/third_party/lz4/lib/
H A Dlz4hc.h56 /*! LZ4_compress_HC() :
66 LZ4LIB_API int LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel);
75 * Same as LZ4_compress_HC(), but using an externally allocated memory segment for `state`.
254 LZ4_DEPRECATED("use LZ4_compress_HC() instead") LZ4LIB_API int LZ4_compressHC (const char* source, char* dest, int inputSize);
255 LZ4_DEPRECATED("use LZ4_compress_HC() instead") LZ4LIB_API int LZ4_compressHC_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize);
256 LZ4_DEPRECATED("use LZ4_compress_HC() instead") LZ4LIB_API int LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel);
257 LZ4_DEPRECATED("use LZ4_compress_HC() instead") LZ4LIB_API int LZ4_compressHC2_limitedOutput(const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
H A Dlz4hc.c958 int LZ4_compress_HC(const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC() function
1203 int LZ4_compressHC(const char* src, char* dst, int srcSize) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), 0); } in LZ4_compressHC()
1204 int LZ4_compressHC_limitedOutput(const char* src, char* dst, int srcSize, int maxDstSize) { return LZ4_compress_HC(src, dst, srcSize, maxDstSize, 0); } in LZ4_compressHC_limitedOutput()
1205 int LZ4_compressHC2(const char* src, char* dst, int srcSize, int cLevel) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), cLevel); } in LZ4_compressHC2()
1206 int LZ4_compressHC2_limitedOutput(const char* src, char* dst, int srcSize, int maxDstSize, int cLevel) { return LZ4_compress_HC(src, dst, srcSize, maxDstSize, cLevel); } in LZ4_compressHC2_limitedOutput()
/third_party/lz4/tests/
H A DroundTripTest.c108 compressFn compress = selected_clevel >= LZ4HC_CLEVEL_MIN ? LZ4_compress_HC : LZ4_compress_fast; in roundTripTest()
H A Dfreestanding.c93 const int compressedSize = LZ4_compress_HC( in test_lz4hc()
H A Dfuzzer.c461 FUZ_DISPLAYTEST("test LZ4_compress_HC()"); in FUZ_test()
462 HCcompressedSize = LZ4_compress_HC(block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test()
463 FUZ_CHECKTEST(HCcompressedSize==0, "LZ4_compress_HC() failed"); in FUZ_test()
694 FUZ_DISPLAYTEST("test LZ4_compress_HC() with output buffer just the right size"); in FUZ_test()
695 ret = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test()
696 FUZ_CHECKTEST(ret==0, "LZ4_compress_HC() failed despite sufficient space"); in FUZ_test()
716 FUZ_DISPLAYTEST("test LZ4_compress_HC() with output buffer a bit too short"); in FUZ_test()
721 { int const hcSize = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize-missingBytes, compressionLevel); in FUZ_test()
722 FUZ_CHECKTEST(hcSize, "LZ4_compress_HC should have failed (output buffer too small by %i byte)", missingBytes); in FUZ_test()
724 FUZ_CHECKTEST(compressedBuffer[HCcompressedSize-missingBytes], "LZ4_compress_HC overra in FUZ_test()
[all...]
H A Dfullbench.c267 return LZ4_compress_HC(in, out, inSize, LZ4_compressBound(inSize), 9); in local_LZ4_compress_HC()
580 case 10: compressionFunction = local_LZ4_compress_HC; compressorName = "LZ4_compress_HC"; break; in fullSpeedBench()
/third_party/lz4/programs/
H A Dbench.c236 return LZ4_compress_HC(src, dst, srcSize, dstSize, pThis->cLevel); in LZ4_compressBlockNoStreamHC()
H A Dlz4io.c416 compress_f const compressionFunction = (compressionlevel < 3) ? LZ4IO_LZ4_compress : LZ4_compress_HC; in LZ4IO_compressFilename_Legacy()

Completed in 14 milliseconds