Home
last modified time | relevance | path

Searched refs:blockMode (Results 1 – 7 of 7) sorted by relevance

/lz4-3.4.0-2.7.6/lib/
Dlz4frame.c395 …prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* only one block => no need for inter-block … in LZ4F_compressFrame_usingCDict()
573 LZ4F_blockMode_t blockMode) { in LZ4F_initStream() argument
575 if (cdict != NULL || blockMode == LZ4F_blockLinked) { in LZ4F_initStream()
645 …((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 64 KB : 0) : /* only needs past data … in LZ4F_compressBegin_usingCDict()
646 … cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_compressBegin_usingCDict()
661 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_compressBegin_usingCDict()
676 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) in LZ4F_compressBegin_usingCDict()
799 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level) in LZ4F_selectCompression() argument
802 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlock; in LZ4F_selectCompression()
805 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlockHC; in LZ4F_selectCompression()
[all …]
Dlz4frame.h177 …LZ4F_blockMode_t blockMode; /* LZ4F_blockLinked, LZ4F_blockIndependent; 0 == defau… member
/lz4-3.4.0-2.7.6/ossfuzz/
Dlz4_helpers.c12 info.blockMode = FUZZ_rand32(seed, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_randomFrameInfo()
Dfuzz_data_producer.c57 info.blockMode = FUZZ_dataProducer_range32(producer, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_dataProducer_frameInfo()
/lz4-3.4.0-2.7.6/programs/
Dlz4io.h104 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode);
Dlz4io.c246 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode() argument
248 prefs->blockIndependence = (blockMode == LZ4IO_blockIndependent); in LZ4IO_setBlockMode()
675 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)io_prefs->blockIndependence; in LZ4IO_compressFilename_extRess()
1465 const char* LZ4IO_blockTypeID(LZ4F_blockSizeID_t sizeID, LZ4F_blockMode_t blockMode, char buffer[4]) in LZ4IO_blockTypeID() argument
1470 buffer[2] = (blockMode == LZ4F_blockIndependent) ? 'I' : 'D'; in LZ4IO_blockTypeID()
1544 … cfinfo->frameSummary.lz4FrameInfo.blockMode != frameInfo.lz4FrameInfo.blockMode) in LZ4IO_getCompressedFileInfo()
1552 …4IO_blockTypeID(frameInfo.lz4FrameInfo.blockSizeID, frameInfo.lz4FrameInfo.blockMode, bTypeBuffer); in LZ4IO_getCompressedFileInfo()
1663 … cfinfo.frameSummary.lz4FrameInfo.blockMode, buffers[0]) : "-", in LZ4IO_displayCompressedFilesInfo()
/lz4-3.4.0-2.7.6/tests/
Dframetest.c612 cParams.frameInfo.blockMode = LZ4F_blockLinked; in basicTests()
648 cParams.frameInfo.blockMode = LZ4F_blockIndependent; in basicTests()
976 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)(FUZ_rand(&randState) & 1); in fuzzerTests()