Searched refs:FUZ_CHECKTEST (Results 1 – 1 of 1) sorted by relevance
/external/lz4/programs/ |
D | fuzzer.c | 288 # define FUZ_CHECKTEST(cond, ...) if (cond) { printf("Test %u : ", testNb); printf(__VA_ARGS__); \ in FUZ_test() macro 363 FUZ_CHECKTEST(ret==0, "LZ4_compressHC() failed"); in FUZ_test() 369 FUZ_CHECKTEST(ret==0, "LZ4_compressHC_withStateHC() failed"); in FUZ_test() 374 FUZ_CHECKTEST(ret==0, "LZ4_compress_withState() failed"); in FUZ_test() 379 FUZ_CHECKTEST(ret==0, "LZ4_compress() failed"); in FUZ_test() 389 FUZ_CHECKTEST(ret<0, "LZ4_decompress_fast failed despite correct space"); in FUZ_test() 390 …FUZ_CHECKTEST(ret!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed dat… in FUZ_test() 392 FUZ_CHECKTEST(crcCheck!=crcOrig, "LZ4_decompress_fast corrupted decoded data"); in FUZ_test() 398 …FUZ_CHECKTEST(ret>=0, "LZ4_decompress_fast should have failed, due to Output Size being too small"… in FUZ_test() 399 … FUZ_CHECKTEST(decodedBuffer[blockSize-1], "LZ4_decompress_fast overrun specified output buffer"); in FUZ_test() [all …]
|