Lines Matching refs:testInput
1015 char* testInput = (char*)malloc(testInputSize); in FUZ_unitTests() local
1022 if (!testInput || !testCompressed || !testVerify) { in FUZ_unitTests()
1025 FUZ_fillCompressibleNoiseBuffer(testInput, testInputSize, 0.50, &randState); in FUZ_unitTests()
1061 XXH32_hash_t const crcOrig = XXH32(testInput, sampleSize, 0); in FUZ_unitTests()
1064 memcpy(startInput, testInput, sampleSize); /* copy at end of buffer */ in FUZ_unitTests()
1082 FUZ_fillCompressibleNoiseBuffer(testInput, sampleSize, 0.0, &randState); in FUZ_unitTests()
1083 … memset(testInput, 0, 267); /* calculated exactly so that compressedSize == originalSize-1 */ in FUZ_unitTests()
1085 { XXH64_hash_t const crcOrig = XXH64(testInput, sampleSize, 0); in FUZ_unitTests()
1086 … int const cSize = LZ4_compress_default(testInput, testCompressed, sampleSize, testCompressedSize); in FUZ_unitTests()
1114 crcOrig = XXH64(testInput, testCompressedSize, 0); in FUZ_unitTests()
1116 …result = LZ4_compress_fast_continue(&streamingState, testInput, testCompressed, testCompressedSize… in FUZ_unitTests()
1146 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests()
1149 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests()
1194 { U64 const crc64 = XXH64(testInput, testCompressedSize, 0); in FUZ_unitTests()
1196 …result = LZ4_compress_HC_continue(&sHC, testInput, testCompressed, testCompressedSize, testCompres… in FUZ_unitTests()
1237 { U64 const crc64 = XXH64(testInput + 64 KB, testCompressedSize, 0); in FUZ_unitTests()
1239 LZ4_loadDictHC(&sHC, testInput, 64 KB); in FUZ_unitTests()
1240 …{ int const cSize = LZ4_compress_HC_continue(&sHC, testInput + 64 KB, testCompressed, testCompre… in FUZ_unitTests()
1243 …decompress_safe_usingDict(testCompressed, testVerify, cSize, testCompressedSize, testInput, 64 KB); 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 …result2 = LZ4_compress_HC_continue(&sHC, testInput + 2*(size_t)segSize, testCompressed+result1, se… in FUZ_unitTests()
1265 … = LZ4_decompress_safe_usingDict(testCompressed, testVerify, result1, segSize, testInput, segSize); in FUZ_unitTests()
1267 …safe_usingDict(testCompressed+result1, testVerify+segSize, result2, segSize, testInput, 2*segSize); in FUZ_unitTests()
1274 { U64 const crc64 = XXH64(testInput + 64 KB, testCompressedSize, 0); in FUZ_unitTests()
1276 LZ4_loadDictHC(&sHC, testInput, 32 KB); in FUZ_unitTests()
1277 …result = LZ4_compress_HC_continue(&sHC, testInput + 64 KB, testCompressed, testCompressedSize, tes… in FUZ_unitTests()
1281 …ecompress_safe_usingDict(testCompressed, testVerify, result, testCompressedSize, testInput, 32 KB); in FUZ_unitTests()
1290 const char* dict = testInput + 3; in FUZ_unitTests()
1305 XXH64_update(&crcOrigState, testInput + segStart, segSize); in FUZ_unitTests()
1308 …result = LZ4_compress_HC_continue(&sHC, testInput + segStart, testCompressed, (int)segSize, LZ4_co… in FUZ_unitTests()
1316 if (crcOrig != crcNew) FUZ_findDiff(dst, testInput+segStart); in FUZ_unitTests()
1351 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests()
1354 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests()
1419 XXH64_update(&xxhOrig, testInput + iNext, (size_t)messageSize); in FUZ_unitTests()
1422 …compressedSize = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, te… in FUZ_unitTests()
1447 …memcpy(testInput + iNext, testInput + (BSIZE1-65535), messageSize); /* will generate a match at m… in FUZ_unitTests()
1452 XXH64_update(&xxhOrig, testInput + iNext, (size_t)messageSize); in FUZ_unitTests()
1455 …compressedSize = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, te… in FUZ_unitTests()
1469 if (crcOrig != crcNew) FUZ_findDiff(testInput + iNext, ringBufferSafe + dNext); in FUZ_unitTests()
1478 if (crcOrig != crcNew) FUZ_findDiff(testInput + iNext, ringBufferFast + dNext); in FUZ_unitTests()
1494 free(testInput); in FUZ_unitTests()