Lines Matching refs:dictSize

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