Home | History | Annotate | Download | only in programs

Lines Matching defs:dictSize

317             int dictSize, blockSize, blockStart;
324 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE;
325 if (dictSize > blockStart) dictSize = blockStart;
327 dict = block - dictSize;
328 LZ4_loadDict(&LZ4dict, dict, dictSize);
330 LZ4_loadDict(&LZ4dict, dict, dictSize);
332 LZ4_loadDict(&LZ4dict, dict, dictSize);
343 int dictSize, blockSize, blockStart, compressedSize, HCcompressedSize;
353 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE;
354 if (dictSize > blockStart) dictSize = blockStart;
356 dict = block - dictSize;
521 LZ4_compress_continue ((LZ4_stream_t*)LZ4continue, dict, compressedBuffer, dictSize); // Just to fill hash tables
528 memcpy(decodedBuffer, dict, dictSize);
529 ret = LZ4_decompress_fast_withPrefix64k(compressedBuffer, decodedBuffer+dictSize, blockSize);
531 crcCheck = XXH32(decodedBuffer+dictSize, blockSize, 0);
539 FUZ_CHECKTEST(crcCheck!=crcOrig, "LZ4_decompress_fast_withPrefix64k corrupted decoded data (dict %i)", dictSize);
542 ret = LZ4_decompress_safe_withPrefix64k(compressedBuffer, decodedBuffer+dictSize, blockContinueCompressedSize, blockSize);
544 crcCheck = XXH32(decodedBuffer+dictSize, blockSize, 0);
551 LZ4_loadDict(&LZ4dict, dict, dictSize);
556 LZ4_loadDict(&LZ4dict, dict, dictSize);
561 LZ4_loadDict(&LZ4dict, dict, dictSize);
569 ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize, dict, dictSize);
579 FUZ_CHECKTEST(crcCheck!=crcOrig, "LZ4_decompress_fast_usingDict corrupted decoded data (dict %i)", dictSize);
583 ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, blockSize, dict, dictSize);
591 ret = LZ4_decompress_fast_usingDict(compressedBuffer, decodedBuffer, blockSize-1, dict, dictSize);
597 ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, blockSize-1, dict, dictSize);
607 ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, blockSize-missingBytes, dict, dictSize);
618 LZ4_loadDictHC(&LZ4dictHC, dict, dictSize);
623 LZ4_loadDictHC(&LZ4dictHC, dict, dictSize);
628 LZ4_loadDictHC(&LZ4dictHC, dict, dictSize);
635 ret = LZ4_decompress_safe_usingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, blockSize, dict, dictSize);
844 int dictSize = (FUZ_rand(&randState) & 8191);
847 size_t segStart = dictSize + 7;
852 LZ4_loadDictHC(&sHC, dict, dictSize);
864 result = LZ4_decompress_safe_usingDict(testCompressed, dst, result, segSize, dict, dictSize);
878 dictSize = segSize;