Lines Matching refs:KB
228 #define KB *(1 <<10)
344 static const int LZ4_64Klimit = ((64 KB) + (MFLIMIT-1));
981 if ((dictEnd - p) > 64 KB) p = dictEnd - 64 KB;
982 dict->currentOffset += 64 KB;
1004 U32 delta = LZ4_dict->currentOffset - 64 KB;
1012 LZ4_dict->currentOffset = 64 KB;
1013 if (LZ4_dict->dictSize > 64 KB) LZ4_dict->dictSize = 64 KB;
1036 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB;
1046 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset))
1058 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset))
1098 if ((U32)dictSize > 64 KB) dictSize = 64 KB; /* useless to define a dictionary > 64 KB */
1149 const int checkOffset = ((safeDecode) && (dictSize < (int)(64 KB)));
1309 return LZ4_decompress_generic(source, dest, 0, originalSize, endOnOutputSize, full, 0, withPrefix64k, (BYTE*)(dest - 64 KB), NULL, 64 KB);
1438 if (dictSize >= (int)(64 KB - 1))
1439 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, safe, full, 0, withPrefix64k, (BYTE*)dest-64 KB, NULL, 0);
1516 int dictSize = LZ4_saveDict((LZ4_stream_t*)LZ4_Data, (char*)ctx->bufferStart, 64 KB);
1524 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, endOnInputSize, full, 0, withPrefix64k, (BYTE*)dest - 64 KB, NULL, 64 KB);
1529 return LZ4_decompress_generic(source, dest, 0, originalSize, endOnOutputSize, full, 0, withPrefix64k, (BYTE*)dest - 64 KB, NULL, 64 KB);