Searched refs:blockSizeID (Results 1 – 5 of 5) sorted by relevance
180 static size_t LZ4F_getBlockSize(unsigned blockSizeID) in LZ4F_getBlockSize() argument184 if (blockSizeID == 0) blockSizeID = LZ4F_BLOCKSIZEID_DEFAULT; in LZ4F_getBlockSize()185 blockSizeID -= 4; in LZ4F_getBlockSize()186 if (blockSizeID > 3) return (size_t)-ERROR_maxBlockSize_invalid; in LZ4F_getBlockSize()187 return blockSizes[blockSizeID]; in LZ4F_getBlockSize()230 while (prefs.frameInfo.blockSizeID > proposedBSID) in LZ4F_compressFrameBound()234 prefs.frameInfo.blockSizeID = proposedBSID; in LZ4F_compressFrameBound()277 while (prefs.frameInfo.blockSizeID > proposedBSID) in LZ4F_compressFrame()281 prefs.frameInfo.blockSizeID = proposedBSID; in LZ4F_compressFrame()289 if (srcSize <= LZ4F_getBlockSize(prefs.frameInfo.blockSizeID)) in LZ4F_compressFrame()[all …]
71 blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default */ member
64 int LZ4IO_setBlockSizeID(int blockSizeID);
263 prefs.frameInfo.blockSizeID = max64KB; in basicTests()276 prefs.frameInfo.blockSizeID = max256KB; in basicTests()323 prefs.frameInfo.blockSizeID = max1MB; in basicTests()336 prefs.frameInfo.blockSizeID = max4MB; in basicTests()430 prefs.frameInfo.blockSizeID = (blockSizeID_t)BSId; in fuzzerTests()
395 prefs.frameInfo.blockSizeID = globalBlockSizeId; in LZ4IO_compressFilename()557 outBuffSize = LZ4IO_setBlockSizeID(frameInfo.blockSizeID); in decodeLZ4S()