Lines Matching refs:KB
270 #define KB *(1 <<10) macro
373 static const int LZ4_64Klimit = ((64 KB) + (MFLIMIT-1));
952 if ((dictEnd - p) > 64 KB) p = dictEnd - 64 KB; in LZ4_loadDict()
953 dict->currentOffset += 64 KB; in LZ4_loadDict()
973 U32 const delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()
980 LZ4_dict->currentOffset = 64 KB; in LZ4_renormDictT()
981 if (LZ4_dict->dictSize > 64 KB) LZ4_dict->dictSize = 64 KB; in LZ4_renormDictT()
1002 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB; in LZ4_compress_fast_continue()
1011 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_fast_continue()
1022 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_fast_continue()
1067 if ((U32)dictSize > 64 KB) dictSize = 64 KB; /* useless to define a dictionary > 64 KB */ in LZ4_saveDict()
1119 const int checkOffset = ((safeDecode) && (dictSize < (int)(64 KB))); in LZ4_decompress_generic()
1263 …est, 0, originalSize, endOnOutputSize, full, 0, withPrefix64k, (BYTE*)(dest - 64 KB), NULL, 64 KB); in LZ4_decompress_fast()
1375 if (dictSize >= (int)(64 KB - 1)) in LZ4_decompress_usingDict_generic()
1376 …ce, dest, compressedSize, maxOutputSize, safe, full, 0, withPrefix64k, (BYTE*)dest-64 KB, NULL, 0); in LZ4_decompress_usingDict_generic()
1447 int dictSize = LZ4_saveDict((LZ4_stream_t*)LZ4_Data, (char*)ctx->bufferStart, 64 KB); in LZ4_slideInputBuffer()
1455 …ssedSize, maxOutputSize, endOnInputSize, full, 0, withPrefix64k, (BYTE*)dest - 64 KB, NULL, 64 KB); in LZ4_decompress_safe_withPrefix64k()
1460 … dest, 0, originalSize, endOnOutputSize, full, 0, withPrefix64k, (BYTE*)dest - 64 KB, NULL, 64 KB); in LZ4_decompress_fast_withPrefix64k()