/third_party/lz4/lib/ |
D | lz4hc.h | 66 …t LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel); 80 …teHC(void* stateHC, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel); 94 int compressionLevel); 155 LZ4LIB_API void LZ4_resetStreamHC_fast(LZ4_streamHC_t* streamHCPtr, int compressionLevel); /* v1.… 215 short compressionLevel; member 256 …LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel); 257 …itedOutput(const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 260 …HC (void* state, const char* source, char* dest, int inputSize, int compressionLevel); 261 …id* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 278 … (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int compressionLevel); [all …]
|
D | lz4hc.c | 899 ctx->compressionLevel = (short)cLevel; in LZ4HC_compress_generic_dictCtx() 939 …Reset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC_extStateHC_fastReset() argument 943 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)state, compressionLevel); in LZ4_compress_HC_extStateHC_fastReset() 946 …return LZ4HC_compress_generic (ctx, src, dst, &srcSize, dstCapacity, compressionLevel, limitedOutp… in LZ4_compress_HC_extStateHC_fastReset() 948 …return LZ4HC_compress_generic (ctx, src, dst, &srcSize, dstCapacity, compressionLevel, notLimited); in LZ4_compress_HC_extStateHC_fastReset() 951 …ateHC (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC_extStateHC() argument 955 …turn LZ4_compress_HC_extStateHC_fastReset(state, src, dst, srcSize, dstCapacity, compressionLevel); in LZ4_compress_HC_extStateHC() 958 int LZ4_compress_HC(const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC() argument 968 cSize = LZ4_compress_HC_extStateHC(statePtr, src, dst, srcSize, dstCapacity, compressionLevel); in LZ4_compress_HC() 1027 void LZ4_resetStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel) in LZ4_resetStreamHC() argument [all …]
|
D | lz4frame.c | 493 || preferencesPtr->compressionLevel < LZ4HC_CLEVEL_MIN ) { in LZ4F_compressFrame() 510 && preferencesPtr->compressionLevel >= LZ4HC_CLEVEL_MIN ) { in LZ4F_compressFrame() 691 { U16 const ctxTypeID = (cctxPtr->prefs.compressionLevel < LZ4HC_CLEVEL_MIN) ? 1 : 2; in LZ4F_compressBegin_usingCDict() 697 if (cctxPtr->prefs.compressionLevel < LZ4HC_CLEVEL_MIN) { in LZ4F_compressBegin_usingCDict() 714 if (cctxPtr->prefs.compressionLevel < LZ4HC_CLEVEL_MIN) { in LZ4F_compressBegin_usingCDict() 718 … LZ4_setCompressionLevel((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel); in LZ4F_compressBegin_usingCDict() 747 … LZ4F_initStream(cctxPtr->lz4CtxPtr, cdict, cctxPtr->prefs.compressionLevel, LZ4F_blockLinked); in LZ4F_compressBegin_usingCDict() 749 if (preferencesPtr->compressionLevel >= LZ4HC_CLEVEL_MIN) { in LZ4F_compressBegin_usingCDict() 908 if (cctxPtr->prefs.compressionLevel < LZ4HC_CLEVEL_MIN) in LZ4F_localSaveDict() 942 …electCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLevel, blockCompres… in LZ4F_compressUpdateImpl() [all …]
|
D | lz4frame.h | 194 …int compressionLevel; /* 0: default (fast mode); values > LZ4HC_CLEVEL_MAX count as LZ4HC_… member
|
/third_party/skia/src/pdf/ |
D | SkDeflate.cpp | 68 int compressionLevel, in SkDeflateWStream() argument 80 SkASSERT(compressionLevel <= 9 && compressionLevel >= -1); in SkDeflateWStream() 81 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
|
D | SkDeflate.h | 34 int compressionLevel = -1,
|
/third_party/lz4/tests/ |
D | fuzzer.c | 381 int const compressionLevel = FUZ_rand(&randState) % (LZ4HC_CLEVEL_MAX+1); in FUZ_test() local 435 …e = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLevel); in FUZ_test() 437 compressionLevel, cSize, targetSize, srcSize, blockSize); in FUZ_test() 462 …= LZ4_compress_HC(block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 467 …ateHC(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 473 …Reset(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 695 … ret = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test() 700 …_HC_extStateHC(stateLZ4HC, block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test() 721 …4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize-missingBytes, compressionLevel); in FUZ_test() 923 LZ4_setCompressionLevel (LZ4dictHC, compressionLevel); in FUZ_test() [all …]
|
D | frametest.c | 297 fastCompressPrefs.compressionLevel = -3; in basicTests() 647 cParams.compressionLevel = -3; in basicTests() 659 cParams.compressionLevel = LZ4F_compressionLevel_max(); in basicTests() 1044 prefs.compressionLevel = -5 + (int)(FUZ_rand(&randState) % 11); in fuzzerTests()
|
/third_party/lz4/programs/ |
D | lz4io.c | 501 int compressionLevel, const LZ4IO_prefs_t* prefs) in LZ4IO_compressMultipleFilenames_Legacy() argument 517 compressionLevel, prefs); in LZ4IO_compressMultipleFilenames_Legacy() 533 compressionLevel, prefs); in LZ4IO_compressMultipleFilenames_Legacy() 664 int compressionLevel, const LZ4IO_prefs_t* const io_prefs) in LZ4IO_compressFilename_extRess() argument 686 prefs.compressionLevel = compressionLevel; in LZ4IO_compressFilename_extRess() 786 int LZ4IO_compressFilename(const char* srcFileName, const char* dstFileName, int compressionLevel, … in LZ4IO_compressFilename() argument 792 …t result = LZ4IO_compressFilename_extRess(ress, srcFileName, dstFileName, compressionLevel, prefs); in LZ4IO_compressFilename() 813 int compressionLevel, in LZ4IO_compressMultipleFilenames() argument 832 compressionLevel, prefs); in LZ4IO_compressMultipleFilenames() 849 compressionLevel, prefs); in LZ4IO_compressMultipleFilenames()
|
D | lz4cli.c | 100 int compressionLevel, const LZ4IO_prefs_t* prefs);
|
/third_party/lz4/ossfuzz/ |
D | lz4_helpers.c | 24 prefs.compressionLevel = FUZZ_rand32(seed, 0, LZ4HC_CLEVEL_MAX + 3) - 3; in FUZZ_randomPreferences()
|
D | fuzz_data_producer.c | 69 prefs.compressionLevel = FUZZ_dataProducer_range32(producer, 0, LZ4HC_CLEVEL_MAX + 3) - 3; in FUZZ_dataProducer_preferences()
|