Lines Matching refs:KB
145 #define KB *(1<<10) macro
226 static const size_t blockSizes[4] = { 64 KB, 256 KB, 1 MB, 4 MB }; in LZ4F_getBlockSize()
247 size_t maxBlockSize = 64 KB; in LZ4F_optimalBSID()
442 …Size = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 128 KB); in LZ4F_compressBegin()
444 …requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just nee… in LZ4F_compressBegin()
547 return LZ4_saveDict ((LZ4_stream_t*)(cctxPtr->lz4CtxPtr), (char*)(cctxPtr->tmpBuff), 64 KB); in LZ4F_localSaveDict()
548 return LZ4_saveDictHC ((LZ4_streamHC_t*)(cctxPtr->lz4CtxPtr), (char*)(cctxPtr->tmpBuff), 64 KB); in LZ4F_localSaveDict()
902 …bufferNeeded = dctxPtr->maxBlockSize + ((dctxPtr->frameInfo.blockMode==LZ4F_blockLinked) * 128 KB); in LZ4F_decodeHeader()
978 if (dstPtr - dstPtr0 + dstSize >= 64 KB) { /* dstBuffer large enough to become dictionary */ in LZ4F_updateDict()
992 size_t copySize = 64 KB - dctxPtr->tmpOutSize; in LZ4F_updateDict()
994 if (dctxPtr->tmpOutSize > 64 KB) copySize = 0; in LZ4F_updateDict()
1006 size_t const preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */ in LZ4F_updateDict()
1016 { size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */ in LZ4F_updateDict()
1241 if (dctxPtr->dictSize > 128 KB) { in LZ4F_decompress()
1242 … memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - 64 KB, 64 KB); in LZ4F_decompress()
1243 dctxPtr->dictSize = 64 KB; in LZ4F_decompress()
1248 if (reservedDictSpace > 64 KB) reservedDictSpace = 64 KB; in LZ4F_decompress()
1388 size_t copySize = 64 KB - dctxPtr->tmpOutSize; in LZ4F_decompress()
1390 if (dctxPtr->tmpOutSize > 64 KB) copySize = 0; in LZ4F_decompress()
1400 if ((newDictSize) > 64 KB) newDictSize = 64 KB; in LZ4F_decompress()