Home
last modified time | relevance | path

Searched refs:blockSizeID (Results 1 – 5 of 5) sorted by relevance

/external/lz4/lib/
Dlz4frame.c180 static size_t LZ4F_getBlockSize(unsigned blockSizeID) in LZ4F_getBlockSize() argument
184 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 …]
Dlz4frame.h71 blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default */ member
/external/lz4/programs/
Dlz4io.h64 int LZ4IO_setBlockSizeID(int blockSizeID);
Dframetest.c263 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()
Dlz4io.c395 prefs.frameInfo.blockSizeID = globalBlockSizeId; in LZ4IO_compressFilename()
557 outBuffSize = LZ4IO_setBlockSizeID(frameInfo.blockSizeID); in decodeLZ4S()