Lines Matching refs:segSize
1253 int segSize = testCompressedSize / 2; in FUZ_unitTests() local
1254 …XXH64_hash_t const crc64 = ( (void)assert((unsigned)segSize + testCompressedSize < testInputSize) , in FUZ_unitTests()
1255 XXH64(testInput + segSize, testCompressedSize, 0) ); in FUZ_unitTests()
1257 LZ4_loadDictHC(&sHC, testInput, segSize); in FUZ_unitTests()
1258 …result1 = LZ4_compress_HC_continue(&sHC, testInput + segSize, testCompressed, segSize, segSize -1); in FUZ_unitTests()
1261 …Z4_compress_HC_continue(&sHC, testInput + 2*(size_t)segSize, testCompressed+result1, segSize, segS… in FUZ_unitTests()
1265 … = LZ4_decompress_safe_usingDict(testCompressed, testVerify, result1, segSize, testInput, segSize); in FUZ_unitTests()
1266 … FUZ_CHECKTEST(result!=segSize, "LZ4_decompress_safe() dictionary decompression part 1 failed"); in FUZ_unitTests()
1267 …ss_safe_usingDict(testCompressed+result1, testVerify+segSize, result2, segSize, testInput, 2*segSi… in FUZ_unitTests()
1268 … FUZ_CHECKTEST(result!=segSize, "LZ4_decompress_safe() dictionary decompression part 2 failed"); in FUZ_unitTests()
1295 size_t segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests() local
1304 while (segStart + segSize < testInputSize) { in FUZ_unitTests()
1305 XXH64_update(&crcOrigState, testInput + segStart, segSize); in FUZ_unitTests()
1307 assert(segSize <= INT_MAX); in FUZ_unitTests()
1308 …ontinue(&sHC, testInput + segStart, testCompressed, (int)segSize, LZ4_compressBound((int)segSize)); in FUZ_unitTests()
1312 …result = LZ4_decompress_safe_usingDict(testCompressed, dst, result, (int)segSize, dict, (int)dictS… in FUZ_unitTests()
1313 …FUZ_CHECKTEST(result!=(int)segSize, "LZ4_decompress_safe_usingDict() dictionary decompression part… in FUZ_unitTests()
1314 XXH64_update(&crcNewState, dst, segSize); in FUZ_unitTests()
1321 dictSize = segSize; in FUZ_unitTests()
1323 dst += segSize + 1; in FUZ_unitTests()
1326 segStart += segSize + (FUZ_rand(&randState) & 0xF) + 1; in FUZ_unitTests()
1327 segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()