Lines Matching refs:segSize

777             int segSize = testCompressedSize / 2;  in FUZ_unitTests()  local
778 crcOrig = XXH64(testInput + segSize, testCompressedSize, 0); in FUZ_unitTests()
780 LZ4_loadDictHC(&sHC, testInput, segSize); in FUZ_unitTests()
781 …result1 = LZ4_compress_HC_continue(&sHC, testInput + segSize, testCompressed, segSize, segSize -1); in FUZ_unitTests()
783 …ult2 = LZ4_compress_HC_continue(&sHC, testInput + 2*segSize, testCompressed+result1, segSize, segS… in FUZ_unitTests()
786 … = LZ4_decompress_safe_usingDict(testCompressed, testVerify, result1, segSize, testInput, segSize); in FUZ_unitTests()
787 … FUZ_CHECKTEST(result!=segSize, "LZ4_decompress_safe() dictionary decompression part 1 failed"); in FUZ_unitTests()
788 …ss_safe_usingDict(testCompressed+result1, testVerify+segSize, result2, segSize, testInput, 2*segSi… in FUZ_unitTests()
789 … FUZ_CHECKTEST(result!=segSize, "LZ4_decompress_safe() dictionary decompression part 2 failed"); in FUZ_unitTests()
814 int segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests() local
823 while (segStart + segSize < testInputSize) { in FUZ_unitTests()
824 XXH64_update(&crcOrigState, testInput + segStart, segSize); in FUZ_unitTests()
826 …press_HC_continue(&sHC, testInput + segStart, testCompressed, segSize, LZ4_compressBound(segSize)); in FUZ_unitTests()
829 … result = LZ4_decompress_safe_usingDict(testCompressed, dst, result, segSize, dict, dictSize); in FUZ_unitTests()
830 …FUZ_CHECKTEST(result!=segSize, "LZ4_decompress_safe_usingDict() dictionary decompression part %i f… in FUZ_unitTests()
831 XXH64_update(&crcNewState, dst, segSize); in FUZ_unitTests()
839 dictSize = segSize; in FUZ_unitTests()
841 dst += segSize + 1; in FUZ_unitTests()
844 segStart += segSize + (FUZ_rand(&randState) & 0xF) + 1; in FUZ_unitTests()
845 segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()